Setting up Wasp

Hi, I've set up Wasp today following the steps in the Quick Start instructions, but I got an error message saying that Wasp had not been added to my PATH for some reason. What am I supposed to do to resolve that error? Sorry if it's a silly question, I'm not a developer. Thanks for your help!
4 Replies
MEE6
MEE65mo ago
Wohooo @Francesco, you just became a Waspeteer level 1!
kapa.ai
kapa.ai5mo ago
Hi @Francesco. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- No question is silly, especially when you're learning something new! The error message you're seeing is indicating that the system can't find the Wasp executable in the directories listed in your PATH environment variable. This is a common issue and can be resolved by adding the directory containing the Wasp executable to your PATH. Here's how you can do it: 1. Open your shell configuration file: - For Bash shell: Open ~/.bashrc or ~/.bash_profile - For Zsh shell: Open ~/.zshrc 2. Add the following line at the end of the file:
export PATH="$HOME/.local/bin:$PATH"

export PATH="$HOME/.local/bin:$PATH"

This line adds the .local/bin directory located in your home directory to the beginning of the PATH variable. 3. Save the changes and close the file. 4. Reload the shell configuration by running the following command in your terminal: - For Bash shell: source ~/.bashrc or source ~/.bash_profile - For Zsh shell: source ~/.zshrc After following these steps, the .local/bin directory should be added to your PATH, and you should be able to run the command or executable without encountering the "not on your PATH" error[^1^]. If you're still having trouble, feel free to ask for more help! ^1^]: [Source (https://discord.com/channels/686873244791210014/1214888257595121684) ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @Francesco, 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?
Francesco
FrancescoOP5mo ago
This is great, it's all working now. Thank you for your help!
martinsos
martinsos5mo ago
Well you are a developer now since you are using Wasp :D! Great that bot helped. Btw this is a general concept, not Wasp specific, so good to know in general.
Want results from more Discord servers?
Add your server