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
Attempt to activate it by opening VS Code to a Rust project
Expected behavior
For the extension to activate successfully.
Additional context
Logs:
[2021-08-06 16:59:01.070] [exthost] [error] Activating extension matklad.rust-analyzer failed due to an error:
[2021-08-06 16:59:01.070] [exthost] [error] TypeError: Cannot destructure property 'ANY' of 'require$$26' as it is undefined.
at Object.<anonymous> (/nix/store/59nk7z6h9gfcqqjv0kiajns9j4pwn173-vscode-extension-rust-analyzer-2021-08-02/share/vscode/extensions/matklad.rust-analyzer/out/src/main.js:2378:13)
at Module.u._compile (/nix/store/d81pjajpc0xcplx7ch921lrw4s8v37g1-vscode-1.58.2/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js:4:1315)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1155:10)
at Module.load (internal/modules/cjs/loader.js:982:32)
at Module._load (internal/modules/cjs/loader.js:823:14)
at Function.f._load (electron/js2c/asar_bundle.js:5:12913)
at Function.i._load (/nix/store/d81pjajpc0xcplx7ch921lrw4s8v37g1-vscode-1.58.2/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:103:27843)
at Function.b._load (/nix/store/d81pjajpc0xcplx7ch921lrw4s8v37g1-vscode-1.58.2/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:103:24471)
at Function.l._load (/nix/store/d81pjajpc0xcplx7ch921lrw4s8v37g1-vscode-1.58.2/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:93:59004)
at Module.require (internal/modules/cjs/loader.js:1006:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Function.t [as __$__nodeRequire] (/nix/store/d81pjajpc0xcplx7ch921lrw4s8v37g1-vscode-1.58.2/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js:5:101)
at u._loadCommonJSModule (/nix/store/d81pjajpc0xcplx7ch921lrw4s8v37g1-vscode-1.58.2/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:103:25877)
at u._doActivateExtension (/nix/store/d81pjajpc0xcplx7ch921lrw4s8v37g1-vscode-1.58.2/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:89:12556)
at u._activateExtension (/nix/store/d81pjajpc0xcplx7ch921lrw4s8v37g1-vscode-1.58.2/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:89:11657)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Promise.all (index 0)
# a list of nixpkgs attributes affected by the problemattribute: vscode-extensions.matklad.rust-analyzer# a list of nixos modules affected by the problemmodule:
The text was updated successfully, but these errors were encountered:
Hello, I've been looking at this since yesterday. I think we need to pin rollup to 2.51 and/or update plugin-commonjs to 19 to avoid rollup/rollup#4195 / npm/node-semver#318 - I am presently regenerating node-packages.nix to test this fix.
I think you are right that my 08-02 update introduced the regression. I apologize, can cut a revert PR later today if my fix doesn't work and if this would be desirable. The fix seems to work!
Describe the bug
The extension fails to activate.
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
For the extension to activate successfully.
Additional context
Logs:
Notify maintainers
@oxalica
Metadata
Maintainer information:
The text was updated successfully, but these errors were encountered: