enhancementhelp wanted
Description
Log from a pkg executable on Linux:
| ➤ Collating sources...
| ➤ [•] YouTube Music...[success, found 5 sources]
| ➤ Awaiting audiofeeds...(failed: [Command failed with ENOENT: /snapshot/freyr-js/node_modules/youtube-dl-exec/bin/youtube-dl --socket-timeout 20 --no-cache-dir --dump-single-json -- L0yOCIqqBWM
spawn /snapshot/freyr-js/node_modules/youtube-dl-exec/bin/youtube-dl ENOENT])
When packaging with pkg I get these warnings:
The file must be distributed with executable as %2.
%1: node_modules/open/xdg-open
%2: path-to-executable/xdg-open
> Warning Cannot include file %1 into executable.
The file must be distributed with executable as %2.
%1: node_modules/open/xdg-open
%2: path-to-executable/xdg-open
> Warning Failed to make bytecode node16-x64 for file /snapshot/freyr-js/node_modules/string-width/index.js
> Warning Failed to make bytecode node16-x64 for file /snapshot/freyr-js/node_modules/strip-ansi/index.js
> Warning Failed to make bytecode node16-x64 for file /snapshot/freyr-js/node_modules/strip-ansi/node_modules/ansi-regex/index.js
> Warning Failed to make bytecode node16-x64 for file /snapshot/freyr-js/node_modules/string-width/index.js
> Warning Failed to make bytecode node16-x64 for file /snapshot/freyr-js/node_modules/strip-ansi/index.js
> Warning Failed to make bytecode node16-x64 for file /snapshot/freyr-js/node_modules/strip-ansi/node_modules/ansi-regex/index.js
> Warning Failed to make bytecode node16-x64 for file C:\snapshot\freyr-js\node_modules\string-width\index.js
> Warning Failed to make bytecode node16-x64 for file C:\snapshot\freyr-js\node_modules\strip-ansi\index.js
> Warning Failed to make bytecode node16-x64 for file C:\snapshot\freyr-js\node_modules\strip-ansi\node_modules\ansi-regex\index.js
Seems to be an issue with pkg because it's also using Windows paths on linux.