我一直无法升级我的npm
安装。
我尝试安装新版本npm
:
1.步骤
npm install npm -g
npm install npm --save-dev
2.步骤
npm outdated
Package Current Wanted Latest
npm 3.5.3 3.5.4 3.5.3
包.json
{
"name": "tiko",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"devDependencies": {
}
}
npm update
npm WARN EBUNDLEOVERRIDE Replacing bundled node_modules\npm\node_modules\init-pa
ckage-json with new installed version
npm WARN EBUNDLEOVERRIDE Replacing bundled node_modules\npm\node_modules\npm-ins
tall-checks with new installed version
npm WARN EBUNDLEOVERRIDE Replacing bundled node_modules\npm\node_modules\node-gy
p with new installed version
npm WARN EBUNDLEOVERRIDE Replacing bundled node_modules\npm\node_modules\npmlog
with new installed version
npm WARN EBUNDLEOVERRIDE Replacing bundled node_modules\npm\node_modules\read-pa
ckage-json with new installed version
npm outdated
Package Current Wanted Latest Location
npm 3.5.4 3.5.4 3.5.3 tiko
更新npm
不起作用吗?