Git Product home page Git Product logo

Comments (4)

dylan-conway avatar dylan-conway commented on September 6, 2024 2

Looks like we need to update our version picking logic to match closer to what npm has https://github.com/npm/cli/blob/7d89b55341160459e0fcd3374c3720d758b16339/node_modules/npm-pick-manifest/lib/index.js#L152

Mostly we need to account for deprecated versions and potentially choose other versions over them. In this situation, 0.1.0 is chosen for @aws-crypto/sha256-js@^0.1.0-preview.4 instead of 0.1.0-preview.4. 0.1.0 is a deprecated version with transitive dependencies that don't exist.

from bun.

Electroid avatar Electroid commented on September 6, 2024

This also occurs on macOS.

from bun.

Jex-y avatar Jex-y commented on September 6, 2024

I have a similar issue on Ubuntu 24.04 installing the firebase package. Works fine with NPM / Yarn but with Bun I get No version matching "0.8.2" found for specifier "@firebase/analytics-types" (but package exists). NPM website shows that 0.8.2 does exist.

Steps to reproduce:

bun init
bun add firebase
> bun add v1.1.17 (bb66bba1)
> error: No version matching "0.8.2" found for specifier "@firebase/analytics-types" (but  package exists)
> error: @firebase/[email protected] failed to resolve

from bun.

dylan-conway avatar dylan-conway commented on September 6, 2024

@Jex-y are you able to repro this consistently? Also can you try with bun v1.1.18?

from bun.

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.