GithubHelp home page GithubHelp logo

cannot install the package about bits-ui HOT 2 CLOSED

huntabyte avatar huntabyte commented on June 14, 2024
cannot install the package

from bits-ui.

Comments (2)

huntabyte avatar huntabyte commented on June 14, 2024

This isn't a bits-ui issue, rather a setting within nanoid's package.json:

CleanShot 2023-11-04 at 10 33 54@2x

You can raise an issue over there, but its not an issue with this library!

from bits-ui.

caschbre avatar caschbre commented on June 14, 2024

I realize this issue is closed, but I ran into this as well and wanted to add a note for any one else that happens on this issue.

It's actually melt-ui (v0.69) that requires nanoid v5. This effectively makes melt-ui and bits-ui require node v18+. It's a silent breaking change. :-)

Looking at the melt-ui usage of nanoid, it should still work with nanoid v4.x... so one possibility might be to use pnpm to override the nanoid version used.

Note: I did test using pnpm to override the nanoid version necessary for bits-ui/melt-ui... and then I was able to install without issue.

from bits-ui.

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.