馃悰 Error: Cannot read property 'token' of undefined
tips occurred when I use advanced options menu or upload menu. I have tried to reinstall or set a git but not work.


馃尨 Visual Studio Code Version :
馃尨 Code Settings Sync Version : [3.2.0]
馃尨 Standard or Insiders : [standard]
馃尨 OSS or Portable : [ _here_ ]
馃尨 Operating System : [windows 10 1803 ]
馃尨 Occurs On: [Upload / Help Configuring ]
馃尨 Proxy Enabled: [ No ]
馃尨 Gist Id: [ none ]
馃摵 Console Error Log

Try reset the Settings Sync settings
Try
reset the Settings Sync settings
I deleted all the Sync settings in user settings , it does not work too.
thank you
by the way , vscode is in portable mode
馃悰 Error: Cannot read property 'token' of undefined
tips occurred when I use advanced options menu or upload menu. I have tried to reinstall or set a git but not work.
馃尨 Visual Studio Code Version :
馃尨 Code Settings Sync Version : [3.2.0]
馃尨 Standard or Insiders : [standard]
馃尨 OSS or Portable : [ _here_ ]
馃尨 Operating System : [windows 10 1803 ]
馃尨 Occurs On: [Upload / Help Configuring ]
馃尨 Proxy Enabled: [ No ]
馃尨 Gist Id: [ none ]馃摵 Console Error Log
浣犵殑鏄畨瑁呯増杩樻槸渚挎惡鐗堬紵
@waiaan I also use portable mode.
what is the path for
what is the path for
- Code executable
- User directory
- Extensions directory
1.D:VSCode
2.D:VSCodedatauser-data
3.D:VSCodedataextensions
like this.
what is the path for
- Code executable
- User directory
- Extensions directory
Dear shanalikhan,
There is a bug about this issue.
``diff
diff --git a/src/environmentPath.ts b/src/environmentPath.ts
index 2230aab..b373ebd 100644
--- a/src/environmentPath.ts
+++ b/src/environmentPath.ts
@@ -79,7 +79,7 @@ export class Environment {
};
process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
- this.PATH = process.env.APPDATA;
+ this.PATH = this.isPortable ? process.env.VSCODE_PORTABLE : process.env.APPDATA;
this.OsType = OsType.Windows;
if (!this.PATH && !this.isPortable) {
````
I resolve it after rebuild.
@CyrilTaylor Thanks, i have pushed the changes you have asked, window os is not handled properly.
Will release new version soon.
You can look into the commit here
https://github.com/shanalikhan/code-settings-sync/commit/7f1aacec381a2a57415e0b00fef5067a272155c3#diff-09ef59e49c66636eacf529be73517d36R108
v3.2.1 released.
Please verify.
Most helpful comment
by the way , vscode is in portable mode