-
Notifications
You must be signed in to change notification settings - Fork 147
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
Error: No Project. When starting LS from a bundled electron Theia application #60
Comments
It works when I install the Terminal from Theia:
Probably related to this: #28. |
I'm having a similar problem, it also only happens when running the language server from the packaged electron app. It looks like inside the packaged bundle the environment variables differ from the ones that you get when launching the app from the command line. If you inspect /usr/bin:/bin:/usr/sbin:/sbin` Running it through the shell shows this PATH which includes the paths to the node binary modules: /Users/user/.nvm/versions/node/v10.15.1/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/user/Git/enter-client/node_modules/.bin:/Users/user/.nvm/versions/node/v10.15.1/bin:/Users/user/.yarn/bin:/Users/user/.config/yarn/global/node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin I'm guessing the path is usually being set inside a |
@mofux, what OS are you using? We used to have an issue with the Do you have the same problem if you build an electron application locally? |
@kittaakos Thanks for sharing your Did you see a similar problem in Theia? |
@akosyakov, can you please help with this?
This might worth a bug report.
I am not aware of anything similar in Theia. |
@kittaakos Thanks for the response. The problem appears whenever the |
The client should open the file (in the LSP sense) first. It doesn't seem like it's doing that from the log file. |
@rchl Sorry, for bothering. It turned out that LunarVim/bigfile.nvim plugin was involved. The issue arises if LSP client is detached from and editor buffer on big files. That plugin was doing that all the time. It's fixed by disabling the said plugin in config. Has nothing to do with this repo. |
I don't know what this issue is about and there is not enough info to understand it. If it's still an issue and someone cares about it then please provide TSSERVER logs ( |
I am not sure whether this issue belongs here or Theia.
When I open a Theia workspace with installed
typescript
npm dependency I get the following error. Few more things to note:tsserver
executable under${theia_ws_root}/node_modules/.bin/
.Terminal from Theia:
Error:
The text was updated successfully, but these errors were encountered: