-
Notifications
You must be signed in to change notification settings - Fork 1k
Warning Cannot include file %1 into executable - pkg error #1657
Comments
I got the same error with package "level": "^7.0.0"
|
I have the same issue, also trying to use
apparently #1021. didn't fix this issue |
I have the same error. Cannot include file %1 into executable. Any ideas ? I try to copy/paste the module in the exectuable folder... but nothing :/ |
For me same issue:
|
@MariuzM have you tried to copy |
i've got same error with sharp, and find no solution
|
it is resolved. I am using caxa npm. |
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. |
Try above |
What version of pkg are you using?
5.7.0
What version of Node.js are you using?
16.14.0
What operating system are you using?
macOS
What CPU architecture are you using?
Quad-Core Intel Core i7
What Node versions, OSs and CPU architectures are you building for?
node16-linux-x64, node16-macos-x64, node16-win-x64
Describe the Bug
Here's the output after running pkg index.js
Looks there's an issue between pkg and node-notifier package https://github.com/mikaelbr/node-notifier
A similar issue mikaelbr/node-notifier#220 (comment)
Anyone have any ideas how to fix that?
Expected Behavior
To bundle the file correctly and show notifications from that package node-notifier
To Reproduce
Build a minimal project with node-notifier
and try to run any notification
will work on the development environment,
but after bundling with pkg, will fire these warnings and won't show any notifications
The text was updated successfully, but these errors were encountered: