Describe the Bug
When Cursor tries to run a shell command in Composer that uses NPM it always complains about Node being an old version. When I run the same command in Cursor Terminal it runs fine.
Steps to Reproduce
Cursor generates shell command in composer: npm install --save-dev prettier eslint-config-prettier eslint-plugin-prettier
Tell Composer to run the command.
It errors because it thinks Node is v12.13.0. Check Node version in Terminal and it is v22.12.0.
Expected Behavior
It should see the same Node version as Terminal and be able to run.
Screenshots / Screen Recordings
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Version: 0.44.9
VSCode Version: 1.93.1
Commit: 316e524257c2ea23b755332b0a72c50cf23e1b00
Date: 2024-12-26T21:58:59.149Z (5 days ago)
Electron: 30.5.1
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Darwin arm64 24.1.0
Additional Information
None
Does this stop you from using Cursor
No - Cursor works, but with this issue