mapbox / mapbox/node-pre-gyp

Installing pre-built binaries fails on Windows

Open
#374 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.2k
Forks
271
Avg merge
23h 40m
Merged PRs (30d)
2

Description

Installing a module including `node-pre-gyp` fails for me on Windows with the following error message (or similar, depending on the version)
```
node-pre-gyp WARN Pre-built binaries not installable for node-aead-crypto@1.1.3 and node@8.10.0 (node-v57 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp WARN Hit error ENOTDIR: Cannot cd into 'C:\Users\domin\Documents\Visual Studio 2017\Repositories\node-dtls-client\node_modules\node-aead-crypto\build\Release\node-v57-win32-x64'
```

I've tried versions `0.9.1`, `0.7.0` and https://github.com/mapbox/node-pre-gyp/pull/371
Before that I had `0.6.38` which fails with "error downloading", although the package it tries to download is actually downloadable.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Windows installation failure with node-pre-gyp and the reported node-aead-crypto package. Inspect the build\Release\node-v57-win32-x64 path and the earlier download error, using the reported Node.js versions as comparison points. Done means pre-built binaries install successfully on Windows instead of falling back to a failing source compile.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
build-system, operating-systems, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.