Skip to content

Instantly share code, notes, and snippets.

@gmp
gmp / debug.log
Created March 9, 2018 23:04
NPM install failure with bundled dependencies [[email protected]]
$ npm i --save ./path/to/package-x.x.x.tgz --verbose
npm info it worked if it ends with ok
npm verb cli [ '/Users/gregpalmer/.nvm/versions/node/v8.10.0/bin/node',
npm verb cli '/Users/gregpalmer/.nvm/versions/node/v8.10.0/bin/npm',
npm verb cli 'i',
npm verb cli '--save',
npm verb cli './path/to/package-x.x.x.tgz',
npm verb cli '--verbose' ]
npm info using [email protected]
npm info using [email protected]
@gmp
gmp / gist:6927324
Last active December 25, 2015 05:49
Test case for queue-flow named queues sharing scope
var q = require('queue-flow');
function scanAll (data, callback) {
console.log('scanAll with data:', data);
var counter = 0;
var items = [];
var end = q();
end