warpdotdev / Warp

Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
https://warp.dev
Other
20.74k stars 348 forks source link

nodejs does not work #5108

Open AndresCi2 opened 1 month ago

AndresCi2 commented 1 month ago

Dupe Check

Describe the bug

I had a problem with the terminal with react native now when I give it a node --version it confirms me as if node is not installed in my computer but in the root terminal of my computer I have it installed.

To reproduce

I had a problem with the terminal with react native now when I give it a node --version it confirms me as if node is not installed in my computer but in the root terminal of my computer I have it installed.

Expected behavior

No response

Screenshots

No response

Operating system

Linux

Operating system and version

ubuntu 24.04

Shell Version

No response

Current Warp version

No response

Regression

Yes, this bug started recently or with an X Warp version

Recent working Warp date

No response

Additional context

No response

Does this block you from using Warp daily?

Yes, this issue prevents me from using Warp daily.

Is this a Warp specific issue? (i.e. does it happen in Terminal, iTerm, Kitty, etc.)

Yes, this I confirmed this only happens in Warp, not other terminals.

Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e

None

dannyneira commented 1 month ago

Hi @AndresCi2 sorry about this, please run which node and find the path to the binary. Then export that path in your .zshrc file and it should load on startup. echo 'export PATH="$PATH:/path/to/node/binary"' >> ~/.zshrc

There is also a recent issue related to node that had to do with nvm, please make sure this isn't the case in your setup. Please let us know if that helps!

AndresCi2 commented 1 month ago

Hello, I have checked the error and I have already solved it effectively if the node path is lost but when adding it to the bash_profile it was fixed.