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
Volar fails to start in eclipse theia because cant find typescript module:
Message: Request initialize failed with message: Can't find typescript.js or tsserverlibrary.js in
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.
there's a workaround, installing the ms-vscode.vscode-typescript-next extensions, that uses extensionPath to find the node_modules folder (i think that extensionPath is empty so it use the node_modules from de theia folder)
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: