Error while ionic serve


#1

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 ‘run’,
1 verbose cli ‘ionic:serve’,
1 verbose cli ‘–’ ]
2 info using npm@3.10.8
3 info using node@v6.9.1
4 verbose run-script [ ‘preionic:serve’, ‘ionic:serve’, ‘postionic:serve’ ]
5 info lifecycle ionic-hello-world@~preionic:serve: ionic-hello-world@
6 silly lifecycle ionic-hello-world@~preionic:serve: no script for preionic:serve, continuing
7 info lifecycle ionic-hello-world@~ionic:serve: ionic-hello-world@
8 verbose lifecycle ionic-hello-world@~ionic:serve: unsafe-perm in lifecycle true
9 verbose lifecycle ionic-hello-world@~ionic:serve: PATH: C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin;C:\ionic2\myTabs\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 (x86)\Heroku\bin;C:\Program Files (x86)\git\cmd;C:\Program Files\TortoiseSVN\bin;C:\Program Files\nodejs;C:\wamp\bin\php\php5.5.12;C:\ProgramData\ComposerSetup\bin;C:\Program Files (x86)\Fuse;C:\Program Files (x86)\Skype\Phone;C:\Program Files\Java\jdk1.8.0_20\bin;C:\apache-ant-1.9.6\bin;C:\Program Files\Java\jre1.8.0_51\bin;C:\Program Files\Java\jre1.8.0_51\lib;C:\android-sdk\adt-bundle-windows-x86_64-20140702\sdk\tools;C:\android-sdk\adt-bundle-windows-x86_64-20140702\sdk\platform-tools;C:\mongodb\bin;C:\Program Files (x86)\Microsoft VS Code\bin;C:\Users\EnDev2\AppData\Roaming\npm
10 verbose lifecycle ionic-hello-world@~ionic:serve: CWD: C:\ionic2\myTabs
11 silly lifecycle ionic-hello-world@~ionic:serve: Args: [ ‘/d /s /c’, ‘ionic-app-scripts serve’ ]
12 silly lifecycle ionic-hello-world@~ionic:serve: Returned: code: 1 signal: null
13 info lifecycle ionic-hello-world@~ionic:serve: Failed to exec ionic:serve script
14 verbose stack Error: ionic-hello-world@ ionic:serve: ionic-app-scripts serve
14 verbose stack Exit status 1
14 verbose stack at EventEmitter. (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:255: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:\Program Files\nodejs\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 ionic-hello-world@
16 verbose cwd C:\ionic2\myTabs
17 error Windows_NT 6.1.7601
18 error argv “C:\Program Files\nodejs\node.exe” “C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js” “run” “ionic:serve” "–"
19 error node v6.9.1
20 error npm v3.10.8
21 error code ELIFECYCLE
22 error ionic-hello-world@ ionic:serve: ionic-app-scripts serve
22 error Exit status 1
23 error Failed at the ionic-hello-world@ ionic:serve script ‘ionic-app-scripts serve’.
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 ionic-hello-world package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error ionic-app-scripts serve
23 error You can get information on how to open an issue for this project with:
23 error npm bugs ionic-hello-world
23 error Or if that isn’t available, you can get their info via:
23 error npm owner ls ionic-hello-world
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]