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
{{ message }}
This repository was archived by the owner on Jan 13, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Jan 13, 2024. It is now read-only.
Not working with sharp again "Cannot include directory %1 into executable." #1692
What Node versions, OSs and CPU architectures are you building for?
node16-linux-64
Describe the Bug
When I run pkg there are warnings
> [email protected]
compression: GZip
> Warning Cannot include directory %1 into executable.
The directory must be distributed with executable as %2.
%1: node_modules/sharp/build/Release
%2: path-to-executable/sharp/build/Release
> Warning Cannot include directory %1 into executable.
The directory must be distributed with executable as %2.
%1: node_modules/sharp/vendor/lib
%2: path-to-executable/sharp/vendor/lib
To Reproduce
Try running pkg with sharp as a dependency. You can add these to package.json which I thought would fix it but it didn't.
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
Activity
github-actions commentedon Oct 10, 2022
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 commentedon Oct 16, 2022
This issue is now closed due to inactivity, you can of course reopen or reference this issue if you see fit.