raffacabofrio
0
raffacabofrio
commented 8 months ago

npm run dev

i got this error:

nuxt dev

sh: nuxt: command not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] dev: nuxt dev
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] 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! /Users/XXX/.npm/logs/2019-08-23T183302293Z-debug.log

0
phferraz
0
phferraz
commented 6 months ago

In your project check if your node_modules folder exists, if it does, just delete it. Then run:

npm install

(it will create node_modules folder)

And try again to run:

npm run dev

0
Informations
Question โ€ข Unresolved
#c22 - Created 8 months ago