Can't run any Ionic application after upgrading Mac to 10.12


#1

Whenever I Launch an Ionic app with “ionic serve” I get this error bellow

npm ERR! Darwin 16.0.0

npm ERR! argv “/usr/local/Cellar/node/6.7.0/bin/node” “/usr/local/bin/npm” “run” “watch”

npm ERR! node v6.7.0

npm ERR! npm v3.10.7 npm ERR! file sh

npm ERR! code ELIFECYCLE

npm ERR! errno ENOENT

npm ERR! syscall spawn

npm ERR! ionic-hello-world@ watch: ionic-app-scripts watch

npm ERR! spawn ENOENT

npm ERR!

npm ERR! Failed at the ionic-hello-world@ watch script ‘ionic-app-scripts watch’.

npm ERR!

Make sure you have the latest version of node.js and npm installed.

npm ERR! If you do, this is most likely a problem with the ionic-hello- world package,

npm ERR! not with npm itself.

npm ERR! Tell the author that this fails on your system:

npm ERR! ionic-app-scripts watch

npm ERR! You can get information on how to open an issue for this project with:

npm ERR! npm bugs ionic-hello-world

npm ERR! Or if that isn’t available, you can get their info via:

npm ERR! npm owner ls ionic-hello-world

npm ERR! There is likely additional logging output above.

I’ve deleted the node_modules and done ‘npm install’. I’ve updated Node npm and Ionic and uninstall and reinstalled them.

I can’t seem to find the answer anywhere, I believe it might me because of the Sierra upgrade but I’m not sure, the solution for this error is typically uninstall and reinstall ionic… if you require anymore information don’t hesitate to ask me.

Thanks a lot in advance.


#2

Is the app you are trying to run Ionic beta11 or RC0 app?

Can you share your node and npm version?

Please run below commans and share the info

node -v
npm -v

Also you can try creating a new app ( command : ionic start --v2 newApp ) and see if you can run this using ionic serve.


#3

J@Javiers-MacBook-Air  ~/Desktop/ITESM_ISC/Semestre7/LDAW : AMSS/Progra  node -v
v6.7.0

J@Javiers-MacBook-Air  ~/Desktop/ITESM_ISC/Semestre7/LDAW : AMSS/Progra  npm -v
3.10.7

Sorry, the forum doesn’t let me answer any quicker. I’ve made a lot o projects but every single one has the same mistake.

I started another forum question because this wasn’t well written: