truffle-box / react-box

Truffle, Webpack and React boilerplate.
https://truffle-box.github.io/
MIT License
736 stars 251 forks source link

npm run start fails to start. #67

Closed crazyrabbitLTC closed 5 years ago

crazyrabbitLTC commented 6 years ago

Following the setup instructions in the readme file.

npm run start fails to start. Returns: npm ERR! missing script: start

Instructions should specify that one needs to run npm run start from within the client directory.

JacksonTom commented 6 years ago

try 'cd client && npm start' as recommanded

artikeshari commented 5 years ago

I also facing the same problem. i followed following steps-

1- mkdir react 2- cd react 3- npx truffle unbox react √ Preparing to download √ Downloading √ Cleaning up temporary files × Setting up box

 Unbox successful. Sweet!

4- truffle develop 5- compile 6- migrate 7- cd client //in another terminal 8- npm run start

client@0.1.0 start D:\react\client react-scripts start

'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! client@0.1.0 start: react-scripts start npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the client@0.1.0 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\bandriya\AppData\Roaming\npm-cache_logs\2019-02-24T09_41_20_222Z-debug.log

how to fix it?

damilola-adeogun commented 4 years ago

Same @sampriti111 ! I currently facing that issue, I've been trying to fix it. Please were you able to find a solution?

JsuBaron commented 4 years ago

Have you solved that issue? @codepalmz

damilola-adeogun commented 4 years ago

No, I haven't, please do you have any solution?

SrinathYatawar commented 2 years ago

Hii everyone if anyone had solved the issue please help me.