-
Notifications
You must be signed in to change notification settings - Fork 651
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh! There's a syntax error in your ionic.config.json file: SyntaxError: Unexpected token } in JSON at position 82 #1952
Comments
It is very likely that you have left a trailing comma on the line above proxies. This makes the JSON invalid. |
more info? I have the same problem: @angular/cli: 1.0.2 Heres my ionic.config.json info { |
Hello, Error: ionic info: ionic.config.json |
@zackxz This issue is old and we're not supporting CLI v2 anymore. If the problem persists when you upgrade your CLI, make a new issue. |
From @ferminako on March 3, 2017 7:43
Ionic version: (check one with "x")
[ ] 1.x
[ x] 2.x
I'm submitting a ... (check one with "x")
[x ] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
As soon as you include in your ionic.config.json a proxie list like:
"proxies": [
{
"path": "/v1",
"proxyUrl": "https://api.instagram.com/v1"
}
]
Run ionic serve, and then you remove this proxies variable, each time you try tu run ionic serve you get this error:
Uh oh! There's a syntax error in your ionic.config.json file: SyntaxError: Unexpected token } in JSON at position (line)
Ionic info: (run
ionic info
from a terminal/cmd prompt and paste output below):Your system information:
Cordova CLI: 6.5.0
Ionic Framework Version: 2.1.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.1.3
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Linux 3.19
Node Version: v6.10.0
Xcode version: Not installed
Copied from original issue: ionic-team/ionic-framework#10631
The text was updated successfully, but these errors were encountered: