pkg icon indicating copy to clipboard operation
pkg copied to clipboard

Error! Cannot read file, ENOENT worker_threads (upgraded to 4.4.1)

Open ViableClanMember opened this issue 6 years ago • 4 comments

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

ViableClanMember avatar Dec 10 '19 13:12 ViableClanMember

Jup same as my problem #807

glenndehaan avatar Dec 10 '19 13:12 glenndehaan

I get the same error on node 12.2.0, but it works with node 10.15.3

wuguzaliang avatar Dec 17 '19 03:12 wuguzaliang

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

github-actions[bot] avatar Apr 01 '21 00:04 github-actions[bot]

This issue is now closed due to inactivity, you can of course reopen or reference this issue if you see fit.

github-actions[bot] avatar Apr 06 '21 00:04 github-actions[bot]