No matter what I do, I always get this error. Help
See original GitHub issuenpm ERR! Linux 4.2.0-42-generic
npm ERR! argv “/usr/bin/nodejs” “/usr/bin/npm” “start”
npm ERR! node v6.3.1
npm ERR! npm v3.10.6
npm ERR! code ELIFECYCLE
npm ERR! angular2-quickstart@1.0.0 start: tsc && concurrently "tsc -w" "lite-server"
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the angular2-quickstart@1.0.0 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 angular2-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 angular2-quickstart
npm ERR! Or if that isn’t available, you can get their info via:
npm ERR! npm owner ls angular2-quickstart
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request: npm ERR! /home/riky/learn/todo/npm-debug.log
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:7 (1 by maintainers)
Top GitHub Comments
Okay found a solution here:
https://stackoverflow.com/questions/34399445/angular-2-quickstart-live-server-error
In brief:
Change the Package.json Scripts Settings “start”: "tsc && concurrently "npm run tsc:w" "npm run lite", to “start”: "concurrently "npm run tsc:w" "npm run lite" ",
You may forget to install package with typings. Please do
sudo npm run typings install
. I hope this could fix your issues.