-
-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yarn add
hangs on Electron 12.1/Node 14.16.0
#646
Comments
Update: this is working fine for some others in my organisation, will continue to investigate |
Is it an X64 Windows 11? Have you tried with other package managers? |
Yes x64, I'll give it a go with NPM |
Same issues with NPM |
Has this been tested on lower NodeJS versions, down to the claimed minimum of Node 10.2? Because |
The build should not be triggered normally because we provide prebuilds, and if it is triggered, it should be compatible as we only use Have you tried passing |
Yes, we get verbose output right up until that build step |
Try this in Pwsh: mkdir ./zeromq-test
cd ./zeromq-test
$zeromq_pkg=$(npm view zeromq dist.tarball)
curl -LJO "$zeromq_pkg"
tar -xvf ./zeromq-6.0.0.tgz
cd ./package
npm i --verbose You can play with |
Trying this with The same thing worked with |
I'm using yarn 1.11, so is it failing for the same reason as with NPM 10? |
Ah I see, this line https://github.com/prebuild/node-gyp-build/blob/464e3881600de2107f35fd1c55afff232a768123/bin.js#L75 always being false means that there is never any verbose logging? |
Please try |
It now fails to build, but does so silently. However,
We've forked the zmqjs repo to try to build it ourselves, but can't with Node 14.16.0 but can with Node 16.17.1 (but we're stuck on 14 for now. One cause of this could be that |
There's also a regression in |
Please try 6.0.3 and check if you still see the issue. |
Can't test just yet, but some of those package.json scripts look like they might only work on a Bash/zsh terminal? |
All the scripts are cross-platform and are tested in GitHub Actions. Which specific script are you talking about? |
Can confirm that this has fixed the issue, thanks! |
Great. You're welcome |
Describe the bug
When running
yarn add [email protected]
in my Electron 12.1 (Node 14.16.0) project at the lines:I've left this for over two hours so I'm fairly sure it's not just being slow
Reproducing
yarn add [email protected]
Expected behavior
It installs fine
Tested on
The text was updated successfully, but these errors were encountered: