scalable-react / scalable-react-boilerplate

:star: Scalable feature-first React micro-framework made for Udacity Alumni collaborative projects
https://scalable-react-boilerplate.herokuapp.com/
MIT License
259 stars 56 forks source link

Got code ELIFECYCLE after running 'npm run dev' #22

Closed zhangtreefish closed 8 years ago

zhangtreefish commented 8 years ago

Upon 'npm run start' I got:
npm ERR! ' code ELIFECYCLE: alumni-client@1.0.0 dev:``npm bin/webpack-dev-server , and npm' is not recognized as an internal or external command, operable program or batch file. `

I am using Windows 10. I changed node and npm versions to match those defined in package.json, and still got the same error. Below is the log for the boilerplate app: npm-debug.txt

And here is a screenshot of the error message for the alumni app: npmnotrecognized

RyanCCollins commented 8 years ago

Thanks, I believe I know what is happening.

Your command line is unable to recognize the syntax of the command that is listed in the scripts. It's a windows thing, I believe. I will see if I can get it working and report to you how I did it. Thanks!

See here for reference: https://github.com/npm/npm/issues/4040

RyanCCollins commented 8 years ago

@zhangtreefish I am going to close this, pending updates and tests! I will get it working on Windows. Thanks again for reporting it!