Experience setting up wasp on an ARM-based laptop?
Hello! Just wondering if anyone has any experience setting up wasp on an arm-based laptop since I'm running into some troubles:)
2 Replies
Hi @rbn. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
I can see you're having trouble running Wasp on an ARM-based laptop (aarch64 architecture). This is a known limitation with Wasp's current binary distribution.
Currently, Wasp only provides pre-built binaries for:
- Linux x86_64
- macOS x86_64
For ARM-based devices like yours, there are a few important points to understand:
1. For Mac with Apple Silicon (M1, M2, etc.), users can install Rosetta to run the x86_64 binary as mentioned in the docs.
2. For Linux on ARM (like your case), Wasp doesn't currently provide pre-built binaries. This is similar to the issue users face when trying to run Wasp on Raspberry Pi, which also uses ARM architecture. As one of the Wasp team members mentioned: "right now we build Wasp only for Ubuntu, which works on most of the Linux distros, but I guess doesn't work on whatever you have running on your Pi" from Discord support.
3. There's an open GitHub issue to add macOS ARM64 binary packages to Wasp releases, but it's still pending: GitHub Issue #1574.
Your options are:
1. Build from source: This is possible but might be cumbersome as it requires installing the Haskell toolchain. The instructions are available in the Wasp docs and GitHub README.
2. Use a virtual machine or container with x86_64 architecture to run Wasp.
3. Wait for ARM support: The Wasp team is aware of the need for ARM binaries but it's dependent on GitHub Actions offering ARM runners at a reasonable cost.
If you decide to build from source, be prepared to invest some time in setting up the Haskell development environment. As mentioned in one of the support threads, it "requires installing whole Haskell toolchain and will be quite cumbersome."
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
Sorry @rbn, 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?
thanks mr bot