Quick Start not working?

I'm following this tutorial: https://wasp-lang.dev/docs/quick-start After opening my terminal and running curl -sSL https://get.wasp-lang.dev/installer.sh | sh I get the warning in the image. Any solution? Thanks
Quick Start | Wasp
Installation
No description
4 Replies
kapa.ai
kapa.ai•7mo ago
Hi @Diego Escudero. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- I'm sorry, but without the specific details of the warning message you're encountering, it's difficult to provide a precise solution. However, I can suggest a few general troubleshooting steps based on common issues: 1. Check your Node.js version: Wasp requires Node.js and it might cause issues if it's missing or not the correct version. You can check your Node.js version by running node -v in your terminal. If Node.js is not installed or you have an incompatible version, you might need to install or update it. 2. Check your internet connection: The installation command you're running is downloading Wasp from the internet. Make sure your internet connection is stable. 3. Try running the command again: Sometimes, temporary issues can cause the installation to fail. Try running the command again after a few minutes. 4. Check for permission issues: If you're getting a permission error, you might need to run the command with sudo. If none of these steps solve your issue, I recommend you to open an issue on the Wasp Github page (https://github.com/wasp-lang/wasp/issues) or ask for help in the Wasp Discord community (https://discord.gg/rzdnErX). They should be able to provide more specific assistance. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @Diego Escudero, 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?
miho
miho•7mo ago
@kapa.ai The user is seeing this:
WARNING: It looks like '/Users/diegoescudero/ local/bin' is not on your PATH! You will not be able to invoke wasp from the terminal b y its name.
You can add it to your PATH by adding following line into your profile file (~/ profile or
~/zshrc or ~/.bash_profile or ~/.bashrc
or some other, depending on your configuration):
export PATH=$PATH: /Users/diegoescudero/.local/bin
WARNING: It looks like '/Users/diegoescudero/ local/bin' is not on your PATH! You will not be able to invoke wasp from the terminal b y its name.
You can add it to your PATH by adding following line into your profile file (~/ profile or
~/zshrc or ~/.bash_profile or ~/.bashrc
or some other, depending on your configuration):
export PATH=$PATH: /Users/diegoescudero/.local/bin
kapa.ai
kapa.ai•7mo ago
Let me check the knowledge base for you. One moment! :books: ---------------------- The warning message you're seeing is indicating that the directory where the Wasp executable is located (/Users/diegoescudero/.local/bin) is not included in your system's PATH environment variable. The PATH environment variable is a list of directories that your system checks when you run a command. If the directory containing the command is not in your PATH, you won't be able to run the command directly. To resolve this issue, you need to add the directory to your PATH. Here's how you can do it: 1. Open your shell configuration file. This could be one of several files, depending on your system configuration and which shell you're using. Common options are ~/.bashrc, ~/.bash_profile, or ~/.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
source ~/.bashrc
or
source ~/.bash_profile
source ~/.bash_profile
For Zsh shell:
source ~/.zshrc
source ~/.zshrc
After following these steps, the .local/bin directory should be added to your PATH, and you should be able to run the wasp command without encountering the "not on your PATH" error. This solution is based on the advice given in a Discord support thread (https://discord.com/channels/686873244791210014/1214888257595121684) for Wasp. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @miho, 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?
miho
miho•7mo ago
@Diego Escudero the bot gave a great answer 🙂 after you do what the bot suggested, the wasp command should work properly
Want results from more Discord servers?
Add your server