Skip to content

Instantly share code, notes, and snippets.

@hashcc
Created December 27, 2022 04:42
Show Gist options
  • Save hashcc/04c6932b93a641dcb174abba5aa7936c to your computer and use it in GitHub Desktop.
Save hashcc/04c6932b93a641dcb174abba5aa7936c to your computer and use it in GitHub Desktop.
[~/work/bdash] [search-field]
(・-・) > yarn
yarn install v1.22.19
warning ../package.json: No license field
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
warning " > react-splitter-layout@4.0.0" has unmet peer dependency "prop-types@^15.5.0".
warning " > eslint-plugin-react@7.20.0" has incorrect peer dependency "eslint@^3 || ^4 || ^5 || ^6 || ^7".
[4/4] 🔨 Building fresh packages...
[1/7] ⠈ sqlite3
[-/7] ⠈ waiting...
[6/7] ⠈ electron
[-/7] ⠈ waiting...
error /Users/naoki-hashimoto/Work/bdash/node_modules/sqlite3: Command failed.
Exit code: 1
Command: node-pre-gyp install --fallback-to-build
Arguments:
Directory: /Users/naoki-hashimoto/Work/bdash/node_modules/sqlite3
Output:
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using node-pre-gyp@0.11.0
node-pre-gyp info using node@16.17.0 | darwin | arm64
node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp info check checked for "/Users/naoki-hashimoto/Work/bdash/node_modules/sqlite3/lib/binding/napi-v3-darwin-arm64/node_sqlite3.node" (not found)
node-pre-gyp http GET https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.2/napi-v3-darwin-arm64.tar.gz
node-pre-gyp http 403 https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.2/napi-v3-darwin-arm64.tar.gz
node-pre-gyp WARN Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.2/napi-v3-darwin-arm64.tar.gz
node-pre-gyp WARN Pre-built binaries not found for sqlite3@5.0.2 and node@16.17.0 (node-v93 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp http 403 status code downloading tarball https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.2/napi-v3-darwin-arm64.tar.gz
gyp info it worked if it ends with ok
gyp info using node-gyp@3.8.0
gyp info using node@16.17.0 | darwin | arm64
gyp info ok
gyp info it worked if it ends with ok
gyp info using node-gyp@3.8.0
gyp info using node@16.17.0 | darwin | arm64
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack at PythonFinder.failNoPython (/Users/naoki-hashimoto/Work/bdash/node_modules/node-gyp/lib/configure.js:484:19)
gyp ERR! stack at PythonFinder.<anonymous> (/Users/naoki-hashimoto/Work/bdash/node_modules/node-gyp/lib/configure.js:406:16)
gyp ERR! stack at F (/Users/naoki-hashimoto/Work/bdash/node_modules/node-gyp/node_modules/which/which.js:68:16)
gyp ERR! stack at E (/Users/naoki-hashimoto/Work/bdash/node_modules/node-gyp/node_modules/which/which.js:80:29)
gyp ERR! stack at /Users/naoki-hashimoto/Work/bdash/node_modules/node-gyp/node_modules/which/which.js:89:16
gyp ERR! stack at /Users/naoki-hashimoto/Work/bdash/node_modules/isexe/index.js:42:5
gyp ERR! stack at /Users/naoki-hashimoto/Work/bdash/node_modules/isexe/mode.js:8:5
gyp ERR! stack at FSReqCallback.oncomplete (node:fs:206:21)
gyp ERR! System Darwin 21.6.0
gyp ERR! command "/Users/naoki-hashimoto/.volta/tools/image/node/16.17.0/bin/node" "/Users/naoki-hashimoto/Work/bdash/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/Users/naoki-hashimoto/Work/bdash/node_modules/sqlite3/lib/binding/napi-v3-darwin-arm64/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/Users/naoki-hashimoto/Work/bdash/node_modules/sqlite3/lib/binding/napi-v3-darwin-arm64" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=3" "--node_napi_label=napi-v3"
gyp ERR! cwd /Users/naoki-hashimoto/Work/bdash/node_modules/sqlite3
gyp ERR! node -v v16.17.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/Users/naoki-hashimoto/.volta/tools/image/node/16.17.0/bin/node /Users/naoki-hashimoto/Work/bdash/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/Users/naoki-hashimoto/Work/bdash/node_modules/sqlite3/lib/binding/napi-v3-darwin-arm64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/Users/naoki-hashimoto/Work/bdash/node_modules/sqlite3/lib/binding/napi-v3-darwin-arm64 --napi_version=8 --node_abi_napi=napi --napi_build_version=3 --node_napi_label=napi-v3' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/Users/naoki-hashimoto/Work/bdash/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (node:events:513:28)
node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1093:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
node-pre-gyp ERR! System Darwin 21.6.0
node-pre-gyp ERR! command "/Users/naoki-hashimoto/.volta/tools/image/node/16.17.0/bin/node" "/Users/naoki-hashimoto/Work/bdash/node_modules/sqlite3/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/naoki-hashimoto/Work/bdash/node_modules/sqlite3
node-pre-gyp ERR! node -v v16.17.0
node-pre-gyp ERR! node-pre-gyp -v v0.11.0
node-pre-gyp ERR! not ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment