question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

help...i cant run angular2 quickstart

See original GitHub issue

i cant run angular2 quickstart, it cant run lite-server

C:\angularjs\angular2-tour-of-heroes\app>npm start

angular2-quickstart@1.0.0 start C:\angularjs\angular2-tour-of-heroes tsc && concurrently “npm run tsc:w” “npm run lite”

app/app.component.ts(77,13): error TS2304: Cannot find name ‘HEROES’. app/app.component.ts(80,3): error TS2393: Duplicate function implementation. app/app.component.ts(84,34): error TS2339: Property ‘then’ does not exist on type ‘void’. app/app.component.ts(89,3): error TS2393: Duplicate function implementation.

npm ERR! Windows_NT 10.0.10586 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.2.1 npm ERR! npm v3.9.3 npm ERR! code ELIFECYCLE npm ERR! angular2-quickstart@1.0.0 start: tsc && concurrently "npm run tsc:w" "npm run lite" npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the angular2-quickstart@1.0.0 start script 'tsc && concurrently “npm run tsc:w” “npm run lite” '. 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 “npm run tsc:w” “npm run lite” 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! C:\angularjs\angular2-tour-of-heroes\app\npm-debug.log

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:23

github_iconTop GitHub Comments

41reactions
sumitdhamejacommented, Sep 10, 2016

try changing “start”: "tsc && concurrently "npm run tsc:w" "npm run lite" " to: “start”: "concurrently "npm run tsc:w" "npm run lite" " in your package.json file. Worked for me

13reactions
Laureiancommented, Jun 27, 2016

This is nodejs problem - not lite-server. Try to reinstall all packages by deleting node_modules folder and then run command ‘npm install’

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular2 QuickStart npm start is not working correctly
Solution C: Just run the lite server command · if you want to manually launch this command from the powershell, you can use...
Read more >
Developers - help...i cant run angular2 quickstart - - Bountysource
i cant run angular2 quickstart, it cant run lite-server. C:\angularjs\angular2-tour-of-heroes\app>npm start. angular2-quickstart@1.0.0 start ...
Read more >
Getting started with Angular 2 Application | Pluralsight
It's as simple as running: npm install -g angular-cli. You can confirm that the installation went well if you run: ng --help.
Read more >
Can't start tutorial using Ubuntu - Google Groups
npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely...
Read more >
Auth0 Angular SDK Quickstarts: Login
Angular: Login · Now that you have imported AuthModule , run your application to verify that the SDK is initializing correctly and that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found