scalable-react / scalable-react-boilerplate

:star: Scalable feature-first React micro-framework made for Udacity Alumni collaborative projects

Home Page:https://scalable-react-boilerplate.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Got code ELIFECYCLE after running 'npm run dev'

zhangtreefish opened this issue · comments

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

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: npm/npm#4040

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