This repository was archived by the owner on Feb 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Problems with start angular-phonecat Wndows 7 #324
Comments
This is due to outdated dependecies (more specifically In the meantime, you can solve this by manually updating your local version of
|
gkalpak
added a commit
to gkalpak/angular-phonecat
that referenced
this issue
Apr 11, 2016
…s for the post-1.5.0 era This commit and the accompanying updates to the tutorial steps constitute a major re-structuring of the tutorial app's codebase, aiming at applying established best practices (in terms of file naming/layout and code organization) and utilizing several new features and enhancements (most notably components) introduced in recent versions of Angular (especially v1.5). Apart from the overall changes, two new chapters were introduced: one on components and one on code organization. -- In the process several other things were (incidentally) taken care of, including: * Dependencies were upgraded to latest versions. * Animations were polished. * Outdated links were updated. -- This was inspired by (and loosely based on) angular#289. Mad props to @teropa for leading the way :) Fixes angular#198 Fixes angular#214 Fixes angular#224 Fixes angular#230 Fixes angular#243 Fixes angular#246 Fixes angular#252 Fixes angular#277 Fixes angular#286 Fixes angular#295 Fixes angular#303 Fixes angular#304 Fixes angular#323 Fixes angular#324 Closes angular#268 Closes angular#270 Closes angular#278 Closes angular#280 Closes angular#289 Closes angular#309 Closes angular#311 Closes angular#319
gkalpak
added a commit
to gkalpak/angular-phonecat
that referenced
this issue
Apr 11, 2016
…s for the post-1.5.0 era This commit and the accompanying updates to the tutorial steps constitute a major re-structuring of the tutorial app's codebase, aiming at applying established best practices (in terms of file naming/layout and code organization) and utilizing several new features and enhancements (most notably components) introduced in recent versions of Angular (especially v1.5). Apart from the overall changes, two new chapters were introduced: one on components and one on code organization. -- In the process several other things were (incidentally) taken care of, including: * Dependencies were upgraded to latest versions. * Animations were polished. * Outdated links were updated. * The app's base URL was changed to `/` (instead of `/app/`). -- This was inspired by (and loosely based on) angular#289. Mad props to @teropa for leading the way :) -- The old version of the tutorial, that is compatible with Angular version 1.4 or older, has been saved in the `pre-v1.5.0-snapshot` branch. The `v1.4.x` version of the tutorial should be pointed to that branch instead of `master`. Fixes angular#198 Fixes angular#214 Fixes angular#224 Fixes angular#230 Fixes angular#243 Fixes angular#246 Fixes angular#252 Fixes angular#277 Fixes angular#286 Fixes angular#295 Fixes angular#303 Fixes angular#304 Fixes angular#323 Fixes angular#324 Closes angular#268 Closes angular#270 Closes angular#278 Closes angular#280 Closes angular#289 Closes angular#309 Closes angular#311 Closes angular#319
gkalpak
added a commit
to gkalpak/angular-phonecat
that referenced
this issue
Apr 11, 2016
…s for the post-1.5.0 era This commit and the accompanying updates to the tutorial steps constitute a major re-structuring of the tutorial app's codebase, aiming at applying established best practices (in terms of file naming/layout and code organization) and utilizing several new features and enhancements (most notably components) introduced in recent versions of Angular (especially v1.5). Apart from the overall changes, two new chapters were introduced: one on components and one on code organization. -- In the process several other things were (incidentally) taken care of, including: * Dependencies were upgraded to latest versions. * Animations were polished. * Outdated links were updated. * The app's base URL was changed to `/` (instead of `/app/`). BTW, I have tested with the following versions on Node (on Windows 10) and everything seems to work fine: * 0.11.16 * 4.2.6 * 4.4.2 * 5.10.0 -- This was inspired by (and loosely based on) angular#289. Mad props to @teropa for leading the way :) -- The old version of the tutorial, that is compatible with Angular version 1.4 or older, has been saved in the `pre-v1.5.0-snapshot` branch. The `v1.4.x` version of the tutorial should be pointed to that branch instead of `master`. Fixes angular#198 Fixes angular#214 Fixes angular#224 Fixes angular#230 Fixes angular#243 Fixes angular#246 Fixes angular#252 Fixes angular#277 Fixes angular#286 Fixes angular#295 Fixes angular#303 Fixes angular#304 Fixes angular#323 Fixes angular#324 Closes angular#268 Closes angular#270 Closes angular#278 Closes angular#280 Closes angular#289 Closes angular#309 Closes angular#311 Closes angular#319
gkalpak
added a commit
to gkalpak/angular-phonecat
that referenced
this issue
Apr 12, 2016
…s for the post-1.5.0 era This commit and the accompanying updates to the tutorial steps constitute a major re-structuring of the tutorial app's codebase, aiming at applying established best practices (in terms of file naming/layout and code organization) and utilizing several new features and enhancements (most notably components) introduced in recent versions of Angular (especially v1.5). Apart from the overall changes, two new chapters were introduced: one on components and one on code organization. -- In the process, several other things were (incidentally) taken care of, including: * Dependencies were upgraded to latest versions. * Animations were polished. * Outdated links were updated. * The app's base URL was changed to `/` (instead of `/app/`). BTW, this has been tested with the following versions of Node (on Windows 10) and everything worked fine: * 0.11.16 * 4.2.6 * 4.4.2 * 5.10.0 -- This was inspired by (and loosely based on) angular#289. Mad props to @teropa for leading the way :) -- **Note:** The old version of the tutorial, that is compatible with Angular version 1.4 or older, has been saved on the `pre-v1.5.0-snapshot` branch. The `v1.4.x` version of the tutorial should be pointed to that branch instead of `master`. -- Related to angular/angular.js#14416. Related to angular/angular-seed#329. Related to angular/angular-seed#333. --- Fixes angular#198 Fixes angular#214 Fixes angular#224 Fixes angular#230 Fixes angular#243 Fixes angular#246 Fixes angular#252 Fixes angular#277 Fixes angular#286 Fixes angular#295 Fixes angular#303 Fixes angular#304 Fixes angular#323 Fixes angular#324 Closes angular#268 Closes angular#270 Closes angular#278 Closes angular#280 Closes angular#289 Closes angular#309 Closes angular#311 Closes angular#319
gkalpak
added a commit
that referenced
this issue
May 24, 2016
…s for the post-1.5.0 era This commit and the accompanying updates to the tutorial steps constitute a major re-structuring of the tutorial app's codebase, aiming at applying established best practices (in terms of file naming/layout and code organization) and utilizing several new features and enhancements (most notably components) introduced in recent versions of Angular (especially v1.5). Apart from the overall changes, two new chapters were introduced: one on components and one on code organization. -- In the process, several other things were (incidentally) taken care of, including: * Dependencies were upgraded to latest versions. * Animations were polished. * Outdated links were updated. * The app's base URL was changed to `/` (instead of `/app/`). BTW, this has been tested with the following versions of Node (on Windows 10) and everything worked fine: * 0.11.16 * 4.2.6 * 4.4.2 * 5.10.0 -- This was inspired by (and loosely based on) #289. Mad props to @teropa for leading the way :) -- **Note:** The old version of the tutorial, that is compatible with Angular version 1.4 or older, has been saved on the `pre-v1.5.0-snapshot` branch. The `v1.4.x` version of the tutorial should be pointed to that branch instead of `master`. -- Related to angular/angular.js#14416. Related to angular/angular-seed#329. Related to angular/angular-seed#333. --- Fixes #198 Fixes #214 Fixes #224 Fixes #230 Fixes #243 Fixes #246 Fixes #252 Fixes #277 Fixes #286 Fixes #295 Fixes #303 Fixes #304 Fixes #323 Fixes #324 Closes #268 Closes #270 Closes #278 Closes #280 Closes #289 Closes #309 Closes #311 Closes #319
gkalpak
added a commit
that referenced
this issue
May 24, 2016
…s for the post-1.5.0 era This commit and the accompanying updates to the tutorial steps constitute a major re-structuring of the tutorial app's codebase, aiming at applying established best practices (in terms of file naming/layout and code organization) and utilizing several new features and enhancements (most notably components) introduced in recent versions of Angular (especially v1.5). Apart from the overall changes, two new chapters were introduced: one on components and one on code organization. -- In the process, several other things were (incidentally) taken care of, including: * Dependencies were upgraded to latest versions. * Animations were polished. * Outdated links were updated. * The app's base URL was changed to `/` (instead of `/app/`). BTW, this has been tested with the following versions of Node (on Windows 10) and everything worked fine: * 0.11.16 * 4.2.6 * 4.4.2 * 5.10.0 -- This was inspired by (and loosely based on) #289. Mad props to @teropa for leading the way :) -- **Note:** The old version of the tutorial, that is compatible with Angular version 1.4 or older, has been saved on the `pre-v1.5.0-snapshot` branch. The `v1.4.x` version of the tutorial should be pointed to that branch instead of `master`. -- Related to angular/angular.js#14416. Related to angular/angular-seed#329. Related to angular/angular-seed#333. --- Fixes #198 Fixes #214 Fixes #224 Fixes #230 Fixes #243 Fixes #246 Fixes #252 Fixes #277 Fixes #286 Fixes #295 Fixes #303 Fixes #304 Fixes #323 Fixes #324 Closes #268 Closes #270 Closes #278 Closes #280 Closes #289 Closes #309 Closes #311 Closes #319
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Starting up http-server, serving ./ on port: 8000
Hit CTRL-C to stop the server
[Sun, 10 Apr 2016 15:29:51 GMT] "GET /app/index.html" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Geck
o) Chrome/49.0.2623.110 Safari/537.36"
_http_outgoing.js:351
throw new TypeError('The header content contains invalid characters');
^
TypeError: The header content contains invalid characters
at ServerResponse.OutgoingMessage.setHeader (_http_outgoing.js:351:13)
at ResponseStream.(anonymous function) [as setHeader](D:!ProjectsAngularangular-phonecatnode_moduleshttp-serve
rnode_modulesunionlibresponse-stream.js:86:34)
at serve (D:!Projects\Angular\angular-phonecat\node_modules\http-server\node_modules\ecstatic\lib\ecstatic.js:146:1
1)
at D:!Projects\Angular\angular-phonecat\node_modules\http-server\node_modules\ecstatic\lib\ecstatic.js:139:9
at FSReqWrap.oncomplete (fs.js:82:15)
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "sta
rt"
npm ERR! node v4.4.2
npm ERR! npm v2.15.0
npm ERR! code ELIFECYCLE
npm ERR! angular-phonecat@0.0.0 start:
http-server -a 0.0.0.0 -p 8000
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the angular-phonecat@0.0.0 start script 'http-server -a 0.0.0.0 -p 8000'.
npm ERR! This is most likely a problem with the angular-phonecat package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! http-server -a 0.0.0.0 -p 8000
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs angular-phonecat
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls angular-phonecat
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! D:!Projects\Angular\angular-phonecat\npm-debug.log
PS D:!Projects\Angular\angular-phonecat>
FILE npm-debug:
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 npm@2.15.0
3 info using node@v4.4.2
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info prestart angular-phonecat@0.0.0
6 verbose unsafe-perm in lifecycle true
7 info start angular-phonecat@0.0.0
8 verbose unsafe-perm in lifecycle true
9 info angular-phonecat@0.0.0 Failed to exec start script
10 verbose stack Error: angular-phonecat@0.0.0 start:
http-server -a 0.0.0.0 -p 8000
10 verbose stack Exit status 1
10 verbose stack at EventEmitter. (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:217:16)
10 verbose stack at emitTwo (events.js:87:13)
10 verbose stack at EventEmitter.emit (events.js:172:7)
10 verbose stack at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:24:14)
10 verbose stack at emitTwo (events.js:87:13)
10 verbose stack at ChildProcess.emit (events.js:172:7)
10 verbose stack at maybeClose (internal/child_process.js:827:16)
10 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
11 verbose pkgid angular-phonecat@0.0.0
12 verbose cwd D:!Projects\Angular\angular-phonecat
13 error Windows_NT 6.1.7601
14 error argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "start"
15 error node v4.4.2
16 error npm v2.15.0
17 error code ELIFECYCLE
18 error angular-phonecat@0.0.0 start:
http-server -a 0.0.0.0 -p 8000
18 error Exit status 1
19 error Failed at the angular-phonecat@0.0.0 start script 'http-server -a 0.0.0.0 -p 8000'.
19 error This is most likely a problem with the angular-phonecat package,
19 error not with npm itself.
19 error Tell the author that this fails on your system:
19 error http-server -a 0.0.0.0 -p 8000
19 error You can get information on how to open an issue for this project with:
19 error npm bugs angular-phonecat
19 error Or if that isn't available, you can get their info via:
19 error
19 error npm owner ls angular-phonecat
19 error There is likely additional logging output above.
20 verbose exit [ 1, true ]
The text was updated successfully, but these errors were encountered: