I'm trying out the tutorial about making a simple website with scotty but I get an error when I try the command "cabal sandbox init":
cabal: unrecognised command: sandbox (try --help)
Does anyone know what is wrong?
I'm trying out the tutorial about making a simple website with scotty but I get an error when I try the command "cabal sandbox init":
cabal: unrecognised command: sandbox (try --help)
Does anyone know what is wrong?
Is your Cabal/cabal-install version new enough? Sandboxes were introduced in Cabal 1.18. You can check the version with command cabal --version
.
You might be able to upgrade with these commands:
cabal update
cabal install Cabal cabal-install