mapbox / mapbox/node-pre-gyp

Extracting binary download fails on Windows 7 x64 with node 8

Open
#390 1 comment 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

Following up the issue reported in the sqlite3 project https://github.com/mapbox/node-sqlite3/issues/993#issuecomment-393866080 I also want to file this problem here.

It seems that the binary download for sqlite3 installation on windows 7 x64 node 8 succeeds but there seems to be a problem during extraction.

```
node-pre-gyp info using node-pre-gyp@0.9.0
node-pre-gyp info using node@8.11.2 | win32 | x64
node-pre-gyp info check checked for "C:\Users\myuserid\Documents\webapps_SRC\test\objection\examples\express-es6\node_modules\sqlite3\lib\binding\node-v57-win32-x64\node_sqlite3.node" (not found)
node-pre-gyp http GET https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.0.0/node-v57-win32-x64.tar.gz
node-pre-gyp http 200 https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.0.0/node-v57-win32-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not installable for sqlite3@4.0.0 and node@8.11.2 (node-v57 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp ERR! Hit error There was a fatal problem while downloading/extracting the tarball
```

Any idea?

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 node-pre-gyp binary download and extraction on Windows 7 x64 with Node 8.11.2, using the logged sqlite3 v4.0.0 tarball request as the entry point. Trace the download/extraction failure and confirm that installation completes without falling back to node-gyp.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
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.