Code-settings-sync: Error: native promise missing on Download Settings

Created on 27 Aug 2018  路  5Comments  路  Source: shanalikhan/code-settings-sync

馃悰 Describe the bug
There is an error during "Download Settings" which is shown via notification message:

notificationsAlerts.ts:41 Sync : Error Logged In Console

Meta:

馃尨 Visual Studio Code Version : 1.26.1
馃尨 Code Settings Sync Version : 3.1.0
馃尨 Operating System : Windows 7 x64
馃尨 Occurs On: Download
馃尨 Proxy Enabled: No
馃尨 Gist Id: [ ID_HERE ]

馃摪 To Reproduce
Steps to reproduce the behavior:

  1. Update the extension to the newest version (3.1.0)
  2. Command Palette: "Sync: Download Settings"
  3. See the error

馃挭 Expected behavior

Without an error?

馃摵 Console Error Log

[Extension Host] Error: native promise missing, set fetch.Promise to your favorite alternative
    at fetch (%USERPROFILE%\.vscode\extensions\shan.code-settings-sync-3.1.0\node_modules\node-fetch\lib\index.js:1313:9)
    at request (%USERPROFILE%\.vscode\extensions\shan.code-settings-sync-3.1.0\node_modules\@octokit\rest\lib\request\request.js:42:10)
    at restRequest (%USERPROFILE%\.vscode\extensions\shan.code-settings-sync-3.1.0\node_modules\@octokit\rest\lib\request\index.js:8:10)
    at %USERPROFILE%\.vscode\extensions\shan.code-settings-sync-3.1.0\node_modules\before-after-hook\lib\register.js:38:12
    at <anonymous>

馃摵 Additional context

Upd: The same for Upload.

Most helpful comment

I am getting this error on 3.1.2, can we reopen this? I reset everything, reinstalled VSCODE, etc.

vscode insiders v. 1.29.0

All 5 comments

I have updated the extension,
Can you:
Reset extension Settings
uninstall the extension and reload code
install extension and try again.

I am not sure about all of these steps, but the new version (3.1.1) works without errors now.
So I guess that I don't have to reset its settings.

I am getting this error on 3.1.2, can we reopen this? I reset everything, reinstalled VSCODE, etc.

vscode insiders v. 1.29.0

Same error. Ver - 3.1.2 Clean installation and new clean Windows

Same, insiders 1.29.0

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dagrooms52 picture dagrooms52  路  3Comments

darkvertex picture darkvertex  路  4Comments

dawsbot picture dawsbot  路  5Comments

hfcheng66 picture hfcheng66  路  5Comments

larrym picture larrym  路  4Comments