I am trying to run a Node js program as defined in Github probyto
i am following all the steps defined in the above github link but when i try to run
npm run client
it gives me a error as
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! client@2.0.0 start: `react-scripts start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the client@2.0.0 start 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! C:\Users\Gautam\AppData\Roaming\npm-cache\_logs\2021-01-11T07_55_54_943Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! mern-jwt-auth@2.0.0 client: `npm start --prefix client`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the mern-jwt-auth@2.0.0 client 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! C:\Users\Gautam\AppData\Roaming\npm-cache\_logs\2021-01-11T07_55_54_976Z-debug.log
I have already tried some solutions like
updating node/ npm
deleting node modules and packagelock.json file and then npm install
npm update
but nothing seems to work . can anyone help me run this . any help is appreciated
from npm Start and "npm run client" is not working in Node
No comments:
Post a Comment