Coder Social home page Coder Social logo

Can't build hfmt-0.1.0 about hfmt HOT 3 CLOSED

danstiner avatar danstiner commented on August 23, 2024
Can't build hfmt-0.1.0

from hfmt.

Comments (3)

danstiner avatar danstiner commented on August 23, 2024

At the top of your output, there should be a line starting with Using resolver:, what does it say?

I just published version 0.1.0 which unfortunately had to break compatibility with stackage lts-8.13 and lower. I would guess you are on a lower stackage LTS.

Fix: I would recommend updating your global stackage resolver to the latest (lts-8.20 at the moment) by editing ~/.stack/global-project/stack.yaml

Now there are a couple things I could do to make this more obvious:

  1. My bounds constraint on hindent is wrong, it should require version 5.2.3 or newer which would have given you a nicer error message here.
  2. I could get hfmt into stackage, that would eliminate these version mismatches. I'd be willing to do that if the tool became a bit more popular 😄

from hfmt.

justanotherdot avatar justanotherdot commented on August 23, 2024

That was it, thanks! 😄

The funny part was that I was about to update that this morning. I was all the way back on 7.19.

from hfmt.

danstiner avatar danstiner commented on August 23, 2024

Great to hear, and thanks for bringing to my attention the bad version constraint.

from hfmt.

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.