-
Notifications
You must be signed in to change notification settings - Fork 30.2k
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
node >= 17: expiremental loader errs if http is imported into .mjs file #41320
Labels
loaders
Issues and PRs related to ES module loaders
Comments
noahehall
changed the title
node >= 17: epiremental loader errs if http is imported into .mjs file
node >= 17: expiremental loader errs if http is imported into .mjs file
Dec 25, 2021
relevant section that throws err in expiremental loader if (!isFlow) {
if (isCjs) return { format, source: rawSource };
else {
console.info('\n\n returning default', urlOG); // <-- this is the log shown in description
return defaultLoad(urlOG, { format }); // <-- this is whats throwing the err
}
} |
noahehall
added a commit
to noahehall/nodeproto
that referenced
this issue
Dec 25, 2021
/cc @nodejs/loaders |
Need loader source text
…On Sat, Dec 25, 2021, 11:33 AM Antoine du Hamel ***@***.***> wrote:
/cc @nodejs/loaders <https://github.com/orgs/nodejs/teams/loaders>
—
Reply to this email directly, view it on GitHub
<#41320 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABZJI2GZUCN3JUCC5ZSBCDUSX55NANCNFSM5KXTF2TQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you are on a team that was mentioned.Message
ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
17.3.0
Platform
Linux spaceship 5.13.0-22-generic #22-Ubuntu SMP Fri Nov 5 13:21:36 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Subsystem
esm loader, http
esm loader docs
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
always reproduces
What is the expected behavior?
the expiremental loader works, even when the docs tell us not to use it
What do you see instead?
Additional information
more details
The text was updated successfully, but these errors were encountered: