1.安装方式按照简书上写的方法做的,http://www.jianshu.com/p/d242...,终端运行sudo npm install -g cordova命令报如下:npm ERR! Darwin 15.5.0npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "cordova"npm ERR! node v6.2.0npm ERR! npm v3.8.9npm ERR! shasum check failed for /tmp/npm-13501-4befa2a4/registry.npmjs.org/npm/-/npm-2.15.11.tgznpm ERR! Expected: 350588fba9cd8d384cf9a6e8dc0fef0f94992b7cnpm ERR! Actual: dbde35e2dd26008b1881b86115dcbfc74e150fd9npm ERR! From: https://registry.npmjs.org/np...npm ERR! npm ERR! If you need help, you may report this error at:npm ERR! https://github.com/npm/npm/is...npm ERR! Please include the following file with any support request:npm ERR! /Users/yuanjianxing/npm-debug.log
添加回答
举报
0/150
提交
取消