Giter VIP home page Giter VIP logo

Comments (6)

medikoo avatar medikoo commented on June 3, 2024

@timoxley I believe you need to run npm cache clean, and reinstall kraken or whichever utility that is affected.

It looks that your npm keeps in cache event-emitter as installed from github not npm, which might have happened if at some point if you used any of my modules in pre-release v0.0.0 versions (e.g. old version of es6-map, in package.json it linked event-emitter from github).

This case no longer exists in npm modules I maintain, and I won't bring back any github dependencies to them. Sorry for confusion it made.

I'm closing it, but if for some reason it doesn't solve the issue and you have more details. Let me know.

from d.

medikoo avatar medikoo commented on June 3, 2024

I would also call it a bug in npm. It should not rely on versions that are in package.json if package is installed direclty from git repository. It should not be added to cache and treated as npm published dependency in such case.

from d.

timoxley avatar timoxley commented on June 3, 2024

@medikoo thanks, cache clean did fix it, how irritating!

from d.

timoxley avatar timoxley commented on June 3, 2024

@medikoo perhaps open an issue on npm/npm?

from d.

medikoo avatar medikoo commented on June 3, 2024

I just found one directly related: npm/npm#4042 and most likely there are few more

from d.

timoxley avatar timoxley commented on June 3, 2024

@medikoo thanks! if I get a chance I'll follow up with a PR, see if we can get this fixed, it's pretty broken behaviour.

from d.

Related Issues (16)

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.