I downloaded the Ionic and opened a project with version 2 (sidemenu project). When I write “ionic serve” command, the project works well without any error but when I want to close the node.js command line, I encountered the error in it that you can find below. For the solution, If I should update my npm and node.js how could I do those on Windows machine ? I am afraid of doing wrong things and losing the current working ionic mechanism and that is the reason why I ask this question. Also, it says that this problem is related with ionic-hello-world package. Thank you for your consideration.
ERROR:
8 error argv “C:\Program Files\nodejs\node.exe” “C:\Users\ASUS\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js” “run” “ionic:serve” “–” “–v2” “–address” “0.0.0.0” “–port” “8100” “–livereload-port” "35729"
19 error node v6.9.1
20 error npm v4.0.5
21 error code ELIFECYCLE
22 error ionic-hello-world@ ionic:serve: ionic-app-scripts serve "--v2" "--address" "0.0.0.0" "--port" "8100" "--livereload-port" "35729"
22 error Exit status 3221225786
23 error Failed at the ionic-hello-world@ ionic:serve script ‘ionic-app-scripts serve “–v2” “–address” “0.0.0.0” “–port” “8100” “–livereload-port” “35729”’.
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 “–v2” “–address” “0.0.0.0” “–port” “8100” “–livereload-port” "35729"
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 ]