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
(node:10424) ExperimentalWarning: Support for loading ES Module in require() is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
Expected Behavior
No response
Steps To Reproduce
No response
Environment
- npm: 10.9.0
- Node.js: 23.0.0
- OS Name: Windows 10 22H2
- npm config: default
; node bin location = C:\Program Files\nodejs\node.exe
; node version = v23.0.0
; npm local prefix = C:\Users\$USER\Downloads\test
; npm version = 10.9.0
; cwd = C:\Users\$USER\Downloads\test
; HOME = C:\Users\$USER
; Run `npm config ls -l` to show all defaults.