×
Clear all filters including search bar
Valeri Tandilashvili's Personal Professional Blog
npm root
npm uninstall nodemon -g / npm uninstall -g nodemon
npm install nodemon -g / npm install -g nodemon
minor
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 2
gulp-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 install
dependencies
but they will get put in their own object called devDependencies
npm install --save-dev gulp gulp-sass
npm install moment gulp
true
from NPM version 5.*dependencies
key inside package.json
filenpm install