Closed njbartlett closed 9 years ago
Are you using the latest version of the compiler?
The purescript-random
library got broken in the most recent version, but a compiler patch fixed the issue.
Yes, I just checked, With 0.6.7
, this works for me.
You might also like to try Pulp, which takes some of the pain out of setting up a development environment if you don't need a custom workflow.
I'm using psc 0.6.3, which I got just hours ago via "cabal update; cabal install purescript".
Does this mean that the latest release version is non-functional, and I have to build from source?
You need to update your cabal
probably. Or depending on your OS, just download a binary bundle from GitHub releases.
Well I tracked it down... I have an old 0.6.3 installed, and when I did cabal install purescript
today it installed 0.6.7.1 but failed to update the symlinks in ~/Library/Haskell/bin
. So this is just a cabal issue, I apologise.
BTW when you say I need to update my cabal properly, what do you mean? What is improper about cabal update
?
Thanks.
"probably" not properly :P cabal update
should be fine.
Yes, it sounds like this is just Cabal being difficult. You might find it easier to use the binary distributions in future, I'm not sure. They're available here: https://github.com/purescript/purescript/releases
I'll consider that except I assumed they lag behind somewhat. Anyway thanks for your help -- closing the issue.
Followed the README for initial setup. After creating an empty PureScript project, the 'grunt' command fails with the following error: