kilocode icon indicating copy to clipboard operation
kilocode copied to clipboard

Prefer user's NodeJs version

Open Kuv opened this issue 1 month ago • 1 comments

Plugin Type

JetBrains Plugin

App Version

4.121.1

Description

I have error:

Current Node.js (/usr/bin/node) version is v19.9.0, please upgrade to 20.6.0 or higher for better compatibility.

Minimal node version for kilocode must be higher 20.6. System version for Node.js (/usr/bin/node) version is v19.9.0. Userland node, installed by nvm is 24.11.1, but kilocode ignored it. Please consider the option to use the user's nodejs rather than the system version.

Reproduction steps

n/a

Provider

No response

Model

No response

System Information

System Information

CPU Architecture: amd64 Operating System: Linux 6.8.0-45-generic IDE Version: PyCharm 2024.3.5 (build PY-243.26053.29) Plugin Version: 4.121.1 JCEF Support: Yes

Kuv avatar Nov 28 '25 15:11 Kuv

Same issue here.

System Information
==================
CPU Architecture: amd64
Operating System: Linux 6.14.0-35-generic
IDE Version: IntelliJ IDEA 2025.2.5 (build IU-252.28238.7)
Plugin Version: 4.125.0
JCEF Support: Yes
~  echo $PATH
/home/zulufoxtrot/.nvm/versions/node/v22.12.0/bin:
 ~  which node
/home/zulufoxtrot/.nvm/versions/node/v22.12.0/bin/node

I think Kilocode references /usr/bin/node directly, which overrides the path set in PATH by nvm.

zulufoxtrot avatar Dec 01 '25 08:12 zulufoxtrot

I've the same issue as @zulufoxtrot

raphael-beck avatar Dec 03 '25 08:12 raphael-beck

same for me Current Node.js (/Users/USERNAME/.nvm/versions/node/v18.6.0/bin/node) version is v18.6.0, please upgrade to 20.6.0 or higher for better compatibility. my system is using node 22. Macbook pro m3

kushtra24 avatar Dec 03 '25 11:12 kushtra24

I fixed it by upgrating the node version of my system nvm alias default 22 and the IDE node version under settings > languages & Frameworks > node.js to newer node version and also check coding assistance for node.js

kushtra24 avatar Dec 03 '25 12:12 kushtra24

I fixed it by upgrating the node version of my system nvm alias default 22 and the IDE node version under settings > languages & Frameworks > node.js to newer node version and also check coding assistance for node.js

It didn't work for me. Thank you anyway @kushtra24

Image

raphael-beck avatar Dec 03 '25 14:12 raphael-beck