-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[BUG] ExperimentalWarning: Support for loading ES Module in require() is an experimental feature and might change at any time #7857
Comments
This is triggered by the experimental |
It's not necessary to install anything with npm to provoke the For example, even with no npm modules installed, executing
Ubuntu Same
|
Setting the environment variable
|
FYI the ESM being |
You're right! Line 113 in 780afc5
where [email protected] and above is pure ESM
const supportsColor = require('supports-color'); where debug is effectively allowing an ESM version of
So I guess the underlying issue debug-js/debug#975 needs to be resolved by debug. |
npm install [email protected] -g and there was no more warning under Node.js npm view npm version |
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
When installing any package with Node.js v23.0.0 and npm v10.9.0, I get the following warning
Expected Behavior
No response
Steps To Reproduce
No response
Environment
The text was updated successfully, but these errors were encountered: