Closed yingpengsha closed 2 years ago
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.
npm
require('npm')
nrm
Error: Cannot find module '/path/to/package/node_modules/npm/index.js'
https://github.com/npm/cli/releases/tag/v8.0.0
Fixed: #104 #105
npm
will not support torequire('npm')
after 8.0.0, this caused users who recently installednrm
to receive an error when using it.Reference
https://github.com/npm/cli/releases/tag/v8.0.0
Fixed: #104 #105