sqlite3@3.1.8 install: `node-pre-gyp install --fallback-to-build`
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.2k
- Forks
- 271
- Avg merge
- 23h 40m
- Merged PRs (30d)
- 2
Description
Failed to install sqlite3.
ENV VERSIONS:
os: macOS 10.12.5
darwin: 16.6.0
node: v6.10.3
node-gyp: v3.6.1
npm: 4.6.1
node-pre-gyp ERR! UNCAUGHT EXCEPTION
node-pre-gyp ERR! stack Error: Unsupported target version: 0.34.2
node-pre-gyp ERR! stack at get_runtime_abi (/Users/jester/Workspaces/ReactNativeWorkspace/my-project/node_modules/sqlite3/node_modules/node-pre-gyp/lib/util/versioning.js:156:23)
node-pre-gyp ERR! stack at Object.module.exports.evaluate (/Users/jester/Workspaces/ReactNativeWorkspace/my-project/node_modules/sqlite3/node_modules/node-pre-gyp/lib/util/versioning.js:277:19)
node-pre-gyp ERR! stack at handle_gyp_opts (/Users/jester/Workspaces/ReactNativeWorkspace/my-project/node_modules/sqlite3/node_modules/node-pre-gyp/lib/util/handle_gyp_opts.js:54:27)
node-pre-gyp ERR! stack at configure (/Users/jester/Workspaces/ReactNativeWorkspace/my-project/node_modules/sqlite3/node_modules/node-pre-gyp/lib/configure.js:11:5)
node-pre-gyp ERR! stack at /Users/jester/Workspaces/ReactNativeWorkspace/my-project/node_modules/sqlite3/node_modules/node-pre-gyp/lib/build.js:35:13
node-pre-gyp ERR! stack at ChildProcess. (/Users/jester/Workspaces/ReactNativeWorkspace/my-project/node_modules/sqlite3/node_modules/node-pre-gyp/lib/util/compile.js:85:9)
node-pre-gyp ERR! stack at emitTwo (events.js:106:13)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:191:7)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:886:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
node-pre-gyp ERR! System Darwin 16.6.0
node-pre-gyp ERR! command "/usr/local/bin/node" "/Users/jester/Workspaces/ReactNativeWorkspace/my-project/node_modules/sqlite3/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/jester/Workspaces/ReactNativeWorkspace/my-project/node_modules/sqlite3
node-pre-gyp ERR! node -v v6.10.3
node-pre-gyp ERR! node-pre-gyp -v v0.6.31
**node-pre-gyp ERR! This is a bug in `node-pre-gyp`.**
node-pre-gyp ERR! Try to update node-pre-gyp and file an issue if it does not help:
node-pre-gyp ERR!
npm WARN lottie-react-native@1.1.1 requires a peer of react@>=15.3.1 but none was installed.
npm WARN react-native-maps@0.12.2 requires a peer of react@>=15.4.0 but none was installed.
npm WARN react-native-svg@4.4.1 requires a peer of react@>=15.4.0 but none was installed.
npm ERR! code ELIFECYCLE
npm ERR! errno 7
npm ERR! sqlite3@3.1.8 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 7
npm ERR!
npm ERR! Failed at the sqlite3@3.1.8 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the sqlite3@3.1.8 install with the reported Node.js, node-gyp, npm, macOS, and node-pre-gyp versions. Inspect node-pre-gyp/lib/util/versioning.js around get_runtime_abi and the install path in node-pre-gyp/lib/configure.js; done means the reported target version is handled correctly or the failure is clearly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs, sqlite
- Domain
- build-system, databases, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100