Skip to content
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

nrm broken on npm v8.0.0 #104

Closed
betgar opened this issue Oct 8, 2021 · 4 comments · Fixed by #106
Closed

nrm broken on npm v8.0.0 #104

betgar opened this issue Oct 8, 2021 · 4 comments · Fixed by #106

Comments

@betgar
Copy link

betgar commented Oct 8, 2021

npm v8.0.0 remove support for require('npm').

https://github.com/npm/cli/releases/tag/v8.0.0

The purpose of this release is to drop support for old node versions and to remove support for require('npm'). There are no other breaking changes.

@ThomasWhyne
Copy link

npm v8.0.0 remove support for require('npm').

https://github.com/npm/cli/releases/tag/v8.0.0

The purpose of this release is to drop support for old node versions and to remove support for require('npm'). There are no other breaking changes.

ran into the same problem, requiring npm failed, had to hack the code in cli.js to make it work 😑

@Thyiad
Copy link

Thyiad commented Oct 8, 2021

same problem, I changed package.json, set npm to v7...

@NeverSeeBefore
Copy link

NeverSeeBefore commented Oct 8, 2021

+1,error is because of npm dependence version is "latest"

@bbb324
Copy link

bbb324 commented Oct 11, 2021

change package.json npm to 7.5.4, and delete node_modules, and execute npm i again, that works for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants