Thing I've tried:
Tried running
npm run-script build
Tried doing
npm cache clean --force
Tried deleting node_modules folder then using
npm cache clean --force
and then doingnpm install
i even tried installing run-script after i got "'run-script' is not recognized as an internal or external command" error
Nothing worked, i have no idea why i'm getting this error. if anyone can tell me the reason that'd be great. sorry for the trouble
Error i'm getting:
'run-script' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! react-portfolio@0.1.0 build: run-script build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the react-portfolio@0.1.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Top comments (2)
I’m not sure this is what dev.to is for. Stackoverflow is probably the best place to post stuff like this.
they banned me from asking questions for some reasons, so i just googled for alternatives, and this was one of them i found, also they should specify what it's for.