npm update<package> doesn't update the package -
i've run issue try update package on remote server, mongoose package.
if run npm mongoose --version return version number of 1.3.10. in package.json version specified ^2.7.4.
i've tried run npm update , not update package ^2.7.4, version npm mongoose --version still returns 1.3.10
when uninstall package via npm uninstall mongoose return unbuild mongoose@2.9.10, if run npm mongoose --version still output 1.3.10. i've tried reinstalling specific version number npm install mongoose@2.7.4 npm mongoose --version still return 1.3.10
i've made sure mongoose package not global package, , i've tried rebuild entire node_modules folder uninstalling packages , running npm install, still version number of 1.3.10.
any idea be?
the remote server running on ubuntu 14.04.2 lts (gnu/linux 3.16.0-38-generic x86_64) if helps.
so npm --version command returns version number of npm.
what want use npm list mongoose list version number of package mongoose (npm list display list of packages versions , npm list -g display list of global packages version number)
edit
you use command: npm show {pkg} version, in case npm show mongoose version
Comments
Post a Comment