Giter Club home page Giter Club logo

Comments (6)

JamieMason avatar JamieMason commented on May 27, 2024

@zkat @iarna would you have any information please on aggregate errors? I've searched "aggregate" in the npm repo but don't find any matches. Any pointers would be a huge help, thanks a lot.

EDIT: I've seen that aggregate errors actually originate from bluebird. Seeing what else I can find further up the stack trace.

from shrinkpack.

iarna avatar iarna commented on May 27, 2024

huh, no, I've not seen those before… can you run again with BLUEBIRD_DEBUG=1 set?

(It'll give a much better stack trace in the debug log.)

from shrinkpack.

iarna avatar iarna commented on May 27, 2024

Looks like it's an array of errors from a call to .some(), when ALL of the promises reject: http://bluebirdjs.com/docs/api/promise.some.html

BLUEBIRD_DEBUG will hopefully show us which .some() in the npm code base is doing this.

from shrinkpack.

JamieMason avatar JamieMason commented on May 27, 2024

To save wasting your time I think this can be closed for now @iarna. I've not been able to reproduce it since and I think the cause will likely be an incorrect package-lock.json produced by shrinkpack. If I see it again I will reopen and add steps to reproduce.

from shrinkpack.

JamieMason avatar JamieMason commented on May 27, 2024

Hi @iarna, I've been able to reproduce this again and have created a new branch at https://github.com/JamieMason/shrinkpack/tree/aggregate-error which should have everything needed to reproduce it, plus the full error logs.

I will take a look at the lines in the stack trace and post anything I find here, thanks.

from shrinkpack.

JamieMason avatar JamieMason commented on May 27, 2024

Closing as duplicate of #83

from shrinkpack.

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.