Hello, hoping that someone can help. I am running under windows 10 with nodejs version 6.11.0, cordova version 7.0.1.
I was originally running fine, but recently started to get the following error after any ionic command: ionic start myApp tabs
SyntaxError: Unexpected token c in JSON at position 2.
So i…:
- uninstalled ionic & cordova, (npm uninstall -g ionic, npm uninstall -g cordova)
2 ran npm cache clear then uninstalled nodejs. - deleted all directories under \users<user>AppData\Roaming\npm & \users<user>AppData\Roaming\npm-cache.
- rebooted my machine
- reinstalled nodejs, and ran npm install -g cordova ionic.
Then tried to run the command again and got same results:
command: ionic start myApp tabs
SyntaxError: Unexpected token c in JSON at position 2.
I have been working on this issue for days and could really use some help.
Thanks