mapbox / mapbox/node-pre-gyp

React-Native: npm install - npm ERR! path /Users/rs68122/Documents/Morrision/TAS/TAS/node_modules/sqlite3

Open
#671 0 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

Hi Guys,
I am facing challenge to install node_module package and giving below error:
npm ERR! code 1
npm ERR! path /Users/rs68122/Documents/Morrision/TAS/TAS/node_modules/sqlite3
npm ERR! command failed
npm ERR! command sh -c -- node-pre-gyp install --fallback-to-build
npm ERR! ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c
npm ERR! Failed to execute '/usr/local/Cellar/node@16/16.18.0/bin/node /usr/local/Cellar/node@16/16.18.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/rs68122/Documents/Morrision/TAS/TAS/node_modules/sqlite3/lib/binding/node-v93-darwin-x64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/Users/rs68122/Documents/Morrision/TAS/TAS/node_modules/sqlite3/lib/binding/node-v93-darwin-x64 --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v93' (1)
npm ERR! node-pre-gyp info it worked if it ends with ok
npm ERR! node-pre-gyp info using node-pre-gyp@0.11.0
npm ERR! node-pre-gyp info using node@16.18.0 | darwin | x64
npm ERR! node-pre-gyp WARN Using request for node-pre-gyp https download
npm ERR! node-pre-gyp info check checked for "/Users/rs68122/Documents/Morrision/TAS/TAS/node_modules/sqlite3/lib/binding/node-v93-darwin-x64/node_sqlite3.node" (not found)

React-Native : 0.63.0
Node: 16.18.0
React - 16.11.0

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 npm install with React Native 0.63.0, Node 16.18.0, and the reported darwin x64 environment. Inspect the node-pre-gyp download and node-gyp fallback output for sqlite3; done means the dependency installs successfully without the reported npm error.

Written by the indexing model from the issue text.

Assessment

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