TabbyML / tabby

Self-hosted AI coding assistant
https://tabby.tabbyml.com/
Other
21.67k stars 986 forks source link

Jetbrains plugin does not recognize node #2883

Open XTREME1738 opened 2 months ago

XTREME1738 commented 2 months ago

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 commented 2 months ago

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

XTREME1738 commented 2 months ago

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

wsxiaoys commented 2 months ago

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

XTREME1738 commented 2 months ago

image

icycodes commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

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

icycodes commented 1 month ago

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 commented 1 month ago

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.