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.

unable to run ACM-Final nor ACM-Start

See original GitHub issue

Hi, I have downloaded your APM-Final and ran, npm install and npm start but I am getting the following error. I have latest stable node and npm version installed on my Mac system.

$ sudo npm start Password:

product-management@1.0.0 start /Users/remo/Projects/dashboard/ng2Dashboard tsc && concurrently “tsc -w” “lite-server”

app/products/product.service.ts(26,53): error TS2339: Property ‘find’ does not exist on type ‘IProduct[]’. app/products/product.service.ts(26,58): error TS7006: Parameter ‘p’ implicitly has an ‘any’ type. node_modules/@angular/common/src/directives/ng_class.d.ts(46,34): error TS2304: Cannot find name ‘Set’. node_modules/@angular/common/src/pipes/async_pipe.d.ts(39,38): error TS2304: Cannot find name ‘Promise’. node_modules/@angular/compiler/src/compile_metadata.d.ts(347,20): error TS2304: Cannot find name ‘Set’. node_modules/@angular/compiler/src/compile_metadata.d.ts(348,15): error TS2304: Cannot find name ‘Set’. node_modules/@angular/compiler/src/directive_normalizer.d.ts(19,100): error TS2304: Cannot find name ‘Promise’. node_modules/@angular/compiler/src/directive_normalizer.d.ts(21,74): error TS2304: Cannot find name ‘Promise’. node_modules/@angular/compiler/src/offline_compiler.d.ts(15,26): error TS2304: Cannot find name ‘Map’. node_modules/@angular/compiler/src/offline_compiler.d.ts(16,38): error TS2304: Cannot find name ‘Map’. node_modules/@angular/compiler/src/offline_compiler.d.ts(31,124): error TS2304: Cannot find name ‘Promise’. node_modules/@angular/compiler/src/output/output_ast.d.ts(424,63): error TS2304: Cannot find name ‘Set’. node_modules/@angular/compiler/src/resource_loader.d.ts(13,23): error TS2304: Cannot find name ‘Promise’. node_modules/@angular/compiler/src/runtime_compiler.d.ts(40,49): error TS2304: Cannot find name ‘Promise’. node_modules/@angular/compiler/src/runtime_compiler.d.ts(42,65): error TS2304: Cannot find name ‘Promise’. node_modules/@angular/compiler/src/template_parser/template_parser.d.ts(45,12): error TS2304: Cannot find name ‘Set’. node_modules/@angular/compiler/src/util.d.ts(35,18): error TS2304: Cannot find name ‘Promise’. node_modules/@angular/compiler/src/util.d.ts(36,46): error TS2304: Cannot find name ‘Promise’. node_modules/@angular/compiler/src/view_compiler/compile_element.d.ts(33,16): error TS2304: Cannot find name ‘Map’. node_modules/@angular/compiler/src/view_compiler/compile_query.d.ts(24,49): error TS2304: Cannot find name ‘Map’. node_modules/@angular/compiler/src/view_compiler/compile_view.d.ts(29,18): error TS2304: Cannot find name ‘Map’. node_modules/@angular/compiler/src/view_compiler/compile_view.d.ts(52,16): error TS2304: Cannot find name ‘Map’. node_modules/@angular/compiler/src/view_compiler/compile_view.d.ts(54,13): error TS2304: Cannot find name ‘Map’. node_modules/@angular/core/src/application_init.d.ts(16,18): error TS2304: Cannot find name ‘Promise’. node_modules/@angular/core/src/application_ref.d.ts(106,67): error TS2304: Cannot find name ‘Promise’. node_modules/@angular/core/src/application_ref.d.ts(122,101): error TS2304: Cannot find name ‘Promise’. node_modules/@angular/core/src/application_ref.d.ts(148,67): error TS2304: Cannot find name ‘Promise’. node_modules/@angular/core/src/application_ref.d.ts(150,101): error TS2304: Cannot find name ‘Promise’. node_modules/@angular/core/src/change_detection/differs/default_keyvalue_differ.d.ts(24,15): error TS2304: Cannot find name ‘Map’. node_modules/@angular/core/src/change_detection/differs/default_keyvalue_differ.d.ts(28,16): error TS2304: Cannot find name ‘Map’. node_modules/@angular/core/src/di/reflective_provider.d.ts(88,123): error TS2304: Cannot find name ‘Map’. node_modules/@angular/core/src/di/reflective_provider.d.ts(88,165): error TS2304: Cannot find name ‘Map’. node_modules/@angular/core/src/facade/collection.d.ts(2,25): error TS2304: Cannot find name ‘MapConstructor’. node_modules/@angular/core/src/facade/collection.d.ts(3,25): error TS2304: Cannot find name ‘SetConstructor’. node_modules/@angular/core/src/facade/collection.d.ts(5,27): error TS2304: Cannot find name ‘Map’. node_modules/@angular/core/src/facade/collection.d.ts(5,39): error TS2304: Cannot find name ‘Map’. node_modules/@angular/core/src/facade/collection.d.ts(8,9): error TS2304: Cannot find name ‘Map’. node_modules/@angular/core/src/facade/collection.d.ts(9,30): error TS2304: Cannot find name ‘Map’. node_modules/@angular/core/src/facade/collection.d.ts(12,43): error TS2304: Cannot find name ‘Map’. node_modules/@angular/core/src/facade/collection.d.ts(13,27): error TS2304: Cannot find name ‘Map’. node_modules/@angular/core/src/facade/collection.d.ts(15,23): error TS2304: Cannot find name ‘Map’. node_modules/@angular/core/src/facade/collection.d.ts(16,25): error TS2304: Cannot find name ‘Map’. node_modules/@angular/core/src/facade/collection.d.ts(101,41): error TS2304: Cannot find name ‘Set’. node_modules/@angular/core/src/facade/collection.d.ts(102,22): error TS2304: Cannot find name ‘Set’. node_modules/@angular/core/src/facade/collection.d.ts(103,25): error TS2304: Cannot find name ‘Set’. node_modules/@angular/core/src/facade/lang.d.ts(12,17): error TS2304: Cannot find name ‘Map’. node_modules/@angular/core/src/facade/lang.d.ts(13,17): error TS2304: Cannot find name ‘Set’. node_modules/@angular/core/src/facade/lang.d.ts(51,59): error TS2304: Cannot find name ‘Map’. node_modules/@angular/core/src/linker/compiler.d.ts(53,49): error TS2304: Cannot find name ‘Promise’. node_modules/@angular/core/src/linker/compiler.d.ts(61,65): error TS2304: Cannot find name ‘Promise’. node_modules/@angular/core/src/linker/ng_module_factory_loader.d.ts(14,34): error TS2304: Cannot find name ‘Promise’. node_modules/@angular/core/src/linker/system_js_ng_module_factory_loader.d.ts(28,25): error TS2304: Cannot find name ‘Promise’. node_modules/@angular/http/src/headers.d.ts(45,59): error TS2304: Cannot find name ‘Map’. node_modules/@angular/http/src/url_search_params.d.ts(46,16): error TS2304: Cannot find name ‘Map’. node_modules/@angular/platform-browser-dynamic/src/resource_loader/resource_loader_impl.d.ts(10,23): error TS2304: Cannot find name ‘Promise’. node_modules/@angular/platform-browser/src/browser/browser_adapter.d.ts(79,33): error TS2304: Cannot find name ‘Map’. node_modules/@angular/platform-browser/src/dom/dom_adapter.d.ts(97,42): error TS2304: Cannot find name ‘Map’. node_modules/@angular/platform-browser/src/dom/dom_renderer.d.ts(18,37): error TS2304: Cannot find name ‘Map’. node_modules/@angular/platform-browser/src/facade/collection.d.ts(2,25): error TS2304: Cannot find name ‘MapConstructor’. node_modules/@angular/platform-browser/src/facade/collection.d.ts(3,25): error TS2304: Cannot find name ‘SetConstructor’. node_modules/@angular/platform-browser/src/facade/collection.d.ts(5,27): error TS2304: Cannot find name ‘Map’. node_modules/@angular/platform-browser/src/facade/collection.d.ts(5,39): error TS2304: Cannot find name ‘Map’. node_modules/@angular/platform-browser/src/facade/collection.d.ts(8,9): error TS2304: Cannot find name ‘Map’. node_modules/@angular/platform-browser/src/facade/collection.d.ts(9,30): error TS2304: Cannot find name ‘Map’. node_modules/@angular/platform-browser/src/facade/collection.d.ts(12,43): error TS2304: Cannot find name ‘Map’. node_modules/@angular/platform-browser/src/facade/collection.d.ts(13,27): error TS2304: Cannot find name ‘Map’. node_modules/@angular/platform-browser/src/facade/collection.d.ts(15,23): error TS2304: Cannot find name ‘Map’. node_modules/@angular/platform-browser/src/facade/collection.d.ts(16,25): error TS2304: Cannot find name ‘Map’. node_modules/@angular/platform-browser/src/facade/collection.d.ts(101,41): error TS2304: Cannot find name ‘Set’. node_modules/@angular/platform-browser/src/facade/collection.d.ts(102,22): error TS2304: Cannot find name ‘Set’. node_modules/@angular/platform-browser/src/facade/collection.d.ts(103,25): error TS2304: Cannot find name ‘Set’. node_modules/@angular/router/src/config.d.ts(279,62): error TS2304: Cannot find name ‘Promise’. node_modules/@angular/router/src/interfaces.d.ts(78,99): error TS2304: Cannot find name ‘Promise’. node_modules/@angular/router/src/interfaces.d.ts(157,109): error TS2304: Cannot find name ‘Promise’. node_modules/@angular/router/src/interfaces.d.ts(227,115): error TS2304: Cannot find name ‘Promise’. node_modules/@angular/router/src/interfaces.d.ts(297,91): error TS2304: Cannot find name ‘Promise’. node_modules/@angular/router/src/interfaces.d.ts(367,50): error TS2304: Cannot find name ‘Promise’. node_modules/@angular/router/src/router.d.ts(386,70): error TS2304: Cannot find name ‘Promise’. node_modules/@angular/router/src/router.d.ts(408,59): error TS2304: Cannot find name ‘Promise’. node_modules/@angular/router/src/utils/collection.d.ts(35,58): error TS2304: Cannot find name ‘Promise’. node_modules/rxjs/Observable.d.ts(10,66): error TS2304: Cannot find name ‘Promise’. node_modules/rxjs/Observable.d.ts(66,60): error TS2304: Cannot find name ‘Promise’. node_modules/rxjs/Observable.d.ts(66,70): error TS2304: Cannot find name ‘Promise’.

