angular-tour-of-heroes giving me issues

69 views
Skip to first unread message

SidX

unread,
Oct 26, 2016, 2:51:03 AM10/26/16
to Angular

I was using the https://angular.io/docs/ts/latest/tutorial/

and the underlying  pakage i was using was https://angular.io/docs/ts/latest/quickstart.html

I have absolutely made any changes except the name of the root folder and package name in package.json from "angular2-quickstart"  to "angular-tour-of-heroes"

However when i have put npm start i am getting the following error



0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'start' ]
2 info using n...@2.15.9
3 info using no...@v4.5.0
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info prestart angular-tou...@1.0.0
6 info start angular-tou...@1.0.0
7 verbose unsafe-perm in lifecycle true
8 info angular-tou...@1.0.0 Failed to exec start script
9 verbose stack Error: angular-tou...@1.0.0 start: `tsc && concurrently "tsc -w" "lite-server" `
9 verbose stack Exit status 2
9 verbose stack     at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:217:16)
9 verbose stack     at emitTwo (events.js:87:13)
9 verbose stack     at EventEmitter.emit (events.js:172:7)
9 verbose stack     at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:24:14)
9 verbose stack     at emitTwo (events.js:87:13)
9 verbose stack     at ChildProcess.emit (events.js:172:7)
9 verbose stack     at maybeClose (internal/child_process.js:829:16)
9 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
10 verbose pkgid angular-tou...@1.0.0
11 verbose cwd C:\Users\Naba\angular-tour-of-heroes
12 error Windows_NT 10.0.14393
13 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "start"
14 error node v4.5.0
15 error npm  v2.15.9
16 error code ELIFECYCLE
17 error angular-tou...@1.0.0 start: `tsc && concurrently "tsc -w" "lite-server" `
17 error Exit status 2
18 error Failed at the angular-tou...@1.0.0 start script 'tsc && concurrently "tsc -w" "lite-server" '.
18 error This is most likely a problem with the angular-tour-of-heroes package,
18 error not with npm itself.
18 error Tell the author that this fails on your system:
18 error     tsc && concurrently "tsc -w" "lite-server"
18 error You can get information on how to open an issue for this project with:
18 error     npm bugs angular-tour-of-heroes
18 error Or if that isn't available, you can get their info via:
18 error
18 error     npm owner ls angular-tour-of-heroes
18 error There is likely additional logging output above.
19 verbose exit [ 1, true ]
Reply all
Reply to author
Forward
0 new messages