I'm trying to run an Angular 2 app I've downloaded from GitHub. This works: npm install npm start
But this fails: npm install ng serve The only difference I can see is that "npm start" appears to execute the following statement before it calls "ng serve" : [email protected] start /Users/MyUserName/Projects/SampleProject I've searched for this error but cannot find anything. What is it that this statement does and why does it fix the startup? Robert P.S. For the record, the error message I'm getting with "ng serve" [alone] is: *You have to be inside an angular-cli project in order to use the serve command.* -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
