00:39:12  * no9joined
00:39:54  <no9>hey ralphtheninja did you manage to repo https://github.com/Level/leveldown/issues/236
00:40:16  <no9>*reproduce
00:54:43  <ralphtheninja>no9: yes I did
00:55:00  <no9>k because I can't :(
00:55:12  <ralphtheninja>no9: https://github.com/julien-f/issue-bundled-leveldown/issues/2
00:55:18  <ralphtheninja>did you try `npm pack`?
00:55:45  <ralphtheninja>you also need an empty node_modules folder so `npm i foo-0.0.0.tgz --verbose` installs into that one
00:56:02  <ralphtheninja>no9: writing a script to reproduce
00:57:35  <no9>ralphtheninja thanks will go again
01:02:34  <ralphtheninja>no9: here https://gist.github.com/ralphtheninja/de1e2ccd1d90bc834454#file-reproduce-sh
01:03:39  <ralphtheninja>no9: a possible npm bug?
01:07:22  <ralphtheninja>no9: if you compare the output from npm it's very different from installing something from scratch to reinstalling something
01:07:52  <ralphtheninja>no9: the second time npm unbuilds, which I assume is cleaning up the binaries (e.g. build/ folder inside leveldown)
01:08:31  <ralphtheninja>the first time you can see that prebuild downloads the binaries and the second time it seems the "install" script inside leveldown isn't even called
01:10:38  <ralphtheninja>no9: the first link are the two logs I get from both npm install
01:12:53  <no9>ralphtheninja thanks
01:12:59  <no9>Yup that's a repro
01:19:26  <no9>ralphtheninja is it a hang on the lock?
01:19:29  <no9>npm verb lock using /home/lms/.npm/_locks/staging-4882e7ec18cfe088.lock for /home/lms/tmp/node_modules/.staging
01:19:43  <no9>In the first run on issue 2 seems to run OK
01:26:08  <no9>Scratch that
01:26:11  <ralphtheninja>npm verb unbuild rmStuff [email protected] from /home/lms/tmp2/node_modules
01:26:11  <ralphtheninja>npm verb unbuild rmStuff in /home/lms/tmp2/node_modules/foo/node_modules
01:26:11  <ralphtheninja>npm info lifecycle [email protected]~postuninstall: [email protected]
01:26:55  <ralphtheninja>the lifecycle messages never do install on leveldown, just on foo .. but it doesn't call install on leveldown for some reason
01:28:05  <no9>Agreed [email protected] install is only called once
01:28:15  <no9>Went off the reservation for a second
01:28:27  <no9>in the first script
01:28:41  <no9>second time round it's ignored
01:30:02  <ralphtheninja>no9: yeap
01:30:15  <no9>just trying 2.14.11
01:30:16  <ralphtheninja>not sure how to get around this .. I mean it's the same npm install command
01:30:23  <ralphtheninja>ok
01:30:55  <ralphtheninja>it seems to me that npm does something wrong, if it works with an empty node_modules folder it should work the second time
01:31:44  <ralphtheninja>no9: you might get another error, something about not finding prebuild
01:32:16  <no9>k so I have a global prebuild
01:32:21  <ralphtheninja>no9: that's related to 'npm i prebuild leveldown' not working, which is also a bug in npm
01:32:27  <ralphtheninja>no9: yeah you need to wipe that
01:32:58  <no9>k so if we use 2.x it fails because of npm bug
01:33:05  <ralphtheninja>yeap
01:33:24  <no9>if we use 3.x it fails because of npm bug
01:33:29  <ralphtheninja>lol yes
01:33:32  <no9>I think I know where this is heading
01:34:00  <ralphtheninja>no9: unless we're doing something wrong in leveldown
01:34:31  <ralphtheninja>no9: but it's an edge case since leveldown is a bundled dependency
01:35:00  <ralphtheninja>I'm not saying for sure that it's a bug in npm, but my gut feeling tells me so hehe
01:35:22  <ralphtheninja>cc mafintosh
01:35:35  <no9>k so I have removed prebuild global
01:36:27  <no9>and yes it fails
01:37:11  <no9>I would log it with them and see if they can add anything to the outputs
01:37:22  <no9>Your script makes a 30 repro
01:37:35  <no9>30 sec
01:37:53  <ralphtheninja>yeah it's important to have easy repro setup
01:38:46  <no9>Yup might be an "ah ha" for someone rather than us splunking around for a few hours
01:39:30  <no9>I believe there a nice set of marsupials over there
01:39:37  <no9>:)
01:46:21  <no9>TBH I don't use npm pack at all
01:46:37  <no9>That's why I was interested in diving in
01:48:38  <no9>ralphtheninja good chatting again bed time in Dublin
01:49:16  <mafintosh>ralphtheninja: no9: is there a new issue?
01:49:54  <ralphtheninja>mafintosh: https://github.com/npm/npm/issues/10428
01:49:57  <ralphtheninja>cc no9
01:49:59  * no9quit (Quit: To the sea of holes)
01:50:23  <ralphtheninja>mafintosh: there's an issue with leveldown as a bundled dependency
02:01:39  * tdfischerquit (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
02:50:32  * sethvincentjoined
03:13:11  * syntaksquit (Remote host closed the connection)
03:13:18  * syntaksjoined
03:13:42  * syntakschanged nick to Guest75418
03:15:25  * Guest75418changed nick to sy
03:15:29  * sychanged nick to syntaks
03:15:34  * syntaksquit (Changing host)
03:15:34  * syntaksjoined
03:36:37  * syntaksquit (Remote host closed the connection)
03:42:24  * syntaksjoined
03:42:48  * syntakschanged nick to Guest18114
04:14:14  * dguttmanquit (Quit: dguttman)
04:54:09  * l1x_joined
04:59:39  * Guest18114changed nick to syntaks
05:00:02  * bensternthalquit (Ping timeout: 246 seconds)
05:00:04  * sethvincentquit (Ping timeout: 246 seconds)
05:00:05  * chapelquit (Ping timeout: 246 seconds)
05:00:08  * l1xquit (Ping timeout: 246 seconds)
05:00:14  * syntakschanged nick to Guest69938
05:00:29  * bensternthaljoined
05:02:12  * dguttmanjoined
05:02:12  * chapeljoined
05:06:20  * l1x_changed nick to l1x
05:18:26  * brycebarilquit (Ping timeout: 240 seconds)
05:18:46  * emilbayes_joined
05:20:17  * richardlitt_joined
05:20:30  * calvinmetcalf_joined
05:21:31  * Raynos_joined
05:21:32  * bret_joined
05:25:23  * richardlittquit (*.net *.split)
05:25:23  * Raynosquit (*.net *.split)
05:25:23  * emilbayesquit (*.net *.split)
05:25:24  * bretquit (*.net *.split)
05:25:25  * calvinmetcalfquit (*.net *.split)
05:26:07  * emilbayes_changed nick to emilbayes
05:27:20  * richardlitt_changed nick to richardlitt
05:27:32  * calvinmetcalf_changed nick to calvinmetcalf
05:29:12  * Raynos_changed nick to Raynos
05:29:35  * bret_changed nick to bret
05:40:00  * brycebariljoined
05:53:55  * dguttmanquit (Quit: dguttman)
06:05:30  * dguttmanjoined
06:08:02  * dguttmanquit (Client Quit)
08:16:55  * jameskyburzjoined
09:39:35  * daleharveyquit (Quit: Connection closed for inactivity)
13:43:59  * leptonixquit (Ping timeout: 276 seconds)
13:45:35  * leptonixjoined
13:49:12  * daleharveyjoined
13:52:06  * Guest69938changed nick to syntaks
13:52:10  * syntaksquit (Changing host)
13:52:10  * syntaksjoined
15:54:16  * dguttmanjoined
16:44:40  * dguttmanquit (Quit: dguttman)
16:45:10  * dguttmanjoined
17:51:33  * brycebarilquit (Ping timeout: 250 seconds)
18:18:57  * dguttmanquit (Quit: dguttman)
19:07:06  * brycebariljoined
19:12:52  * joakino_joined
19:13:16  * joakino_part
19:22:25  * dguttmanjoined
23:44:14  * nrwpart