Giter Club home page Giter Club logo

Comments (13)

isaacs avatar isaacs commented on June 15, 2024

Ah, looks like the push had failed. Thanks, all set now.

from minimatch.

eskimoblood avatar eskimoblood commented on June 15, 2024

Still get errors when I try to install module that depends on version ^0.3.0

npm http 200 https://registry.npmjs.org/minimatch
npm ERR! Error: No compatible version found: minimatch@'^0.3.0'
npm ERR! Valid install targets:
npm ERR! ["0.0.1","0.0.2","0.0.4","0.0.5","0.1.1","0.1.2","0.1.3","0.1.4","0.1.5","0.2.0","0.2.2","0.2.3","0.2.4","0.2.5","0.2.6","0.2.7","0.2.8","0.2.9","0.2.10","0.2.11","0.2.12","0.2.13","0.2.14","0.3.0"]
npm ERR!     at installTargetsError (/private/var/tmp/nodeenv-0.8.25/lib/node_modules/npm/lib/cache.js:719:10)
npm ERR!     at /private/var/tmp/nodeenv-0.8.25/lib/node_modules/npm/lib/cache.js:641:10
npm ERR!     at saved (/private/var/tmp/nodeenv-0.8.25/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:138:7)
npm ERR!     at Object.oncomplete (fs.js:297:15)
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <[email protected]>

from minimatch.

sindresorhus avatar sindresorhus commented on June 15, 2024

@eskimoblood upgrade npm

from minimatch.

eskimoblood avatar eskimoblood commented on June 15, 2024

@sindresorhus, sorry I'm not that deep into this stuff, what to you mean with upgrade npm?

from minimatch.

sindresorhus avatar sindresorhus commented on June 15, 2024

http://bit.ly/Sd4zrj

from minimatch.

jfarabaugh avatar jfarabaugh commented on June 15, 2024

when you have a central build server that multiple teams depend on the answer of just upgrade npm isnt a great one. Something changed somewhere is there any idea?

from minimatch.

eskimoblood avatar eskimoblood commented on June 15, 2024

This was our problem as well. We could fix it by bumping the node version for our build system from 8 to 10. Don't know why but it fixed the issues.

from minimatch.

jfarabaugh avatar jfarabaugh commented on June 15, 2024

this is part of a very large system for a very large company. throwing a major update like that to solve a small issue is not a good solution

from minimatch.

dmgreene avatar dmgreene commented on June 15, 2024

I am also having this problem. And I can't just update npm or node because that would require weeks of regression testing the code.

Isn't there a fix that would fix the real problem?

from minimatch.

isaacs avatar isaacs commented on June 15, 2024

In the middle of 2013, support for the ^ semver operator was added to npm. A few months ago, it became the default.

This wasn't added to Node 0.8, because that version of Node is no longer updated.

If you can't update things, then why are you updating the thing that depends on minimatch? It seems weird that one piece is a year behind, but another is updating to the latest and greatest. It's pretty common for new versions of libs to rely on features that have been in the underlying platforms for a year.

from minimatch.

jgable avatar jgable commented on June 15, 2024

I am running into this during my Travis CI builds for node 0.8 and tried to fix it by adding:

before_install:
  - npm update -g npm

However, I'm now getting this error during that update

npm ERR! Error: No compatible version found: inflight@'^1.0.1'

Which basically means I'm hosed?

EDIT: Found related issue on npm project (npm/npm#5318)

from minimatch.

isaacs avatar isaacs commented on June 15, 2024

@jgable The latest glob 3.x doesn't use ^. The latest npm release does not use ^ for inflight (and also bundles inflight). Everything should work fine by default now, unless you're relying on glob@* or something crazy like that.

from minimatch.

kellyrmilligan avatar kellyrmilligan commented on June 15, 2024

I 'm running into this as well, two weeks ago the build worked, and now it doesn't due to this. is there no way to fix this without upgrading all of node?

from minimatch.

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.