-
Notifications
You must be signed in to change notification settings - Fork 237
installation fails because of gc'ed promise #8
Comments
Actually, upon closer inspection, something weird is going on here. I can't reproduce - and a bunch of heap inspectors all tell me that we're constantly using less than 50megs (in install alone). Of course, npm has a decently sized overhead when running install. @eljefedelrodeodeljefe might have a point in saying that old-school callbacks could help, so I added those. I'd be extremely thankful if you could try it again (maybe even with |
I appear to have the same problem, used the --production flag. I don't know if the attache log file is of any use?
|
@felixrieseberg @eljefedelrodeodeljefe @MarkDurbin104 I was able to reproduce the error, and I'm currently investigating it. |
I got the same error on my laptop (8GB). Meanwhile I was able to install on my desktop (16GB) without any problem.
|
I think that I found the issue (we're doing some mean recursive calls that add up quickly if launching the underlying installers wait for too long). If anyone who's affected could give it another try, I'd be very thankful. I just installed without errors on a 8.1 VM with 1GB memory and Node 4, so I'm hoping that we made a big leap here. |
Wooohooo... yesterday it failed on my Windows 7 laptop.... today it works perfectly. Thx for this!! |
Awesome, that's great to hear. I hope I'm not doing this prematurely, but I'm closing this issue then. |
All working perfectly for me now too. Windows 10 x64 |
@felixrieseberg Now the output looks good
but the build tools are not installed. Looking at the log from
|
@joaocgreis: According to the logs, the package was installed successfully. It failed to install amd64 build tools, but installed the x86 ones fine. Did you restart your shell?
Files were clearly written, too:
Are you saying that Windows reported the package as installed, but it wasn't actually installed? |
@felixrieseberg MSBuild is indeed installed. But no Visual C++. So yes, it reported as installed, but no compiler is available. (It run quite fast, about 1 minute.. My experience with VCBT is that it takes a lot more to download) |
Fascinating. That's an error with the build tools themselves then, but I'd love to tell the team about what happened here - if you figure anything else out, I'll totally forward it over to them. |
@felixrieseberg This is installing the "Microsoft Build Tools 2015". Shouldn't it be "Microsoft Visual C++ Build Tools 2015"? The link in constants.js should point to |
@joacgreis: This was fixed a few days ago, I just forgot to reply to your comment. It's been live on npm for a few days too, so I assume everyone is happy 😉 |
I am known to be not quite the promise friend. But this broke quickly and I think due to the limited amount of callbacks here, simple callback style would have been better. :-(
For reference:
The text was updated successfully, but these errors were encountered: