Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
I have downloaded the code and tried running stage_4_video_1_Start and getting "npm ERR! missing script: start".
In Angular Basics Course, have downloaded the code and tried running stage_4_video_1_Start and getting "npm ERR! missing script: start".
Ari Misha19,274 Points
Hiya there! First cd into the directory and run
npm install and when its done , run it again. And if its still throwing errors, post your package.json file. I hope it helped!
Neil McPartlin14,662 Points
5 months on but in case anyone else hits this, I'm guessing that Sarah successfully performed the install but then typed npm start which is indeed a common way of starting apps.
However, for this particular app, there is no 'start' script defined in the package.json file, but there is one called 'serve', so instead, one needs to type...
npm run serve