Giter VIP home page Giter VIP logo

Comments (5)

tomyuval avatar tomyuval commented on May 30, 2024 1

The version of PureScript is not pinned in package.json, and the project doesn't build with the current version (0.14.5). Looking for a solution I found this open issue, and based on the comment above I thought (part of) the solution would be to pin PureScript to 0.11.6. However, npm fails to install that version.

The earliest PureScript version npm did manage to install for me is 0.12.0 – but that already breaks the build.

I'm new to this repository and also to PureScript; I intend to dig a little into it and see if I can work something out, but maybe someone else who's more familiar (e.g. @sharkdp, @wlnirvana) can lend a hand in moving this forward?

Let's get this repository working again!

from cube-composer.

sharkdp avatar sharkdp commented on May 30, 2024

That would be great, yes. Thank you.

from cube-composer.

tomyuval avatar tomyuval commented on May 30, 2024

So, in order to use PureScript 0.12.0, I updated the dependencies to the following:

    "purescript-arrays": "^5.0.0",
    "purescript-console": "^4.0.0",
    "purescript-enums": "^4.0.0",
    "purescript-foldable-traversable": "^4.0.0",
    "purescript-integers": "^4.0.0",
    "purescript-math": "^2.0.0",
    "purescript-nullable": "^4.0.0",
    "purescript-strings": "^4.0.0",

Note I removed the deprecated purescript-dom, which only works with versions prior to 0.12.x.

I also had a problem with purescript-isometric, whose latest release (3.0.0) is older than 0.12.x, and whose inclusion caused a lot of version conflicts in dependencies. But the GitHub repository has a newer state which just hasn't been released (yet), so I solved the issue temporarily by taking src – along with the dependencies in bower.json – from the current snapshot and embedding them in (my local copy of) this code base.

With that I managed to bower install.

But many things in the code base need to be updated in order for it to compile:

Being unfamiliar with the language and with this code base, this is a bit too much for me to tackle on my own. @sharkdp, would you like to pair up on it? Hopefully, after an initial joint session to introduce me to some of the specifics I should be able to continue by myself.

Or maybe someone else can do it.

Or alternatively, maybe someone can find a way to install PureScript 0.11.x – this should make everything much simpler.

from cube-composer.

sharkdp avatar sharkdp commented on May 30, 2024

Thank you for looking into this, @tomyuval. I'm not very active in the PureScript community anymore and therefore not familiar with recent updates to all the core libraries and the tooling changes. I currently don't have the time to help with getting this up & running again, but I should find some time to review PRs, if you (or someone else) wants to help.

Maybe you could ask the PureScript community for help? They have been very supportive in the past. Not sure where the best place to ask would be though. Maybe https://www.reddit.com/r/purescript/?

from cube-composer.

tomyuval avatar tomyuval commented on May 30, 2024

Thanks, @sharkdp.
Eventually I figured it out: pinning PureScript to 0.11.6 does work (what happened before is I used ^0.11.6 which was resolved to 0.11.7, and that didn't work).
With #45 I managed to build the project locally without any problem.

from cube-composer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.