-
-
Notifications
You must be signed in to change notification settings - Fork 178
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
npm run build
errors: [webpack-cli] Error: Cannot find module 'monaco-languageclient/vscode-compatibility'
#363
Comments
Hi Does it work with |
@aukeroorda you run node.js version The GH Actions and Gitpod builds run without errors, but they both use node latest LTS version ( |
The subpath export was added in node 12.7.0 (https://nodejs.org/api/packages.html#subpath-exports) So it's supposed to work 🤷 |
I tried it locally with But, we need to set the minimum required npm version, because we use workspaces, now vscode-jsonrpc@8.0.1 requires node 14+, so we should take this into account as well. |
It's not related to node but to webpack. with webpack4, it doesn't work, but the workaround is to register an alias:
|
@aukeroorda with 2.0.0+ of the lib this problem is gone, because |
Hi - I just followed the steps at https://github.com/TypeFox/monaco-languageclient#development-environments and am running into the following error:
Full log
As you can see in the full log,
npm i
already gives two warnings, however I don't see how these are related to the error.The text was updated successfully, but these errors were encountered: