followed the lab without any issue until the step : npm run dev -- -p 3001
konstantinos@konstantinos-VirtualBox:~/EHR_complete/front-end$ npm run dev -- -p 3001
frontend_new@1.0.0 dev /home/konstantinos/EHR_complete/front-end
next "-p" "3001"
sh: 1: next: not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! frontend_new@1.0.0 dev: next "-p" "3001"
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the frontend_new@1.0.0 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! /home/konstantinos/.npm/_logs/2019-04-20T20_29_13_800Z-debug.log
konstantinos@konstantinos-VirtualBox:~/EHR_complete/front-end$
followed the lab without any issue until the step : npm run dev -- -p 3001
konstantinos@konstantinos-VirtualBox:~/EHR_complete/front-end$ npm run dev -- -p 3001
sh: 1: next: not found npm ERR! file sh npm ERR! code ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall spawn npm ERR! frontend_new@1.0.0 dev:
next "-p" "3001"
npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the frontend_new@1.0.0 dev script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install?npm ERR! A complete log of this run can be found in: npm ERR! /home/konstantinos/.npm/_logs/2019-04-20T20_29_13_800Z-debug.log konstantinos@konstantinos-VirtualBox:~/EHR_complete/front-end$