-
Notifications
You must be signed in to change notification settings - Fork 29.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--experimental-specifier-resolution=node doesn't follow the main
field in package.json
#38739
Labels
esm
Issues and PRs related to the ECMAScript Modules implementation.
Comments
@nodejs/modules |
I believe this is quite intentional; see #36918. Especially when using ESM, the intention is to use |
DerekNonGeneric
added
the
esm
Issues and PRs related to the ECMAScript Modules implementation.
label
May 20, 2021
aduh95
added a commit
to aduh95/node
that referenced
this issue
Jun 9, 2021
aduh95
added a commit
to aduh95/node
that referenced
this issue
Jul 23, 2021
PR-URL: nodejs#38979 Fixes: nodejs#32103 Fixes: nodejs#38739 Reviewed-By: Bradley Farias <bradley.meck@gmail.com> Reviewed-By: Guy Bedford <guybedford@gmail.com>
aduh95
added a commit
to aduh95/node
that referenced
this issue
Jul 28, 2021
PR-URL: nodejs#38979 Fixes: nodejs#32103 Fixes: nodejs#38739 Reviewed-By: Bradley Farias <bradley.meck@gmail.com> Reviewed-By: Guy Bedford <guybedford@gmail.com>
richardlau
pushed a commit
that referenced
this issue
Jul 28, 2021
richardlau
pushed a commit
that referenced
this issue
Jul 28, 2021
foxxyz
pushed a commit
to foxxyz/node
that referenced
this issue
Oct 18, 2021
PR-URL: nodejs#38979 Fixes: nodejs#32103 Fixes: nodejs#38739 Reviewed-By: Bradley Farias <bradley.meck@gmail.com> Reviewed-By: Guy Bedford <guybedford@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What steps will reproduce the bug?
project structure:
Run
node --experimental-specifier-resolution=node .
How often does it reproduce? Is there a required condition?
Always
What is the expected behavior?
Should see
hello from foo
in the terminalWhat do you see instead?
Additional information
The text was updated successfully, but these errors were encountered: