node.js - Uninstall a global package (express) in npm -


i trying uninstall express 4.x 3.x. here see in terminal:

npm uninstall express npm warn uninstall not installed in /home/johnmlocklear/node_modules: "express"  npm uninstall -g express npm warn uninstall not installed in /usr/local/lib/node_modules: "express"  express -v 4.2.0  ls .npm/express 3.0.0  4.2.0  4.4.4  express /usr/local/bin/express  ls -lh /usr/local/bin/express /usr/local/bin/express -> ../lib/node_modules/express-generator/bin/express 

so guess confused why npm looking in home folder express. if try -g option same error message. want either install express , can reinstall version 3, or there way choose version 3 active version?

try this:

npm install -g express@"3.x.x" 

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -