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和要安装的包重名

还有可能不是管理员权限

上一篇:OpenCV中的神器Image Watch


下一篇:POJ C++程序设计 编程题#1 编程作业—继承与派生