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 has been archived by the owner on Jan 13, 2024. It is now read-only.
> pkg@4.3.4
> Targets not specified. Assuming:
node10-linux-x64, node10-macos-x64, node10-win-x64
> Warning Cannot find module 'not-other' from '/dir/pkg-esm-loader-sscce'
/dir/pkg-esm-loader-sscce/index.mjs
> Warning Failed to make bytecode node10-x64 for file /snapshot/pkg-esm-loader-sscce/index.mjs
> Warning Failed to make bytecode node10-x64 for file /snapshot/pkg-esm-loader-sscce/index.mjs
> Warning Failed to make bytecode node10-x64 for file C:\snapshot\pkg-esm-loader-sscce\index.mjs
I've tried looking through the source code of pkg to figure out a fix, but no luck so far.
SSCCE - https://github.com/lsjroberts/pkg-esm-loader-sscce
Trying to use
pkg
with the--loader
node option does not work as expected.In the linked sscce running:
Will correctly load the
other.mjs
file from thenot-other
specifier.However, running:
Errors with this output:
I've tried looking through the source code of
pkg
to figure out a fix, but no luck so far.Related to #335.
The text was updated successfully, but these errors were encountered: