@brianpurkiss wrote:
The weirdest part of this error is that I currently have two projects, one works, and the other doesn't.
The one that works was one of ionic's pre-built example apps, the sidemenu one I believe. The project that doesn't work is one I purchased off of CodeCanyon to learn from.
For the project that doesn't work, I can run an ionic build and an ionic emulate, just not the ionic serve.
Here's the error: Error occured [Error: There was an error loading your ionic.project file: Unexpected token }] TypeError: Utils.fail is not a function at Object.IonicTask.run (/usr/local/lib/node_modules/ionic/lib/ionic/serve.js:38:18) at Object.run (/usr/local/lib/node_modules/ionic/lib/cli.js:96:32) at Object.<anonymous> (/usr/local/lib/node_modules/ionic/bin/ionic:9:10) at Module._compile (module.js:435:26) at Object.Module._extensions..js (module.js:442:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:311:12) at Function.Module.runMain (module.js:467:10) at startup (node.js:134:18) at node.js:961:3 Utils.fail is not a function (CLI v1.7.1)I've checked bower.json, config.xml, gulpfile.js, ionic.project, and package.json for unclosed {}, but there aren't any.
Anyone have any ideas?
Your system information: Cordova CLI: 5.3.3 Gulp version: CLI version 3.9.0 Gulp local: Local version 3.9.0 Ionic Version: 1.0.0 Ionic CLI Version: 1.7.1 Ionic App Lib Version: 0.5.1-beta.0 ios-deploy version: 1.8.2 ios-sim version: 5.0.2 OS: Mac OS X El Capitan Node Version: v4.2.1 Xcode version: Xcode 7.0.1 Build version 7A1001
Posts: 4
Participants: 2