Unable to find wasp command
Hello again! I was able to get to the point of successful browser opening from running through the setup in terminal. However, I wasn't able to view anything on the webpage other than the Wasp Congrats-ish page even after checking over the code in VS code and moving some things around. I decided to re-run Wasp and my app, and after doing so, my nvm seems to be working but when I get to the point of wasp new <my project> it says zsh: command not found: wasp
Before I had this issue it said something about looking in my ~/.bash_profile and adding an export of my local bin into the code of that file. Did that, didn't work. Also decided to look directly in my /.local/bin folder where wasp is and it says ❌ --- [Error] Node requirement not met: ------------------------------------------
Your Node version does not meet Wasp's requirements! You are running Node 16.13.0.
Wasp requires Node ^18.12.0 to be installed and in PATH. Check Wasp documentation for more details: https://wasp-lang.dev/docs/quick-start#requirements.
When I go back into another Terminal window, I'm able to actively verify that node/nvm is running... at V18.... I don't understand why it says it's not but I think it could possibly have something to do with why it overall is saying the wasp command isn't found.
Can anyone help or explain what's going on? Would be much appreciated
4 Replies
Hi @destructivebear, can you execute the following 3 commands in your terminal and paste the output here?
Please format it as code (i.e., with three backticks) for easier reading:
And thanks for sticking with Wasp!
Yet if I run I get the same response:
Wohooo @destructivebear, you just became a Waspeteer level 1!
As the warning message says:
You'll have to do this to be able to call
wasp
by name. Depending on your system, adding stuff to .bashrc
or .bash_profile
or .zshrc
may require restarting the terminal/computer.
For starters, try executing the following line directly in your terminal:
And then try calling wasp new
from the same terminal. Does this work?