Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build instructions #1

Open
antonycourtney opened this issue Oct 16, 2016 · 0 comments
Open

Build instructions #1

antonycourtney opened this issue Oct 16, 2016 · 0 comments

Comments

@antonycourtney
Copy link

Hello!

Excited to play with this a bit. But...how do I build it?

I naively tried

bower install
pulp build

The initial bower install generated dozens of prompts about version conflicts from bower, such as:

Unable to find a suitable version for purescript-tailrec, please choose one by typing one of the numbers below:
    1) purescript-tailrec#~0.3.1 which resolved to 0.3.1 and is required by purescript-miniyampa
    2) purescript-tailrec#^1.0.0 which resolved to 1.0.0 and is required by purescript-extensions#1.0.5
    3) purescript-tailrec#^2.0.0 which resolved to 2.0.0 and is required by purescript-arrays#3.0.0

Prefix the choice with ! to persist it to bower.json

I opted for the 1.0.0 option in most cases. But then pulp build showed a number of parse errors, such as:

* Building project in /Users/antony/home/src/purescript/purescript-miniyampa
Error 1 of 11:

  at /Users/antony/home/src/purescript/purescript-miniyampa/bower_components/purescript-arrows/src/Control/Arrow.purs line 19, column 10 - line 19, column 10

    Unable to parse module:
    unexpected <+>
    expecting "type", qualifier, identifier or proper name


  See https://github.com/purescript/purescript/wiki/Error-Code-ErrorParsingModule for more information,
  or to contribute content related to this error.

Error 2 of 11:

  at /Users/antony/home/src/purescript/purescript-miniyampa/bower_components/purescript-arrows/src/Control/Arrow/Kleisli.purs line 35, column 44 - line 35, column 44

    Unable to parse module:
    unexpected ->
    expecting no indentation or end of input


  See https://github.com/purescript/purescript/wiki/Error-Code-ErrorParsingModule for more information,
  or to contribute content related to this error.
...

I suspect this is all down to issues with the ongoing 0.9 to 0.10 migration.
For what it's worth, pulp --version reports:

$ pulp --version
Pulp version 9.0.1
psc version 0.10.1 using /usr/local/bin/psc

Any advice / suggestions on best approach to build the library and example?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant