code-settings-sync icon indicating copy to clipboard operation
code-settings-sync copied to clipboard

Error: native promise missing on Download Settings

Open pravic opened this issue 8 years ago • 5 comments

🐛 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.

pravic avatar Aug 27 '18 05:08 pravic

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

shanalikhan avatar Aug 30 '18 09:08 shanalikhan

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.

pravic avatar Aug 30 '18 13:08 pravic

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

chrisokuda avatar Oct 08 '18 18:10 chrisokuda

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

timbioz avatar Oct 08 '18 18:10 timbioz

Same, insiders 1.29.0

n3r0bi0m4n avatar Oct 09 '18 07:10 n3r0bi0m4n