node-react-ecommerce
node-react-ecommerce copied to clipboard
i'm download your projeckt to my pc, i cen't run it
'react-scripts' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: react-scripts start
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start 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! C:\Users\SHNEO\AppData\Roaming\npm-cache_logs\2020-06-03T06_03_10_500Z-debug.logPS C:\node-react-ecommerce-master\frontend>
what i need to do???
did you run npm install in both folders: / and /frontend ?
yes!
new is error TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
make sure you can run brand new react app by these commands:
npx create-react-app myapp
cd myapp
npm start
If you have react app in your browser just send me a message over skype to screen share and fix your issue. If you can not run it please fix the node and npm issue first.
Hello, you need to do this, that error happen to me too, upgrading react-scripts package from v3.3.0 to v3.4.0 and run again npm install and later npm start and will work. I read its something in windows 10.
Thanks for you
שניאור בכר. ניהול תוכנה ומשאבים טכניים
בתאריך יום ב׳, 8 ביוני 2020, 1:27, מאת IsaiasGT [email protected]:
Hello, you need to do this, that error happen to me too, upgrading react-scripts package from v3.3.0 to v3.4.0 and run again npm install and later npm start and will work. I read its something in windows 10.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/basir/node-react-ecommerce/issues/32#issuecomment-640289110, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANVOQXXGLT46OCH2ZLQYALTRVQH4JANCNFSM4NRLGWTQ .
hello there I just updated the run locally docs. check it now to fix the issue: https://github.com/basir/node-react-ecommerce#run-locally