npm ERR! Darwin 15.2.0 npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” “start” npm ERR! node v7.2.0 npm ERR! npm v3.10.9 npm ERR! code ELIFECYCLE npm ERR! product-management@1.0.0 start: tsc && concurrently "tsc -w" "lite-server" npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the product-management@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 product-management 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 product-management npm ERR! Or if that isn’t available, you can get their info via: npm ERR! npm owner ls product-management npm ERR! There is likely additional logging output above.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
kweeketcommented, Feb 1, 2017

What worked for me was to change the start field in package.json from

"start": "tsc && concurrently \"npm run tsc:w\" \"npm run lite\" " to

"start": "concurrently \"npm run tsc:w\" \"npm run lite\" "

(source: http://stackoverflow.com/questions/34335340/angular2-quickstart-npm-start-is-not-working-correctly)

0reactions
DeborahKcommented, Dec 9, 2017

Did you download the correct files? These files now use the Angular CLI for npm start and no longer use concurrently or tsc.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why is My AC Not Turning On? How to Fix? [With Pictures]
Another common problem is a faulty thermostat. If the thermostat malfunctions, it will not send the signal to the air conditioner to turn...
Read more >
13 Reasons Your AC Is Not Turning on & How to Fix Them
From clogged filters to a faulty power cord, there can be many reasons why your AC is not turning on. Don't fret; these...
Read more >
AC Not Working - AC Not Turning On ? How To Fix It Yourself
Why is your central AC not working ? If it doesn't turn on at all, follow this guide to fix it yourself. A...
Read more >
AC Won't Turn On - Check This Before Calling an Air ...
If your ac won't turn on, you might be able to fix the problem yourself. Check these 5 things before calling a professional...
Read more >
The 9 Most Common Reasons Why Your AC Won't Turn On
1. Thermostat Issues · 2. Circuit Breaker Tripped · 3. Condenser Unit Unplugged · 4. Blown Fuse · 5. Clogged Air Filter ·...
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