Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[matklad.rust-analyzer] Cannot activate rust-analyzer: Object.fromEntries is not a function #129

Closed
jankeromnes opened this issue Aug 22, 2020 · 3 comments

Comments

@jankeromnes
Copy link
Collaborator

Originally reported here: https://community.gitpod.io/t/rust-analyzer-extension-problem/1703

@carterisonline
Copy link

I'm also receiving an error relating to this:

Cannot activate rust-analyzer: Object.fromEntries is not a function

(occurs when attempting to install for the current project)

Cannot activate rust-analyzer: Command "rust-analyzer.onEnter" already has handler

(occurs when attempting to install for the user)

Maybe this is possibly caused by gitlab's included plugins' configuration? I'm slightly familar with Javascript, so I'll try to scope out the issue for now.

@jankeromnes
Copy link
Collaborator Author

Ah, I think this problem occurs because Gitpod's IDE (Theia) is still running Node.js v10.

I think Theia upstream has been upgraded to Node.js v12 LTS, and Gitpod will soon upgrade to the latest Theia version, which should resolve this problem. (Note: Gitpod Self-Hosted should already no longer have this bug.)

@filiptronicek
Copy link
Member

Gitpod is not using Theia anymore, and the default Node version is 16 as of today. Should be good to go, but the extension won't work because of #527.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants