Settings sync: cannot read property 'token' of undefined
See original GitHub issuecode-server
version: v1.32.0-245- OS Version: Ubuntu 16.04
- Extension: settings sync
Description
After I installed settings sync, I tried to set it up like normal with my GitHub token using the “Sync: Update / Upload Settings” command (shift-alt-u). I get
Sync : Error Logged In Console (Help menu > Toggle Developer Tools).
Looking at the console shows
[Extension Host] TypeError: Cannot read property 'token' of undefined at d.<anonymous> (/cluster/nhunt/.local/share/code-server/extensions/shan.code-settings-sync-3.2.7/out/extension.js:7:47337) at Generator.next (<anonymous>) at s (/cluster/nhunt/.local/share/code-server/extensions/shan.code-settings-sync-3.2.7/out/extension.js:7:43848) at <anonymous> (at Function.LogException (/cluster/nhunt/.local/share/code-server/extensions/shan.code-settings-sync-3.2.7/out/extension.js:7:44292))
It seemed like some others have gotten settings sync to work - was there any different setup for code-server than for normal VS Code?
Steps to Reproduce
- Install the settings sync extension
- Run the update / upload settings command.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Error: Cannot read property 'token' of undefined #685 - GitHub
I have tried to reinstall or set a git but not work. image. Visual Studio Code Version : Code Settings Sync Version :...
Read more >TypeError: Cannot read property 'token' of undefined
I am facing this error : TypeError: Cannot read property 'token' of undefined - Here's a link! to my github page.
Read more >Node.js Express: JWT example | Token Based Authentication ...
TypeError : Cannot read property 'sync' of undefined at Object. (D:\Personal\NodeJS\node-js-jwt-auth\server.js:23:14) at Module.
Read more >Cannot read property 'timeStarted' of undefined - Bugs - Drone
Hello, I tried to connect Drone:2.0.1 to GITEA and everything worked fine. I then connected the same instance to GITHUB (changed git ...
Read more >Solve a synchronization error - Ledger Support
During a synchronization error, Ledger Live cannot be used to manage ... Go to Settings in Ledger Live by clicking on the gear...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Perhaps it should also be using the
~/.local/share/code-server/User
folder instead?@neighthan The same functionality can be provided by Coder’s sshcode CLI: https://github.com/cdr/sshcode, therefore i’m closing this.
Thanks!