Comments (6)
@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.
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.
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.
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.
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.
Closing as duplicate of #83
from shrinkpack.
Related Issues (20)
- npm install fails after clone with some dependencies HOT 4
- shrinkpack 'is not recognized....' on Windows 10 HOT 3
- --compress flag issues on Windows HOT 6
- Update node & npm versions used in CI HOT 1
- Add support for npm5 HOT 86
- Handle local (file:) dependencies HOT 3
- after upgrate to ionic 3.. npm install failed, I cant create new app HOT 5
- Can't run shrinkpack after upgrading from npm v4.6.1 to v5.0.3 HOT 2
- UnhandledPromiseRejectionWarning: Unhandled promise rejection HOT 7
- Add Monorepo support
- Reference useful npm documentation in readme
- Add guides/recipes HOT 7
- Task: Ensure paths are always / in package lock
- npm 6 support (removed the `npm cache ls`) HOT 1
- Error: ! failed to read contents of npm cache HOT 1
- Integrities are concatenated HOT 5
- failed to read contents of npm cache
- A package+version tarball can be insufficient if platform libraries are needed HOT 2
- { "scripts": { "precompress": "{{ executes BEFORE the `compress` script }}", "compress": "{{ run command to compress files }}", "postcompress": "{{ executes AFTER `compress` script }}" } }
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shrinkpack.