Ionic error: Unable to initialize app


#1

Hi there

I am trying to get my ionic app running, however I keep on getting this error:

undefined:0

^
SyntaxError: Unexpected end of input
    at Object.parse (native)
    at Object.module.exports.load (/usr/local/lib/node_modules/ionic/lib/ionic/config.js:12:24)
    at Object.<anonymous> (/usr/local/lib/node_modules/ionic/lib/ionic/stats.js:517:31)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/usr/local/lib/node_modules/ionic/lib/ionic/setup.js:2:18)

I have uninstalled and reinstalled Ionic, but this hasn’t seemed to help. Is there anyone who has experienced this error who would be able to please help me?

Thanks in advance