-
Notifications
You must be signed in to change notification settings - Fork 3
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
Unexpected token ) #28
Comments
Have try with version 2.5.1 to get the log. Logfile said: Import when i try export? settings.ts |
Installed this plugin today and I'm getting the same error. Extensions.json exports but nothing else will and I get "Running the contributed command:'codeSync.exportSettings' failed." when trying '> CodeSync: Export All" Running the Import task generators file not found error. Even tried pre-populating the files, changing a setting and then running an export and nothing happens. Code Output Log (Extension Host) |
So after redoing my settings.kson file for another reason CodeSync seems to be working now. VSC didn't pick up that I had a ',' on the last line setting when it shouldn't be there and CodeSync was failing because of it |
I am also facing the same problem. Can anyone find the fix? |
As @opticon454 said, CodeSync fails when there's a trailing comma in the User Settings json file. That is, the last line in the settings file has a comma at the end. Remove this and then the extension works without error (that's what happened in my case anyway). |
Same applies to keybindings.json |
VSCode version:
1.18.1
CodeSync version:
2.5.0
CodeSync log:
no logfile
Issue:
Export Extensions works
Export Settings and All got Error:
Unexpected token )
Running the contributed command:'codeSync.exportSettings' failed.
After reinstall:
command 'codeSync.setSyncPath' not found
command 'codeSync.exportSettings' not found
command 'codeSync.exportExtensions' not found
The text was updated successfully, but these errors were encountered: