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

Jetbrains plugin does not recognize node #2883

Open
XTREME1738 opened this issue Aug 15, 2024 · 11 comments
Open

Jetbrains plugin does not recognize node #2883

XTREME1738 opened this issue Aug 15, 2024 · 11 comments
Assignees
Labels
bug Something isn't working

Comments

@XTREME1738
Copy link

Describe the bug
image
image
image
With and without the node path set in the plugin I get the same error, I am not using any node version manager and am on version 20.0.0, I have set the node path to /usr/local/bin/node which is where my node binary is, from the output of which node

Information about your version
0.16.0-dev.0 - Tabby
1.7.1 - Plugin

@wsxiaoys
Copy link
Member

The error message is self explaining - you need node binary >= 18.0

@XTREME1738
Copy link
Author

As I mentioned, I have node 20.0.0 which is greater than 18.0.

@wsxiaoys
Copy link
Member

ah - i missed that, could you run node -V in your console and share a screenshot? (just to confirm it has correct version)

@XTREME1738
Copy link
Author

image

@wsxiaoys wsxiaoys added the bug Something isn't working label Aug 15, 2024
@icycodes
Copy link
Member

Hi, @XTREME1738, Could you please check the following:

  1. Restart the IDE after setting the Node.js bin path in the config.
  2. Please verify with ls -lhF /usr/local/bin/node and file /usr/local/bin/node to ensure that the file is indeed a Node.js binary.

@XTREME1738
Copy link
Author

Already tried to restart the IDE 3 times, and checked that /usr/local/bin/node is indeed an ELF binary with file, and readlink
But here is the outputs of those commands anyway.
image

@icycodes
Copy link
Member

Already tried to restart the IDE 3 times, and checked that /usr/local/bin/node is indeed an ELF binary with file, and readlink But here is the outputs of those commands anyway.

Thanks for providing all this detailed information. It's strange that this error is showing even though everything is set up correctly. I will continue looking into it.

@icycodes
Copy link
Member

Could you please share which IDE and its version you are currently using?
For further debugging, it would be greatly helpful if you could set the log level tocom.tabbyml.intellijtabby:all in Help -> Diagnostic Tools -> Debug Log Settings..., and then share all log lines filtered by com.tabbyml.intellijtabby.
Please also refer to https://tabby.tabbyml.com/docs/extensions/troubleshooting/#intellij-platform-ides.

@XTREME1738
Copy link
Author

Yes I am using Android Studio 2024.1.1 (Koala).
And here is a debug log from Tabby, tabby.log

@icycodes
Copy link
Member

Thank you for sharing the detailed log of the issue.
I have tried to replicate the problem in various environments but still have not been successful thus far. It seems like we may need further investigation to point the cause of the issue.

@XTREME1738
Copy link
Author

Huh, well my current setup is Fedora Linux 40 Workstation (Gnome), with Android Studio and Node installed via dnf, I'll look around when I next boot back into my Linux install.
If you need anymore info just let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants