I'm trying to run an Angular 2 app I've downloaded from GitHub. This works:
But this fails:
The only difference I can see is that "npm start" appears to execute the following statement before it calls "ng serve" :
project@0.0.0 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.