Closed mrkgnao closed 8 years ago
Are you sure this is the repo you're cloning? Those --strict --censor-lib
flags are for use with purescript-psa
, and neither of which are used in the build script currently: https://github.com/slamdata/purescript-halogen-template/blob/960f2f1128b7ceea0c29ed4326fff2f3479c9a71/package.json
If you npm install -g purescript-psa
it will fix the errors with the flags (or just npm install
, as all the dependencies are listed and will be installed locally instead), but I'm pretty sure it's the main Halogen repo you've cloned rather than this.
I may have made that mistake, so I nuked my local copy and re-cloned it. Following the steps gave me a huge bunch of compiler errors about qualified
s where they shouldn't have been.
Doing npm install
without the --production
works fine; I think the real problem is the breaking changes from PureScript v0.9.1. Maybe you could update the README to reflect this?
There's a PR to Halogen that is pretty far along that will fix it up for PS 0.9, so at this point we may as well get wait and get that sorted out - hopefully I'll be able to make a release later today and then update this repo accordingly.
That's nice to hear.
On Wed, Jun 22, 2016 at 9:13 PM Gary Burgess notifications@github.com wrote:
There's a PR to Halogen that is pretty far along that will fix it up for PS 0.9, so at this point we may as well get wait and get that sorted out - hopefully I'll be able to make a release later today and then update this repo accordingly.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/slamdata/purescript-halogen-template/issues/5#issuecomment-227785698, or mute the thread https://github.com/notifications/unsubscribe/ANhd7shhC2wIHet0TyKo88yPcfa1Z-Ejks5qOVgPgaJpZM4I5MFU .
Sorry it didn't happen quite as speedily as I said, but this repo is now updated for the latest Halogen, which in turn has been updated to work with PureScript 0.9.1 and the 1.0 core libraries.
I did the following about five minutes or so ago.
sudo npm install purescript pulp bower -g
git clone <...> halogen-test
npm run build
I get an
invalid option --censor-lib
error.Output of
npm run build
:Here is the output of
pulp build
:If it helps, I'm on a fresh (yesterday) Arch install, and I'm having some problems with Unicode for some reason that makeFixed, doesn't help.yaourt
say things liken°
instead of "nº" or whatever it is supposed to say.