-
Notifications
You must be signed in to change notification settings - Fork 6
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
Language Server Requires npx #19
Comments
Thank you for reporting, the new version(2.0) should include a more meaningful log/message on the editor. |
I installed npm/npx and got other errors, though I think it's because the language server does not work on windows.
I would again have expected the server to give an error. |
I'm sorry for what you experienced, the error you encountered seems to be a bug from Jolie itself, not the extension. Looking at the log, can you ensure that |
I've tested it on the release (1.12.1) and a version created from the master branch on jolie/jolie@6c4a2c8. |
I see. I assumed that your local language server library is outdated. In the recent versions (1.0.4), that directory should be available in the library. Could you try to remove the npx cache and restart the extension? |
Yes I restarted the extension, however it it stuck in another way:
I deleted my npx cache and it seems that it is not downloading the new language server, or just downloads an empty folder. |
Changing the extension code to use 2.0.1 it gives the following error now:
|
I checked on my laptop again with the change from my former comment, where it mostly work. |
Today I tried the extension on Windows and fixed some issues on the vscode-jolie version 2.0.2. But it won't fix your recent error (quoted), as it indicates that your Jolie installation or the path environment is corrupt (unable to find standard libs Java classes). The extension requires Jolie version from master branch. After updating the extension and installing Jolie from git, please check your JOLIE_HOME / PATH, they should point to the directories in
|
I works now thank you. I'll close this issue when the requirement specifies the need for npx/npm. |
It seemed like the language server wasn't working while working in vs code outside of a dev container.
However I found that it needs npx to run:
I would've assumed it gave an error that the server didn't start, and that npx was required.
The text was updated successfully, but these errors were encountered: