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.
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.