Git Product home page Git Product logo

Comments (1)

RobinMalfait avatar RobinMalfait commented on June 8, 2024

Hey!

This was a fun one to track down, but there are multiple issues happening here.

  1. You have both a pnpm-lock.yaml and a yarn.lock file and they don't match the package.json version. Not a super big deal, but wanted to make you aware of this.
  2. The ^ does not work properly when using insiders builds. This is because the hash used is not ordered so it could be that you get wrong results here. If you use the insiders version, you always need to lock the version explicitly.
    You can see this behaviour if you inspect the yarn.lock file:
"@headlessui/react@^0.0.0-insiders.c8037fc":
  version "0.0.0-next.f3df979"

The actual version you are using is 0.0.0-next.f3df979.

To solve your issue, make sure that you are not using the ^ and using the exact version of the insiders build. If you want to update you can use yarn add @headlessui/react@insiders (in this case, it will always point to the latest correct insiders version).

Hope this helps!

from headlessui.

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.