Error when trying to run it on Raspberry PI 4b
So, when trying to install the new wasp version on my Raspberry Pi I got this error:
/home/paulo/.local/bin/wasp: line 2: /home/paulo/.local/share/wasp-lang/0.12.3/wasp-bin: cannot execute binary file: Exec format error
Usually I like to install things on my RPB and use other devices for coding (basically a local cloud :P) - is there an easy way to fix this?3 Replies
Ohh, yeah this will be problematic because 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 (probably Raspbian).
I don't have a good solution for this but to build it from source -> there are instructions for that both in our docs and on our Github in our README, but that requires installing whole Haskell toolchain and will be quite cumbersome, so I wouldn't recomend it if you are not ready to sink some proper time into it.
hi i have the same but i am installing it on linux instance so it is not supported #107-Ubuntu SMP Wed Feb 7 13:27:10 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux arm?
Yes, sounds like the same problem (I appreciate you looking up the questions before asking one :))
It seems you're running it on an ARM, and we build for x86. Therefore, what @martinsos said applies to your case as well.
I've created an issue for tracking this and linked this thread: https://github.com/wasp-lang/wasp/issues/2003