You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
diff --git a/src/zls.ts b/src/zls.ts
index b6fe42d..5a77334 100644
--- a/src/zls.ts+++ b/src/zls.ts@@ -216,7 +216,7 @@ async function installVersion(context: ExtensionContext, version: SemVer) {
})).data;
} catch (err) {
// Missing prebuilt binary is reported as AccessDenied
- if (err.response.status == 403) {+ if (err.response != undefined && err.response.status == 403) {
window.showErrorMessage(`A prebuilt ZLS ${version} binary is not available for your system. You can build it yourself with https://github.com/zigtools/zls#from-source`);
return;
}
Can someone please tell me how to install ZLS manually? Doing it through this extension always fails.
It downloads the ZIG tarball and installs it. Then it downloads the ZLS tarball and upon installing it:-
macOS Sonoma
System installed Python 3.11.6
Version: 1.86.0-insider
Commit: 271fb7fbd599b49a1482ea7284a50b3229317f96
Date: 2024-01-19T05:46:59.001Z
Electron: 27.2.1
ElectronBuildId: 26149897
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: 11.8.172.18-electron.0
OS: Darwin arm64 23.3.0
The text was updated successfully, but these errors were encountered: