What should I write in the console so that gulp installs all the necessary packages? package.json and gulpfile.js already exist
{ "name": "myproj", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "", "license": "ISC", "devDependencies": { "browser-sync": "^2.18.8", "del": "^2.2.2", "gulp": "^3.9.1", "gulp-autoprefixer": "^3.1.1", "gulp-cache": "^0.4.5", "gulp-concat": "^2.6.1", "gulp-imagemin": "^3.1.1", "gulp-rename": "^1.2.2", "gulp-sass": "^3.1.0", "gulp-sourcemaps": "^2.4.1", "gulp-uglifyjs": "^0.6.2", "imagemin-pngquant": "^5.0.0" } } I watched the video lessons, everywhere they say that these two files are simply copied and then written npm up that is, update all the packages. Why not npm install ? When I enter npm up I get errors:
I am not good at understanding such errors, tell me what the problem is. and tell us what the differences devDependencies and dependencies when you need to write devDependencies packages and when in dependencies
