1.- when i run the first "npm install" all the dependencies are created in a new file called "package-lock.json"
2.- so when i follow the instructions and run the "npm run webpack" i get this error:
sh: webpack: command not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! webpack-workshop-2018@1.0.0 build: webpack
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the webpack-workshop-2018@1.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/diseno/.npm/_logs/2019-11-18T18_26_37_556Z-debug.log
Hi, im using mac and have 2 questions:
1.- when i run the first "npm install" all the dependencies are created in a new file called "package-lock.json"
2.- so when i follow the instructions and run the "npm run webpack" i get this error:
sh: webpack: command not found npm ERR! code ELIFECYCLE npm ERR! syscall spawn npm ERR! file sh npm ERR! errno ENOENT npm ERR! webpack-workshop-2018@1.0.0 build:
webpack
npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the webpack-workshop-2018@1.0.0 build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in: npm ERR! /Users/diseno/.npm/_logs/2019-11-18T18_26_37_556Z-debug.log