RA: Failed to download: fetch$1 is not a function

After upgrading to latest nightly (v0.3.409-nightly) my Vscode failed to download the language server binary and shows Failed to download: fetch$1 is not a function error popup.

Screenshot from 2020-12-08 09-42-02_cropped

I've tried the "Update Github Auth Token" and use my personal account token but the error persist.

RA client log:

DEBUG [12/8/2020, 9:41:49 AM]: Issuing request for released artifacts metadata to https://api.github.com/repos/rust-analyzer/rust-analyzer/releases/tags/nightly
ERROR [12/8/2020, 9:45:42 AM]: [TypeError: fetch$1 is not a function
	at Object.fetchRelease (/home/asd/.vscode/extensions/matklad.rust-analyzer-0.3.409-nightly/out/src/main.js:17893:28)
	at /home/asd/.vscode/extensions/matklad.rust-analyzer-0.3.409-nightly/out/src/main.js:18130:26
	at downloadWithRetryDialog (/home/asd/.vscode/extensions/matklad.rust-analyzer-0.3.409-nightly/out/src/main.js:18277:26)
	at bootstrapExtension (/home/asd/.vscode/extensions/matklad.rust-analyzer-0.3.409-nightly/out/src/main.js:18129:27)
	at bootstrap (/home/asd/.vscode/extensions/matklad.rust-analyzer-0.3.409-nightly/out/src/main.js:18105:11)
	at async tryActivate (/home/asd/.vscode/extensions/matklad.rust-analyzer-0.3.409-nightly/out/src/main.js:18028:24)
	at async activate (/home/asd/.vscode/extensions/matklad.rust-analyzer-0.3.409-nightly/out/src/main.js:18002:5)
	at async Promise.all (index 0)]

You can report bugs on Rust Analyzer's issue tracker.

Submitted. https://github.com/rust-analyzer/rust-analyzer/issues/6757

2 Likes