I am working through the Claude Code course and I had to install node.js on my computer. I can now execute the Expense Tracker code but I get an incorrect version notice for node.js. When running vite it says this: You are using Node.js 20.13.1. Vite requires Node.js version 20.19+ or 22.12+. Please upgrade your Node.js version. I checked my programs and features and it says I installed 24.14.1. Is there another config I need to do? I am using VS Code.
Hi,
Did you by an y chance have several versions of node JS installed?
There are a few things to check in such case.
Did you configure VS Code to pick the correct version?
Is the version you expect to be using the one defined in the PATH environment variable?
Cheers.
Thanks for the reply. Turns out I just had to restart vscode. I have full visual studio also installed and I think there was some cross detections. Seems ok now. Just one other quick question. The prompt in vscode shows the full path to the project each time: C:\Users\*****\OneDrive\Documents\GitHub\expense-tracker-starter. I know there must be a setting to point directly at the project folder. How can I shorten this display?