ionic-cli icon indicating copy to clipboard operation
ionic-cli copied to clipboard

Caught exception: undefined / ERR! npm v3.10.9

Open brandon0keefe opened this issue 10 years ago • 1 comments

I updated npm and node and now my project won't build.. I think theres a problem with my file path where node is located.

Running 'serve:before' npm script before serve

ionic-hello-world@ watch /Users/admin/Desktop/fireblogger ionic-app-scripts watch sh: ionic-app-scripts: command not found

npm ERR! Darwin 15.6.0

npm ERR! argv "/usr/local/bin/node" "/Users/admin/.npm-packages/bin/npm" "run" "watch" npm ERR! node v6.9.1 npm ERR! npm v3.10.9

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.

npm ERR! Please include the following file with any support request: npm ERR! /Users/admin/Desktop/fireblogger/npm-debug.log

Caught exception: undefined

Mind letting us know? https://github.com/driftyco/ionic-cli/issues

Thanks for any help in advance!

brandon0keefe avatar Nov 12 '16 03:11 brandon0keefe

Thanks for the issue! This issue appears to be associated with an old version of the Ionic CLI. Please update to the latest CLI version, which supports all versions of the Ionic Framework. If the issue is relevant and if it persists after updating to the latest CLI version, please create a new issue.

Thank you for using Ionic!

ionitron-bot[bot] avatar Jul 12 '18 19:07 ionitron-bot[bot]