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

'ionic emulate ios' fails

Open brandon0keefe opened this issue 10 years ago • 1 comments

Below is the error from the terminal. Thanks in advance for any help.

[15:02:29] ngc: Compilation failed

[15:02:29] ngc failed: NGC encountered an error [15:02:29] Error: NGC encountered an error at ChildProcess. (/Users/admin/Desktop/fireblogger/node_modules/@ionic/app-scripts/dist/ngc.js:62:24) at emitTwo (events.js:106:13) at ChildProcess.emit (events.js:191:7) at maybeClose (internal/child_process.js:877:16) at Socket. (internal/child_process.js:334:11) at emitOne (events.js:96:13) at Socket.emit (events.js:188:7) at Pipe._handle.close [as _onclose] (net.js:493:12) Error running ionic app script "build": Error: NGC encountered an error

npm ERR! Darwin 15.6.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build" npm ERR! node v6.7.0 npm ERR! npm v3.10.3 npm ERR! code ELIFECYCLE npm ERR! ionic-hello-world@ build: ionic-app-scripts build npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the ionic-hello-world@ build script 'ionic-app-scripts build'. 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 build 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

brandon0keefe avatar Nov 11 '16 20: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]