Setting up Wasp on Windows
Hello there! I am trying to build Wasp in my system (Windows 10). I have followed the steps in this link: https://github.com/khairalanam/wasp/tree/main/waspc#quick-overview
I am stuck in the Build step. When I tried running the "cabal build", I get this error:
cabal-3.6.2.0.exe: Cannot find the program 'ghc'. User-specified path
'ghc-8.10.7' does not refer to an executable and the program is not on the
system path.
How to fix this?
GitHub
wasp/waspc at main · khairalanam/wasp
The fastest way to develop full-stack web apps with React & Node.js. - khairalanam/wasp
1 Reply
@The Sage Emperor this is not really a Wasp issue, but instead a Haskell thing -> you don't seem to have Haskell toolchain (GHC, ...) correctly installed on your machine.
You can see here: https://github.com/khairalanam/wasp/tree/main/waspc#setup -> we advise to use
ghcup
to install cabal and GHC.
Btw, we don't have any devs developing Wasp directly on Windows, so I am not sure how well will that work -> I would advise, if you are on Windows, do to it inside WSL.