node.js - Nodejs server not running -


when try start server through command prompt here error get:

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.11.2 npm err! npm  v3.10.10 npm err! code elifecycle npm err! web@0.0.0 start: `babel-node tools/run start` npm err! exit status 1 npm err! npm err! failed @ web@0.0.0 start script 'babel-node tools/r un start'. npm err! make sure have latest version of node.js , npm  installed. npm err! if do, problem web pa ckage, npm err! not npm itself. npm err! tell author fails on system: npm err!     babel-node tools/run start npm err! can information on how open issue project with: npm err!     npm bugs web npm err! or if isn't available, can info via: npm err!     npm owner ls web npm err! there additional logging output above.  npm err! please include following file support request: npm err!     c:\users\rohan-pc\desktop\main\npm-debug.log 

the debug log above is:

files\nodejs\node_modules\npm\bin\node-gyp-bin;c:\users\rohan-pc\desktop\main\node_modules\.bin;c:\program files (x86)\google\chrome\application;c:\windows\system32;c:\windows;c:\windows\system32\wbem;c:\windows\system32\windowspowershell\v1.0\;c:\program files (x86)\nvidia corporation\physx\common;c:\program files\nodejs\;c:\program files (x86)\yarn\bin;c:\program files\git\cmd;c:\users\rohan-pc\appdata\local\microsoft\windowsapps;c:\users\rohan-pc\appdata\roaming\npm;c:\users\rohan-pc\appdata\local\yarn\bin 10 verbose lifecycle web@0.0.0~start: cwd: c:\users\rohan-pc\desktop\main 11 silly lifecycle web@0.0.0~start: args: [ '/d /s /c', 'babel-node tools/run start' ] 12 silly lifecycle web@0.0.0~start: returned: code: 1  signal: null 13 info lifecycle web@0.0.0~start: failed exec start script 14 verbose stack error: web@0.0.0 start: `babel-node tools/run start` 14 verbose stack exit status 1 14 verbose stack     @ eventemitter.<anonymous> (c:\program files\nodejs\node_modules\npm\lib\utils\lifecycle.js:255:16) 14 verbose stack     @ emittwo (events.js:106:13) 14 verbose stack     @ eventemitter.emit (events.js:191:7) 14 verbose stack     @ childprocess.<anonymous> (c:\program files\nodejs\node_modules\npm\lib\utils\spawn.js:40:14) 14 verbose stack     @ emittwo (events.js:106:13) 14 verbose stack     @ childprocess.emit (events.js:191:7) 14 verbose stack     @ maybeclose (internal/child_process.js:891:16) 14 verbose stack     @ process.childprocess._handle.onexit (internal/child_process.js:226:5) 15 verbose pkgid web@0.0.0 16 verbose cwd c:\users\rohan-pc\desktop\main 17 error windows_nt 10.0.14393 18 error argv "c:\\program files\\nodejs\\node.exe" "c:\\program files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "start" 19 error node v6.11.2 20 error npm  v3.10.10 21 error code elifecycle 22 error web@0.0.0 start: `babel-node tools/run start` 22 error exit status 1 23 error failed @ web@0.0.0 start script 'babel-node tools/run start'. 23 error make sure have latest version of node.js , npm installed. 23 error if do, problem web package, 23 error not npm itself. 23 error tell author fails on system: 23 error     babel-node tools/run start 23 error can information on how open issue project with: 23 error     npm bugs web 23 error or if isn't available, can info via: 23 error     npm owner ls web 23 error there additional logging output above. 24 verbose exit [ 1, true ] 

the server working fine earlier in day.i not able understand exact problem in debug log. appreciated.

by reading error, looks don't have babel node tools installed. googled it, looks can command prompt: npm install -g babel-cli.

edit clarity

it looked these lines happened several times:

10 verbose lifecycle web@0.0.0~start: cwd: c:\users\rohan-pc\desktop\main   11 silly lifecycle web@0.0.0~start: args: [ '/d /s /c', 'babel-node tools/run start' ]   12 silly lifecycle web@0.0.0~start: returned: code: 1  signal: null   

to me looked npm trying load babel-node tools, finding null when looked it.

source


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -