5 Replies
Hi @christoph2806. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
It looks like you're having permission issues when trying to install Wasp on your MacBook. The installer is unable to create the necessary directory at
/Users/christoph/.local/share/wasp-lang/0.16.2
.
Here are a few things you can try:
1. Check directory permissions: Make sure you have write permissions to the .local/share
directory in your home folder.
2. Create the directory manually: Try creating the directory structure yourself first:
Then run the installer again.
3. Use the correct installer URL: I notice you're using <https://get.wasp.sh/installer.sh
> but the official URL is actually <https://get.wasp-lang.dev/installer.sh
> as shown in the CLI documentation.
Try running:
4. Try with sudo: If you're still having permission issues, you might need to run the installer with elevated privileges:
If you're using a Mac with Apple Silicon (M1, M2, etc.), you might also need to install Rosetta since the Wasp binary is built for x86 architecture. You can do this by running:
As mentioned in the Quick Start documentation.
Let me know if any of these solutions work for you!
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
Sorry @christoph2806, 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?You could try running it with sudo before so it can have access to create the directory. #4 in the AI response
Wohooo @Cam Pak, you just became a Waspeteer level 3!
Yeah, Kapa is wrong about the URL. Both URLs will work 🙂
Give @Cam Pak 's tip a try and let us know if it works or not. Also, maybe @martinsos has an idea how to fix this -- I'll let him chime in if he does.
Hm no good idea really here, there isn't much info to go by!
sudo
is an option, but also should be avoided when possible>
The question is, why is this happening: is there some restriction on your side, regarding permissions? Can you yourself create a file/dir in that location? Is your macbook setup in any special way?