ionic-team / vscode-ionic

Visual Studio Code Ionic Extension
Other
5 stars 0 forks source link

vscode extension not picking up node version using nvm command in ~/.bashrc. #159

Closed laurencefass closed 3 days ago

laurencefass commented 3 days ago

ive just installed the extension and im getting

[error] ERR: Your Node.js version is v14.7.0. Node.js 14 reached end-of-life on 2023-04-30 and is no longer supported. Please update to the latest Node LTS version.

however on the command line and in any terminal

root@vps765527:/docker# node -v v20.15.0

root@vps765527:/docker# npm -v 10.7.0

root@vps765527:/docker# nvm -v 0.39.1

im setting node version with nvm in ~/.bashrc so i've changed setting to use /bin/bash and still not picking up the correct node version and I cant find any useful info online on how to configure this correctly.

laurencefass commented 3 days ago

needed a restart!