You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on a custom build toolchain (something like react-script) using webpack for a project and uses ncc to build the toolchain.
While ncc build process works without any error, I'm having an issue when executing the build output.
This error is not happening when I'm using just tsc (without ncc).
Steps to reproduce,
make custom webpack build script. (input file for NCC)
webpack toolchain (build) should work without any error.
Current Behavior
Error: Cannot find module '/Users/***/Documents/projects/***/threadChild.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:1039:15)
at Module._load (node:internal/modules/cjs/loader:885:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at MessagePort.<anonymous> (node:internal/main/worker_thread:159:24)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:735:20)
at exports.emitMessage (node:internal/per_context/messageport:23:28)
Is there any way to fix this missing file ?
Thank you !!
The text was updated successfully, but these errors were encountered:
I'm working on a custom build toolchain (something like react-script) using webpack for a project and uses
ncc
to build the toolchain.While ncc build process works without any error, I'm having an issue when executing the build output.
This error is not happening when I'm using just tsc (without ncc).
Steps to reproduce,
ncc
Expected Behavior
webpack toolchain (build) should work without any error.
Current Behavior
Is there any way to fix this missing file ?
Thank you !!
The text was updated successfully, but these errors were encountered: