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

Can't locate Perl/LanguageServer.pm in @INC #182

Open
zhaozhaofox opened this issue May 31, 2023 · 5 comments
Open

Can't locate Perl/LanguageServer.pm in @INC #182

zhaozhaofox opened this issue May 31, 2023 · 5 comments
Labels
question Further information is requested

Comments

@zhaozhaofox
Copy link

How to address this problem:

Can't locate Perl/LanguageServer.pm in @INC (you may need to install the Perl::LanguageServer module) (@INC contains: D:/Strawberry/perl/site/lib D:/Strawberry/perl/vendor/lib D:/Strawberry/perl/lib).
BEGIN failed--compilation aborted.
[Info  - 20:27:52] Connection to server got closed. Server will restart.
@zhaozhaofox
Copy link
Author

zhaozhaofox commented Jun 22, 2023 via email

@tristan957
Copy link

I am seeing the same issue. I would have thought the VSCode extension would bundle what it needed.

@richterger
Copy link
Owner

The extention cannot bundle this because it highly depends on the Perl installation what is needed. There is no one size fits all.

See README.md for installation instructions on different systems. Since you not even mentioned on what OS you want to install, I can't tell you anything more.

@richterger richterger added the question Further information is requested label Jul 21, 2023
@mgerhardy
Copy link

Bildschirmfoto vom 2023-08-16 11-51-18

Not sure if this would be useful - but in case the language server module is not found, the extension doesn't try to restart it after X attempts. clangd language server integration has this option to let the user restart the server without reloading vscode.

@richterger
Copy link
Owner

fee free to provide a pull request with this enhancement.

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

No branches or pull requests

4 participants