Not attempting prebuilt install
civ555 opened this issue · 0 comments
Prerequisites
- Put an X between the brackets on this line if you have done all of the following:
- Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
- Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
- Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
- Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
- Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
Attempting to install in a fresh repo does not attempt to pull prebuilt binaries, instead wants to perform a build.
Steps to Reproduce
npm install keytar
- keytar and its dependencies are downloaded
Expected behavior:
it should do
npm run install "install": "prebuild-install || npm run build",
with this in the logfile:
info run keytar@7.9.0 install node_modules/keytar prebuild-install || npm run build
Actual behavior:
runs node-gyp rebuild
.
The prebuild-install is never attempted
with this in the logfile:
info run keytar@7.9.0 install node_modules/keytar node-gyp rebuild
Reproduces how often:
On the machines that are having the issue - every time.
I have gotten it to work on other machines with the same node/npm/keytar versions.
Versions
node 16.14.0
npm 8.3.1
keytar 7.7.0/7.9.0
Windows 10 x64
Additional Information
The issue here is that the install process is not ever attempting to install the prebuilt binaries. All the info i have dug up so far has been about getting node-gyp to work, which is a little different than this situation.