-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting error while running npm start #1
Comments
+1 on mac, similar issue, npm install && npm run start gives:
|
Use |
Thanks...worked for me. |
Worked for me too! Thanks! |
Worked for me. Thanks! |
Works.. but.. why? What to follow to have this fixed permanently, this seems like duct tape on my project. |
didn't make any difference for me |
@scookstlmo @Judgeja @iExit1337 example tsconfig.json:
|
I have git cloned angular2-starter-basic.. but while running npm start I am getting errors. Please suggest the solution. Following is log file text:-
0 info it worked if it ends with ok
1 verbose cli [ 'D:\ProgrameFiles\node.exe',
1 verbose cli 'C:\Users\jashanpreet.kaur\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle [email protected]~ prestart: [email protected]
6 silly lifecycle [email protected]~ prestart: no script for prestart, continuing
7 info lifecycle [email protected]
start: [email protected]start: unsafe-perm in lifecycle true8 verbose lifecycle [email protected]
9 verbose lifecycle [email protected]
start: PATH: C:\Users\jashanpreet.kaur\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin;D:\Projects\angular2forms\node_modules.bin;C:\Program Files\ConEmu\ConEmu\Scripts;C:\Program Files\ConEmu;C:\Program Files\ConEmu\ConEmu;C:\Program Files\Java\jdk1.7.0\bin;D:\wamp\bin\php\php5.5.12;C:\Program Files\Git\cmd;C:\Program Files (x86)\Skype\Phone;C:\Python27;C:\Python27\Scripts;C:\Program Files\SlikSvn\bin;\C:\Program Files (x86)\PostgreSQL\9.5\bin;C:\Program Files\PostgreSQL\pg94\bin;C:\Python35;C:\Python35\Scripts;D:\ProgrameFiles;C:\Users\jashanpreet.kaur\AppData\Roaming\npm;C:\Program Files (x86)\Microsoft VS Code\binstart: CWD: D:\Projects\angular2forms10 verbose lifecycle [email protected]
11 silly lifecycle [email protected]
start: Args: [ '/d /s /c',start: Returned: code: 1 signal: null11 silly lifecycle 'tsc && concurrently "npm run tsc:w" "npm run lite"' ]
12 silly lifecycle [email protected]
13 info lifecycle [email protected]~start: Failed to exec start script
14 verbose stack Error: [email protected] start:
tsc && concurrently "npm run tsc:w" "npm run lite"
14 verbose stack Exit status 1
14 verbose stack at EventEmitter. (C:\Users\jashanpreet.kaur\AppData\Roaming\npm\node_modules\npm\lib\utils\lifecycle.js:279:16)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at EventEmitter.emit (events.js:191:7)
14 verbose stack at ChildProcess. (C:\Users\jashanpreet.kaur\AppData\Roaming\npm\node_modules\npm\lib\utils\spawn.js:40:14)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at ChildProcess.emit (events.js:191:7)
14 verbose stack at maybeClose (internal/child_process.js:877:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
15 verbose pkgid [email protected]
16 verbose cwd D:\Projects\angular2forms
17 error Windows_NT 6.1.7601
18 error argv "D:\ProgrameFiles\node.exe" "C:\Users\jashanpreet.kaur\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "start"
19 error node v6.9.4
20 error npm v4.3.0
21 error code ELIFECYCLE
22 error errno 1
23 error [email protected] start:
tsc && concurrently "npm run tsc:w" "npm run lite"
23 error Exit status 1
24 error Failed at the [email protected] start script 'tsc && concurrently "npm run tsc:w" "npm run lite"'.
24 error Make sure you have the latest version of node.js and npm installed.
24 error If you do, this is most likely a problem with the angular2-starter-basic package,
24 error not with npm itself.
24 error Tell the author that this fails on your system:
24 error tsc && concurrently "npm run tsc:w" "npm run lite"
24 error You can get information on how to open an issue for this project with:
24 error npm bugs angular2-starter-basic
24 error Or if that isn't available, you can get their info via:
24 error npm owner ls angular2-starter-basic
24 error There is likely additional logging output above.
25 verbose exit [ 1, true ]
The text was updated successfully, but these errors were encountered: