node.js - How do I upgrade my npm installation? -
i've been unable upgrade npm installation.
i tried installing new version of npm:
1.step
npm install npm -g npm install npm --save-dev 2.step
npm outdated package current wanted latest npm 3.5.3 3.5.4 3.5.3 package.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 new installed version npm warn ebundleoverride replacing bundled node_modules\npm\node_modules\npm-ins tall-checks new installed version npm warn ebundleoverride replacing bundled node_modules\npm\node_modules\node-gy p new installed version npm warn ebundleoverride replacing bundled node_modules\npm\node_modules\npmlog new installed version npm warn ebundleoverride replacing bundled node_modules\npm\node_modules\read-pa ckage-json new installed version npm outdated package current wanted latest location npm 3.5.4 3.5.4 3.5.3 tiko is npm update not working?
you can update npm installation using npm itself.
you need install newest version of npm global package:
$ npm install npm -g
Comments
Post a Comment