Giter Site home page Giter Site logo

Force cache clean about bundlephobia HOT 11 CLOSED

pastelsky avatar pastelsky commented on August 30, 2024
Force cache clean

from bundlephobia.

Comments (11)

pastelsky avatar pastelsky commented on August 30, 2024

Hi @Kelin2025. We do not cache package searches that don't have an explicit version specified — for eg - a search for react is not cached, but one for [email protected] would be. Discovery of new versions should be near instantaneous as far as I can remember.

The error in the screenshot might be caused by #43 (comment) .

Let me know if this is still a issue.

from bundlephobia.

Kelin2025 avatar Kelin2025 commented on August 30, 2024

I will check it on next version update

from bundlephobia.

nksfrank avatar nksfrank commented on August 30, 2024

We where publishing fix where we where adding react as a peerDependency to our package.
image

But searched on our new version to soon, before it had been fully published, getting a MissingDependencyError
image

from bundlephobia.

pastelsky avatar pastelsky commented on August 30, 2024

from bundlephobia.

nksfrank avatar nksfrank commented on August 30, 2024

the MissingDependencyError result is from after publish.
Our package is published now and in use over at our codesandbox example: https://codesandbox.io/s/w0orz7j5p8

from bundlephobia.

nicolasdelfino avatar nicolasdelfino commented on August 30, 2024

1.9.2 was released shortly after, this version first showed the same error (MissingDependencyError), then after a refresh it continued with resolving / bundling & minifying but sadly it got stuck on "calculating file sizes" .

from bundlephobia.

pastelsky avatar pastelsky commented on August 30, 2024

Just checked, we have short time cache (a few hours) for package searches that don't include a version. However, when one searches with an explicit version, this should not happen.

from bundlephobia.

ardalanamini avatar ardalanamini commented on August 30, 2024

@pastelsky I'm searching an explicit version but still get the error PackageVersionMismatchError

here's the link: https://bundlephobia.com/result?p=@foxify/[email protected]

from bundlephobia.

pastelsky avatar pastelsky commented on August 30, 2024

from bundlephobia.

ardalanamini avatar ardalanamini commented on August 30, 2024

Maybe you should reconsider your registry choice, 'Cause my package's version still isn't available in yarnpkg and this could happen to other packages too

from bundlephobia.

pastelsky avatar pastelsky commented on August 30, 2024

This should be fixed in the next release. We'll now use npm's official registry to resolve versions. Thanks!

from bundlephobia.

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.