angular60 icon indicating copy to clipboard operation
angular60 copied to clipboard

cannot run app

Open ycj1905 opened this issue 8 years ago • 3 comments

On Windows 10, when I run "npm start", there's error message as below. Did I miss something ?

npm ERR! Windows_NT 10.0.14393 npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "start" npm ERR! node v6.9.1 npm ERR! npm v3.10.8 npm ERR! code ELIFECYCLE npm ERR! [email protected] start: tsc && concurrently "tsc -w" "lite-server" npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the [email protected] start script 'tsc && concurrently "tsc -w" "lite-server" '. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the angular-quickstart package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! tsc && concurrently "tsc -w" "lite-server" npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs angular-quickstart npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls angular-quickstart npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! C:\Users\USER\Desktop\workspace\angular60\npm-debug.log

ycj1905 avatar Jan 27 '17 16:01 ycj1905

Did you run "npm install"?

bradtraversy avatar Jan 29 '17 14:01 bradtraversy

i am having the similar error like above. Yes i did run npm install

Rajdeepc avatar Mar 02 '17 07:03 Rajdeepc

Open 2 instances of cmd at your angular quickstart directory

Window 1 npm run build:watch

then..

Window 2 npm run serve

This worked for me. I was facing the same issue. Found the solution on stackoverflow

Jyotsna-Singh avatar Jun 22 '17 05:06 Jyotsna-Singh