I have added wasp to my PATH, but it still says it cant be found.
I have wasp in my local/bin/wasp, i also have shared/bin/wasp-lang/0.14.2/wasp-bin and data file . I am not sure why the command cant be found.
4 Replies
Hi @Dante Paris. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
It seems like you have installed Wasp correctly, but your system is still not able to find it. This could be due to a few reasons:
1. The changes to the PATH might not have taken effect yet. You can try reloading your shell configuration file to make sure the changes are applied. If you're using Bash, you can do this with
source ~/.bashrc
or source ~/.bash_profile
. If you're using Zsh, you can do this with source ~/.zshrc
[^1^].
2. The ~/.local/bin
directory might not be on your PATH. You can check this by running echo $PATH
in your terminal and seeing if ~/.local/bin
is included in the output. If it's not, you can add it to your PATH by adding the following line to your shell configuration file (~/.bashrc
, ~/.bash_profile
, or ~/.zshrc
): export PATH="$HOME/.local/bin:$PATH"
[^1^].
3. There might be an issue with the Wasp executable itself. You can check if the Wasp executable is working by running ~/.local/bin/wasp
in your terminal. If this works, it means the executable is fine and the issue is likely with your PATH.
If none of these solutions work, it might be helpful to uninstall and then reinstall Wasp. You can uninstall Wasp by running wasp uninstall
^2^], and then reinstall it by following the instructions in the [Wasp documentation (https://wasp-lang.dev/docs/quick-start).
^1^]: [Discord support thread: Installation trouble > Answers (https://discord.com/channels/686873244791210014/1214888257595121684)
^2^]: [Docs > General > CLI Reference > Overview Part 1 (https://wasp-lang.dev/docs/general/cli#overview)
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
Sorry @Dante Paris, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist:
Perhaps try again in 15mins?this still didnt fix the issue
Have you restarted your terminal after the change?
got it working now thanks the first thread helped