npm库在安装时给出错误

时间:2016-06-07 07:12:34

标签: android node.js npm react-native npm-install

当我尝试从npm安装任何库时,它给了我这个错误

 355 error Windows_NT 10.0.10240
    356 error argv "C:\\Program Files\\nodejs\\node.exe" 
    "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "i" "react-native-qrcode-view" "--save"
    357 error node v6.2.1
    358 error npm  v3.9.3
    359 error code ENOGIT
    360 error not found: git
    361 error Failed using git.
    361 error This is most likely not a problem with npm itself.
    361 error Please check if you have git installed and in your PATH.

请帮助我尝试更新node.js但我仍然有此错误

0 个答案:

没有答案