I suspect this might have to do with your system path setup for node.
Do you also get the same result if you run node from:
- Powershell app
- Command Prompt app
no , i do not get the same result
i also get this with nightly
Can you run where node
in Powershell and copy the path you get. Then use it in Cursor’s terminal like so:
& "C:\Program Files\nodejs\node.exe" -v
See if that fixes the issue.
also doesnt recognise npm
Can you also try it with where.exe node
?
It seems like node is not initialized in Powershell then.
You can either try to set it up for Powershell, or use a different type of terminal in Cursor. You can use whatever terminal you used where node was defined.