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
Volar fails to start in eclipse theia #122
Comments
Volar needs to be able to load TypeScript. Does Theia provide this in some other way? Note that crash happens in a fallback mechanism. Typically users set the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Volar fails to start in eclipse theia because cant find typescript module:
after some investigation, i found that volar is trying to load the typescript module from
extensions/node_modules
, that seems to be the place where vscode contains this module.volar.js/packages/vscode/lib/features/tsVersion.ts
Lines 156 to 166 in cd3695a
there's a workaround, installing the
ms-vscode.vscode-typescript-next
extensions, that usesextensionPath
to find thenode_modules
folder (i think that extensionPath is empty so it use the node_modules from de theia folder)volar.js/packages/vscode/lib/features/tsVersion.ts
Lines 143 to 154 in cd3695a
here's the related issue in theia repo: eclipse-theia/theia#12443
is there any chance to add a fix to this problem (ie, validating that the extensions/node_modules exists)?
Thanks
The text was updated successfully, but these errors were encountered: