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
Failed to be activated
Here is the error log in extension log:
2024-06-06 18:55:07.751 [error] Activating extension onflow.cadence failed due to an error:
2024-06-06 18:55:07.751 [error] TypeError: Cannot set property crypto of #<Object> which has only a getter
at Object.<anonymous> (/Users/bibi/.vscode/extensions/onflow.cadence-2.3.3/out/extension/src/main.js:88:22729)
at o._compile (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js:4:1271)
at Module._extensions..js (node:internal/modules/cjs/loader:1311:10)
at Module.load (node:internal/modules/cjs/loader:1098:32)
at Module._load (node:internal/modules/cjs/loader:945:12)
at c._load (node:electron/js2c/node_init:2:13672)
at E._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:176:5901)
at n._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:173:30787)
at t._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:138:33074)
at Module.require (node:internal/modules/cjs/loader:1122:19)
at require (node:internal/modules/helpers:130:18)
at Function.i [as __$__nodeRequire] (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js:5:98)
at u.xb (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:173:31966)
at async Promise.all (index 0)
I have rolled back multiple versions, but none of them works.
I suspect it is related to the recent changes in VSCode.
It's used by the WASM language server unfortuntately (would be nice if we could pass it in instead of having to polyfill globally, but sadly this is what it uses). Will take a look.
Instructions
Problem
Failed to be activated
Here is the error log in extension log:
I have rolled back multiple versions, but none of them works.
I suspect it is related to the recent changes in VSCode.
Steps to Reproduce
Open VSCode.
Acceptance Criteria
Let it work.
Context
MacOS: Sonoma 14.5
flow-cli: v1.19.1
VSCode: 1.90.0 (Universal) commit: 89de5a8d4d6205e5b11647eb6a74844ca23d2573
The text was updated successfully, but these errors were encountered: