mschwarzmueller / angular-2-beta-boilerplate

A basic boilerplate to start an Angular 2 (Beta) App. Includes Gulpfile to compile Typescript and SCSS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I cant do this locally..

amanuel2 opened this issue · comments

commented

I cant do this locally on my windows.. Here is the log

I install it but when i run npm start..... Log:

0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files (x86)\\nodejs\\node.exe',
1 verbose cli   'C:\\Users\\Username\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'start' ]
2 info using npm@3.5.3
3 info using node@v5.6.0
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle angular2-boilerplate@1.0.0~prestart: angular2-boilerplate@1.0.0
6 silly lifecycle angular2-boilerplate@1.0.0~prestart: no script for prestart, continuing
7 info lifecycle angular2-boilerplate@1.0.0~start: angular2-boilerplate@1.0.0
8 verbose lifecycle angular2-boilerplate@1.0.0~start: unsafe-perm in lifecycle true
9 verbose lifecycle angular2-boilerplate@1.0.0~start: PATH: C:\Users\Amanuel\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin;C:\wamp\www\angular2clone4\node_modules\.bin;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Hewlett-Packard\SimplePass\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Program Files\Git\cmd;C:\Program Files (x86)\Heroku\bin;C:\Program Files (x86)\git\cmd;C:\Go\bin\;C:\Program Files (x86)\nodejs\;C:\Program Files (x86)\Git\bin;C:\Program Files (x86)\Git\cmd;C:\Users\Amanuel\AppData\Local\atom\bin;C:\Users\Amanuel\appdata\Roaming\npm;C:\Users\Amanuel\AppData\Local\Spoon\Cmd
10 verbose lifecycle angular2-boilerplate@1.0.0~start: CWD: C:\wamp\www\angular2clone4
11 silly lifecycle angular2-boilerplate@1.0.0~start: Args: [ '/d /s /c', 'concurrent "npm run gulp" "npm run lite" ' ]
12 silly lifecycle angular2-boilerplate@1.0.0~start: Returned: code: 1  signal: null
13 info lifecycle angular2-boilerplate@1.0.0~start: Failed to exec start script
14 verbose stack Error: angular2-boilerplate@1.0.0 start: `concurrent "npm run gulp" "npm run lite" `
14 verbose stack Exit status 1
14 verbose stack     at EventEmitter.<anonymous> (C:\Users\Amanuel\AppData\Roaming\npm\node_modules\npm\lib\utils\lifecycle.js:232:16)
14 verbose stack     at emitTwo (events.js:100:13)
14 verbose stack     at EventEmitter.emit (events.js:185:7)
14 verbose stack     at ChildProcess.<anonymous> (C:\Users\Amanuel\AppData\Roaming\npm\node_modules\npm\lib\utils\spawn.js:24:14)
14 verbose stack     at emitTwo (events.js:100:13)
14 verbose stack     at ChildProcess.emit (events.js:185:7)
14 verbose stack     at maybeClose (internal/child_process.js:827:16)
14 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
15 verbose pkgid angular2-boilerplate@1.0.0
16 verbose cwd C:\wamp\www\angular2clone4
17 error Windows_NT 10.0.10240
18 error argv "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Users\\Amanuel\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "start"
19 error node v5.6.0
20 error npm  v3.5.3
21 error code ELIFECYCLE
22 error angular2-boilerplate@1.0.0 start: `concurrent "npm run gulp" "npm run lite" `
22 error Exit status 1
23 error Failed at the angular2-boilerplate@1.0.0 start script 'concurrent "npm run gulp" "npm run lite" '.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the angular2-boilerplate package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error     concurrent "npm run gulp" "npm run lite"
23 error You can get information on how to open an issue for this project with:
23 error     npm bugs angular2-boilerplate
23 error Or if that isn't available, you can get their info via:
23 error     npm owner ls angular2-boilerplate
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files (x86)\\nodejs\\node.exe',
1 verbose cli   'C:\\Users\\Username\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'start' ]
2 info using npm@3.5.3
3 info using node@v5.6.0
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle angular2-boilerplate@1.0.0~prestart: angular2-boilerplate@1.0.0
6 silly lifecycle angular2-boilerplate@1.0.0~prestart: no script for prestart, continuing
7 info lifecycle angular2-boilerplate@1.0.0~start: angular2-boilerplate@1.0.0
8 verbose lifecycle angular2-boilerplate@1.0.0~start: unsafe-perm in lifecycle true
9 verbose lifecycle angular2-boilerplate@1.0.0~start: PATH: C:\Users\Amanuel\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin;C:\wamp\www\angular2clone4\node_modules\.bin;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Hewlett-Packard\SimplePass\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Program Files\Git\cmd;C:\Program Files (x86)\Heroku\bin;C:\Program Files (x86)\git\cmd;C:\Go\bin\;C:\Program Files (x86)\nodejs\;C:\Program Files (x86)\Git\bin;C:\Program Files (x86)\Git\cmd;C:\Users\Amanuel\AppData\Local\atom\bin;C:\Users\Amanuel\appdata\Roaming\npm;C:\Users\Amanuel\AppData\Local\Spoon\Cmd
10 verbose lifecycle angular2-boilerplate@1.0.0~start: CWD: C:\wamp\www\angular2clone4
11 silly lifecycle angular2-boilerplate@1.0.0~start: Args: [ '/d /s /c', 'concurrent "npm run gulp" "npm run lite" ' ]
12 silly lifecycle angular2-boilerplate@1.0.0~start: Returned: code: 1  signal: null
13 info lifecycle angular2-boilerplate@1.0.0~start: Failed to exec start script
14 verbose stack Error: angular2-boilerplate@1.0.0 start: `concurrent "npm run gulp" "npm run lite" `
14 verbose stack Exit status 1
14 verbose stack     at EventEmitter.<anonymous> (C:\Users\Amanuel\AppData\Roaming\npm\node_modules\npm\lib\utils\lifecycle.js:232:16)
14 verbose stack     at emitTwo (events.js:100:13)
14 verbose stack     at EventEmitter.emit (events.js:185:7)
14 verbose stack     at ChildProcess.<anonymous> (C:\Users\Amanuel\AppData\Roaming\npm\node_modules\npm\lib\utils\spawn.js:24:14)
14 verbose stack     at emitTwo (events.js:100:13)
14 verbose stack     at ChildProcess.emit (events.js:185:7)
14 verbose stack     at maybeClose (internal/child_process.js:827:16)
14 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
15 verbose pkgid angular2-boilerplate@1.0.0
16 verbose cwd C:\wamp\www\angular2clone4
17 error Windows_NT 10.0.10240
18 error argv "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Users\\Amanuel\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "start"
19 error node v5.6.0
20 error npm  v3.5.3
21 error code ELIFECYCLE
22 error angular2-boilerplate@1.0.0 start: `concurrent "npm run gulp" "npm run lite" `
22 error Exit status 1
23 error Failed at the angular2-boilerplate@1.0.0 start script 'concurrent "npm run gulp" "npm run lite" '.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the angular2-boilerplate package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error     concurrent "npm run gulp" "npm run lite"
23 error You can get information on how to open an issue for this project with:
23 error     npm bugs angular2-boilerplate
23 error Or if that isn't available, you can get their info via:
23 error     npm owner ls angular2-boilerplate
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]

Sometimes there is a bug with lite-server on some systems it seems. Does this work for you: http://stackoverflow.com/questions/34335340/angular2-quickstart-npm-start-is-not-working-correctly

commented

I will test it out when i go home @mschwarzmueller

I am using Windows 10 and getting below error when I try to start NPM

npm ERR! Windows_NT 10.0.14393
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.9.1
npm ERR! npm v3.10.8
npm ERR! code ELIFECYCLE
npm ERR! angular2-boilerplate@1.0.0 start: concurrent "npm run gulp" "npm run lite"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the angular2-boilerplate@1.0.0 start script 'concurrent "npm run gulp" "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-boilerplate package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! concurrent "npm run gulp" "npm run lite"
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs angular2-boilerplate
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls angular2-boilerplate
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! C:\Benseron\POC\Angular2\angular-2-beta-boilerplate\npm-debug.log