Node Newbie Error – NPM Refusing to Install Package as a Dependency of Itself
46 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "--save-dev" "react-handsontable"
47 error node v6.9.4
48 error npm v3.10.10
49 error code ENOSELF
50 error Refusing to install react-handsontable as a dependency of itself
51 error If you need help, you may report this error at:
51 error <https://github.com/npm/npm/issues>
原因:
package.json里面的name和要安装的包重名
还有可能不是管理员权限
没有永远的记忆,只有勤奋的笔记