pkg
pkg copied to clipboard
Error! Cannot read file, ENOENT worker_threads (upgraded to 4.4.1)
The output I get is
$ pkg . --targets node10-alpine-x64 --out-path pkg
> [email protected]
> Fetching base Node.js binaries to PKG_CACHE_PATH
> Warning Cannot include addon %1 into executable.
The addon must be distributed with executable as %2.
/app/node_modules/node-sass/vendor/linux_musl-x64-64/binding.node
path-to-executable/binding.node
> Error! Cannot read file, ENOENT
worker_threads
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
The command '/bin/sh -c yarn run pkg' returned a non-zero code: 1
ERROR: Job failed: exit code 1
Jup same as my problem #807
I get the same error on node 12.2.0, but it works with node 10.15.3
This issue is stale because it has been open 90 days with no activity. Remove the stale label or comment or this will be closed in 5 days. To ignore this issue entirely you can add the no-stale label
This issue is now closed due to inactivity, you can of course reopen or reference this issue if you see fit.