javascript - Can't start Node js server in the example application of Angular -
I downloaded the Koner Phonecat example phoject, moved to this directory and tried the 'NPM Start' command. Results:
0 information it works, then it is OK 1 verbose CLI [ 'node', finish with 1 verbose CLI '/usr/local/Cellar/nvm/0.17.2 /v0.10.32/ bin / NPM ', 1 verbose Klee' Start '] 2 info npm@2.1.4 using 3 total node@v0.10.32 4 verbose run-script [ "Prestent' Start ',' Poststart '] -phonecat@0.0.0 6 verbose lifecycle true 7 prestart unsafe-perm exec information script 8 verbose stack error failed angular-phonecat@0.0.0: angular-phonecat@0.0.0 prestart: `NPM install` 8 verbose Exit Stack Status 3 8 Verbose Stack on Child Process. & Lt; Anonymous & gt; (/usr/local/Cellar/nvm/0.17.2/v0.10.32/lib/node_modules/npm/lib/utils/lifecycle.js:212:16) 8 verbose stack ChildProcess.emit (events.js: 98: 17) 8 maybeClose (child_process.js verbose ads: 756: 16) 8 verbose stack Process.ChildProcess._handle.onexit (child_process.js: 823: 5) 9 verbose pkgid angular-phonecat@0.0.0 10 verbose CWD / user / my / JS: HTML: CSS / Anjiller-Fonkat 11 error Darwin L3k4k0 12 error Aarjiar "node" / usr / local / cell / Anwaim -1.17.2 / V 12:10:32 / BN / NPP "," beginning " 13 error node v0.10.32 14 error npm v2.1.4 15 error code ELIFECYCLE 16 error angular-phon Ecat@0.0.0 prestart: `npm installed` 16 error exit status 3 17 error angular-phonecat@0.0.0 prestart script failed. 17 error This is most likely the problem in the cooner-phonecate package, error 17, NPM Also, do not say 17. Do not tell the author that it is unsuccessful on your system: 17 error NPM installed 17 error You can get your information through: 17 error npm master ls angular-phonecat 17 error There is additional logging up there Tput likely. Exit Verbose 18 [1, true]
I do not understand why, but I can not execute the server. How can I fix it? Thanks in advance.
It seems that the node version is installed with node@v0.10.32
"scripts": {"start": "coffee server.coffee"}}
Will do this. If NPM can not get your start script, then it will not work
to begin using the node
node < Name of your node server & gt; Try to install it again using Js
and angular-phonecat
using the command npm
command and try .
Comments
Post a Comment