node-react-ecommerce icon indicating copy to clipboard operation
node-react-ecommerce copied to clipboard

i'm download your projeckt to my pc, i cen't run it

Open shneor770 opened this issue 4 years ago • 6 comments

'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???

shneor770 avatar Jun 03 '20 06:06 shneor770

did you run npm install in both folders: / and /frontend ?

basir avatar Jun 03 '20 06:06 basir

yes!

new is error TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined

shneor770 avatar Jun 03 '20 06:06 shneor770

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.

basir avatar Jun 03 '20 07:06 basir

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.

chillerniko avatar Jun 07 '20 22:06 chillerniko

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 .

shneor770 avatar Jun 08 '20 05:06 shneor770

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

basir avatar Jul 27 '20 04:07 basir