×
Clear all filters including search bar
Valeri Tandilashvili's Personal Professional Blog
npm listnpm root -gThe result (on this computer) isC:\Users\Admin\AppData\Roaming\npm\node_modulesnpm rootnpm uninstall nodemon -g / npm uninstall -g nodemonnpm install nodemon -g / npm install -g nodemonminor and patch versions but do not update to the current major versionnpm update moment
Before update""dependencies": {
"moment": "^1.6.2"
}
After update"dependencies": {
"moment": "^1.7.2"
}
The package updated to 1.7.2 even though the current major version is 2gulp-sass module
npm uninstall gulp-sass
npm un gulp-sass
npm remove gulp-sass
npm rm gulp-sass
All the above commands do the same thing (uninstalling the module)dependencies key if we run the command with --production flagnpm install --production
NPM installs all modules listed inside dependencies and devDependencies npm installdependencies but they will get put in their own object called devDependencies npm install --save-dev gulp gulp-sassnpm install moment gulp