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

fix: limit npm version below 8.0 #106

Merged
merged 1 commit into from
Oct 12, 2021
Merged

fix: limit npm version below 8.0 #106

merged 1 commit into from
Oct 12, 2021

Conversation

yingpengsha
Copy link
Contributor

npm will not support to require('npm') after 8.0.0, this caused users who recently installed nrm to receive an error when using it.

Error: Cannot find module '/path/to/package/node_modules/npm/index.js'

Reference

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

Fixed: #104 #105

@i5ting i5ting merged commit 6095e4f into Pana:master Oct 12, 2021
@i5ting
Copy link
Collaborator

i5ting commented Oct 12, 2021

  • nrm@1.2.5

@ImADrafter ImADrafter mentioned this pull request Oct 15, 2021
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 this pull request may close these issues.

nrm broken on npm v8.0.0
2 participants