TryGhost / node-sqlite3

SQLite3 bindings for Node.js
BSD 3-Clause "New" or "Revised" License
6.23k stars 814 forks source link

error when installing sqlite3 with npm #1554

Closed NotFakeAmigo closed 2 years ago

NotFakeAmigo commented 2 years ago

I have problem with installing sqlite3@latest. There is log (I am using node@v16.14.2):

npm info using npm@8.5.0
npm info using node@v16.14.2
npm timing npm:load:whichnode Completed in 0ms
npm timing config:load:defaults Completed in 3ms
npm timing config:load:file:/root/.nvm/versions/node/v16.14.2/lib/node_modules/npm/npmrc Completed in 1ms
npm timing config:load:builtin Completed in 1ms
npm timing config:load:cli Completed in 2ms
npm timing config:load:env Completed in 1ms
npm timing config:load:project Completed in 13ms
npm timing config:load:file:/root/.npmrc Completed in 0ms
npm timing config:load:user Completed in 1ms
npm timing config:load:file:/root/.nvm/versions/node/v16.14.2/etc/npmrc Completed in 0ms
npm timing config:load:global Completed in 0ms
npm timing config:load:validate Completed in 0ms
npm timing config:load:credentials Completed in 1ms
npm timing config:load:setEnvs Completed in 1ms
npm timing config:load Completed in 24ms
npm timing npm:load:configload Completed in 24ms
npm timing npm:load:setTitle Completed in 1ms
npm timing config:load:flatten Completed in 3ms
npm timing npm:load:display Completed in 10ms
npm timing npm:load:logFile Completed in 9ms
npm timing npm:load:timers Completed in 0ms
npm timing npm:load:configScope Completed in 0ms
npm timing npm:load Completed in 45ms
npm timing arborist:ctor Completed in 1ms
npm timing idealTree:init Completed in 44ms
npm timing idealTree:userRequests Completed in 2ms
npm http fetch GET 200 https://registry.npmjs.org/sqlite3 769ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/node-addon-api 38ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/node-pre-gyp 44ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/node-gyp 57ms (cache revalidated)
npm timing idealTree:#root Completed in 839ms
npm http fetch GET 200 https://registry.npmjs.org/nopt 75ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/glob 79ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/fstream 82ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/tar 100ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/rc 102ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/detect-libc 110ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/semver 114ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/rimraf 126ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/npmlog 131ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/request 133ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/which 133ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/graceful-fs 140ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/osenv 140ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/mkdirp 143ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/npm-packlist 723ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/needle 767ms (cache revalidated)
npm timing idealTree:node_modules/sqlite3 Completed in 784ms
npm timing idealTree:node_modules/node-addon-api Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/minimist 121ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/inflight 124ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/are-we-there-yet 122ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/gauge 122ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/abbrev 126ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/path-is-absolute 128ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/console-control-strings 132ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/os-tmpdir 132ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/inherits 142ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/set-blocking 135ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/minimatch 142ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/har-validator 159ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/extend 162ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/combined-stream 163ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/aws-sign2 167ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/http-signature 165ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/os-homedir 177ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/form-data 172ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/mime-types 173ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/json-stringify-safe 174ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/qs 175ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/safe-buffer 178ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/oauth-sign 180ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/is-typedarray 186ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/tunnel-agent 179ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/performance-now 183ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/block-stream 181ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/uuid 182ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/aws4 198ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/isexe 184ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/caseless 200ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/tough-cookie 189ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/fs.realpath 214ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/isstream 202ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/once 739ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/forever-agent 758ms (cache revalidated)
npm timing idealTree:node_modules/node-gyp Completed in 793ms
npm timing idealTree:node_modules/fstream Completed in 2ms
npm http fetch GET 200 https://registry.npmjs.org/wrappy 33ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/brace-expansion 41ms (cache revalidated)
npm timing idealTree:node_modules/glob Completed in 49ms
npm timing idealTree:node_modules/fs.realpath Completed in 0ms
npm timing idealTree:node_modules/graceful-fs Completed in 0ms
npm timing idealTree:node_modules/inflight Completed in 1ms
npm timing idealTree:node_modules/inherits Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/balanced-match 26ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/concat-map 26ms (cache revalidated)
npm timing idealTree:node_modules/minimatch Completed in 29ms
npm timing idealTree:node_modules/brace-expansion Completed in 2ms
npm timing idealTree:node_modules/balanced-match Completed in 0ms
npm timing idealTree:node_modules/concat-map Completed in 0ms
npm timing idealTree:node_modules/mkdirp Completed in 1ms
npm timing idealTree:node_modules/minimist Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/debug 54ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/npm-normalize-package-bin 55ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/npm-bundled 56ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/fs-minipass 53ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/yallist 64ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/minipass 65ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/sax 73ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/ignore-walk 72ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/chownr 69ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/iconv-lite 76ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/deep-extend 76ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/strip-json-comments 76ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/ini 81ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/minizlib 79ms (cache revalidated)
npm timing idealTree:node_modules/node-pre-gyp Completed in 95ms
npm timing idealTree:node_modules/detect-libc Completed in 1ms
npm http fetch GET 200 https://registry.npmjs.org/safer-buffer 24ms (cache revalidated)
npm timing idealTree:node_modules/needle Completed in 27ms
npm timing idealTree:node_modules/iconv-lite Completed in 1ms
npm timing idealTree:node_modules/nopt Completed in 2ms
npm timing idealTree:node_modules/abbrev Completed in 0ms
npm timing idealTree:node_modules/npm-packlist Completed in 4ms
npm timing idealTree:node_modules/ignore-walk Completed in 0ms
npm timing idealTree:node_modules/npm-bundled Completed in 0ms
npm timing idealTree:node_modules/npm-normalize-package-bin Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/string-width 29ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/aproba 34ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/has-unicode 38ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/signal-exit 39ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/object-assign 40ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/strip-ansi 41ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/readable-stream 55ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/delegates 58ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/wide-align 712ms (cache revalidated)
npm timing idealTree:node_modules/npmlog Completed in 725ms
npm http fetch GET 200 https://registry.npmjs.org/string_decoder 54ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/core-util-is 62ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/util-deprecate 60ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/isarray 67ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/process-nextick-args 69ms (cache revalidated)
npm timing idealTree:node_modules/are-we-there-yet Completed in 75ms
npm timing idealTree:node_modules/console-control-strings Completed in 0ms
npm timing idealTree:node_modules/delegates Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/ansi-regex 26ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/code-point-at 34ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/is-fullwidth-code-point 34ms (cache revalidated)
npm timing idealTree:node_modules/gauge Completed in 44ms
npm timing idealTree:node_modules/aproba Completed in 0ms
npm timing idealTree:node_modules/has-unicode Completed in 0ms
npm timing idealTree:node_modules/object-assign Completed in 0ms
npm timing idealTree:node_modules/once Completed in 0ms
npm timing idealTree:node_modules/osenv Completed in 2ms
npm timing idealTree:node_modules/os-homedir Completed in 0ms
npm timing idealTree:node_modules/os-tmpdir Completed in 0ms
npm timing idealTree:node_modules/path-is-absolute Completed in 0ms
npm timing idealTree:node_modules/rc Completed in 3ms
npm timing idealTree:node_modules/deep-extend Completed in 0ms
npm timing idealTree:node_modules/ini Completed in 0ms
npm timing idealTree:node_modules/readable-stream Completed in 8ms
npm timing idealTree:node_modules/core-util-is Completed in 0ms
npm timing idealTree:node_modules/isarray Completed in 0ms
npm timing idealTree:node_modules/process-nextick-args Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/psl 33ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/jsprim 45ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/delayed-stream 54ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/har-schema 54ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/assert-plus 56ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/ajv 59ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/punycode 63ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/asynckit 73ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/mime-db 67ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/sshpk 69ms (cache revalidated)
npm timing idealTree:node_modules/request Completed in 98ms
npm timing idealTree:node_modules/aws-sign2 Completed in 0ms
npm timing idealTree:node_modules/aws4 Completed in 0ms
npm timing idealTree:node_modules/caseless Completed in 0ms
npm timing idealTree:node_modules/combined-stream Completed in 1ms
npm timing idealTree:node_modules/delayed-stream Completed in 0ms
npm timing idealTree:node_modules/extend Completed in 0ms
npm timing idealTree:node_modules/forever-agent Completed in 0ms
npm timing idealTree:node_modules/form-data Completed in 2ms
npm timing idealTree:node_modules/asynckit Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/fast-deep-equal 28ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/uri-js 33ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/json-schema-traverse 39ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/fast-json-stable-stringify 49ms (cache revalidated)
npm timing idealTree:node_modules/har-validator Completed in 52ms
npm timing idealTree:node_modules/ajv Completed in 3ms
npm timing idealTree:node_modules/fast-deep-equal Completed in 0ms
npm timing idealTree:node_modules/fast-json-stable-stringify Completed in 0ms
npm timing idealTree:node_modules/har-schema Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/tweetnacl 30ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/getpass 33ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/dashdash 43ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/verror 47ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/bcrypt-pbkdf 45ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/extsprintf 52ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/ecc-jsbn 50ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/json-schema 59ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/jsbn 56ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/asn1 59ms (cache revalidated)
npm timing idealTree:node_modules/http-signature Completed in 66ms
npm timing idealTree:node_modules/assert-plus Completed in 0ms
npm timing idealTree:node_modules/is-typedarray Completed in 0ms
npm timing idealTree:node_modules/isstream Completed in 0ms
npm timing idealTree:node_modules/json-schema-traverse Completed in 0ms
npm timing idealTree:node_modules/json-stringify-safe Completed in 0ms
npm timing idealTree:node_modules/jsprim Completed in 4ms
npm timing idealTree:node_modules/extsprintf Completed in 0ms
npm timing idealTree:node_modules/json-schema Completed in 0ms
npm timing idealTree:node_modules/mime-types Completed in 1ms
npm timing idealTree:node_modules/mime-db Completed in 0ms
npm timing idealTree:node_modules/oauth-sign Completed in 0ms
npm timing idealTree:node_modules/performance-now Completed in 0ms
npm timing idealTree:node_modules/qs Completed in 0ms
npm timing idealTree:node_modules/rimraf Completed in 0ms
npm timing idealTree:node_modules/safe-buffer Completed in 0ms
npm timing idealTree:node_modules/safer-buffer Completed in 0ms
npm timing idealTree:node_modules/sax Completed in 0ms
npm timing idealTree:node_modules/set-blocking Completed in 0ms
npm timing idealTree:node_modules/signal-exit Completed in 0ms
npm timing idealTree:node_modules/sshpk Completed in 7ms
npm timing idealTree:node_modules/asn1 Completed in 0ms
npm timing idealTree:node_modules/bcrypt-pbkdf Completed in 0ms
npm timing idealTree:node_modules/dashdash Completed in 0ms
npm timing idealTree:node_modules/ecc-jsbn Completed in 0ms
npm timing idealTree:node_modules/getpass Completed in 0ms
npm timing idealTree:node_modules/jsbn Completed in 0ms
npm timing idealTree:node_modules/string_decoder Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/number-is-nan 45ms (cache revalidated)
npm timing idealTree:node_modules/string-width Completed in 48ms
npm timing idealTree:node_modules/code-point-at Completed in 0ms
npm timing idealTree:node_modules/is-fullwidth-code-point Completed in 1ms
npm timing idealTree:node_modules/number-is-nan Completed in 0ms
npm timing idealTree:node_modules/strip-ansi Completed in 1ms
npm timing idealTree:node_modules/ansi-regex Completed in 0ms
npm timing idealTree:node_modules/strip-json-comments Completed in 0ms
npm timing idealTree:node_modules/tar Completed in 1ms
npm timing idealTree:node_modules/block-stream Completed in 0ms
npm timing idealTree:node_modules/tough-cookie Completed in 2ms
npm timing idealTree:node_modules/psl Completed in 0ms
npm timing idealTree:node_modules/punycode Completed in 0ms
npm timing idealTree:node_modules/tunnel-agent Completed in 0ms
npm timing idealTree:node_modules/tweetnacl Completed in 0ms
npm timing idealTree:node_modules/uri-js Completed in 0ms
npm timing idealTree:node_modules/util-deprecate Completed in 0ms
npm timing idealTree:node_modules/verror Completed in 1ms
npm timing idealTree:node_modules/which Completed in 1ms
npm timing idealTree:node_modules/isexe Completed in 0ms
npm timing idealTree:node_modules/wide-align Completed in 0ms
npm timing idealTree:node_modules/wrappy Completed in 0ms
npm timing idealTree:node_modules/needle/node_modules/debug Completed in 0ms
npm timing idealTree:node_modules/node-gyp/node_modules/semver Completed in 0ms
npm timing idealTree:node_modules/node-pre-gyp/node_modules/nopt Completed in 0ms
npm timing idealTree:node_modules/node-pre-gyp/node_modules/semver Completed in 0ms
npm timing idealTree:node_modules/node-pre-gyp/node_modules/tar Completed in 9ms
npm timing idealTree:node_modules/chownr Completed in 0ms
npm timing idealTree:node_modules/fs-minipass Completed in 0ms
npm timing idealTree:node_modules/minipass Completed in 1ms
npm timing idealTree:node_modules/minizlib Completed in 0ms
npm timing idealTree:node_modules/minipass/node_modules/yallist Completed in 0ms
npm timing idealTree:node_modules/node-pre-gyp/node_modules/safe-buffer Completed in 0ms
npm timing idealTree:node_modules/node-pre-gyp/node_modules/yallist Completed in 0ms
npm timing idealTree:node_modules/request/node_modules/uuid Completed in 0ms
npm timing idealTree:node_modules/verror/node_modules/core-util-is Completed in 0ms
npm timing idealTree:buildDeps Completed in 3814ms
npm timing idealTree:fixDepFlags Completed in 2ms
npm timing idealTree Completed in 3866ms
npm timing reify:loadTrees Completed in 3866ms
npm timing reify:diffTrees Completed in 6ms
npm timing reify:retireShallow Completed in 1ms
npm timing reify:createSparse Completed in 27ms
npm timing reify:loadBundles Completed in 0ms
npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 286ms
npm timing auditReport:getReport Completed in 292ms
npm timing metavuln:packument:tar Completed in 0ms
npm timing reifyNode:node_modules/fs-minipass Completed in 370ms
npm timing reifyNode:node_modules/chownr Completed in 371ms
npm timing reifyNode:node_modules/ansi-regex Completed in 371ms
npm timing reifyNode:node_modules/is-fullwidth-code-point Completed in 371ms
npm timing reifyNode:node_modules/number-is-nan Completed in 372ms
npm timing reifyNode:node_modules/code-point-at Completed in 372ms
npm timing reifyNode:node_modules/oauth-sign Completed in 374ms
npm timing reifyNode:node_modules/process-nextick-args Completed in 374ms
npm timing reifyNode:node_modules/strip-json-comments Completed in 375ms
npm timing reifyNode:node_modules/ini Completed in 376ms
npm timing reifyNode:node_modules/os-homedir Completed in 375ms
npm timing reifyNode:node_modules/os-tmpdir Completed in 375ms
npm timing reifyNode:node_modules/strip-ansi Completed in 376ms
npm timing reifyNode:node_modules/string-width Completed in 376ms
npm timing reifyNode:node_modules/object-assign Completed in 377ms
npm timing reifyNode:node_modules/has-unicode Completed in 377ms
npm timing reifyNode:node_modules/aproba Completed in 377ms
npm timing reifyNode:node_modules/wide-align Completed in 378ms
npm timing reifyNode:node_modules/abbrev Completed in 379ms
npm timing reifyNode:node_modules/npm-bundled Completed in 379ms
npm timing reifyNode:node_modules/ignore-walk Completed in 379ms
npm timing reifyNode:node_modules/npm-packlist Completed in 379ms
npm timing reifyNode:node_modules/wrappy Completed in 380ms
npm timing reifyNode:node_modules/brace-expansion Completed in 380ms
npm timing reifyNode:node_modules/once Completed in 380ms
npm timing reifyNode:node_modules/path-is-absolute Completed in 381ms
npm timing reifyNode:node_modules/inflight Completed in 381ms
npm timing reifyNode:node_modules/osenv Completed in 381ms
npm timing reifyNode:node_modules/minizlib Completed in 391ms
npm timing reifyNode:node_modules/minipass Completed in 392ms
npm timing reifyNode:node_modules/block-stream Completed in 392ms
npm timing reifyNode:node_modules/assert-plus Completed in 391ms
npm timing reifyNode:node_modules/tunnel-agent Completed in 392ms
npm timing reifyNode:node_modules/is-typedarray Completed in 392ms
npm timing reifyNode:node_modules/forever-agent Completed in 393ms
npm timing reifyNode:node_modules/caseless Completed in 393ms
npm timing reifyNode:node_modules/aws-sign2 Completed in 394ms
npm timing reifyNode:node_modules/core-util-is Completed in 395ms
npm timing reifyNode:node_modules/signal-exit Completed in 394ms
npm timing reifyNode:node_modules/set-blocking Completed in 395ms
npm timing reifyNode:node_modules/console-control-strings Completed in 395ms
npm timing reifyNode:node_modules/inherits Completed in 395ms
npm timing reifyNode:node_modules/combined-stream Completed in 403ms
npm timing reifyNode:node_modules/util-deprecate Completed in 404ms
npm timing reifyNode:node_modules/balanced-match Completed in 403ms
npm timing reifyNode:node_modules/fs.realpath Completed in 403ms
npm timing reifyNode:node_modules/rimraf Completed in 404ms
npm timing reifyNode:node_modules/minipass/node_modules/yallist Completed in 411ms
npm timing reifyNode:node_modules/node-pre-gyp/node_modules/yallist Completed in 405ms
npm timing reifyNode:node_modules/getpass Completed in 412ms
npm timing reifyNode:node_modules/delayed-stream Completed in 413ms
npm timing reifyNode:node_modules/mime-types Completed in 413ms
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm timing reifyNode:node_modules/har-validator Completed in 413ms
npm timing reifyNode:node_modules/string_decoder Completed in 413ms
npm timing reifyNode:node_modules/safe-buffer Completed in 414ms
npm timing reifyNode:node_modules/deep-extend Completed in 413ms
npm timing reifyNode:node_modules/minimatch Completed in 413ms
npm timing reifyNode:node_modules/which Completed in 414ms
npm timing reifyNode:node_modules/npmlog Completed in 414ms
npm timing reifyNode:node_modules/mkdirp Completed in 414ms
npm timing reifyNode:node_modules/punycode Completed in 422ms
npm timing reifyNode:node_modules/bcrypt-pbkdf Completed in 422ms
npm timing reifyNode:node_modules/json-schema Completed in 423ms
npm timing reifyNode:node_modules/isarray Completed in 423ms
npm timing reifyNode:node_modules/sax Completed in 422ms
npm timing metavuln:cache:get:security-advisory:tar:D364tYbVOX2NtYsZLg+zwk5CMiw8hSTUQ0XusA829a2UvgWRMo/DCY8JLg+5ky5LHN6HRYgbNelPd3ASPcwHUA== Completed in 141ms
npm timing metavuln:load:security-advisory:tar:1067200 Completed in 1ms
npm timing metavuln:calculate:security-advisory:tar:1067200 Completed in 144ms
npm timing metavuln:cache:get:security-advisory:tar:J9eAMkg/RKQcjwMeeZHjRvXi6zMEebMzm24haQgbtZIfcivDmZG+phX6lnzs9cKmnyaCR45KGvnMsY6bJnU00w== Completed in 144ms
npm timing metavuln:load:security-advisory:tar:1067203 Completed in 1ms
npm timing metavuln:calculate:security-advisory:tar:1067203 Completed in 145ms
npm timing metavuln:cache:get:security-advisory:tar:WpNBaAAYC42B091tK8TDaCMnVnPf3s2IrhwtnPee/pd9x/wnwckcLWMhrbbBza+87dG/XMh1ghiO+G5PcZRXgA== Completed in 145ms
npm timing metavuln:load:security-advisory:tar:1067206 Completed in 2ms
npm timing metavuln:calculate:security-advisory:tar:1067206 Completed in 147ms
npm timing metavuln:cache:get:security-advisory:tar:Oy1FqqGf0roQh7YUoVP0LFJek59/bi7Tm446o9WHE5Xohgxm4wj2BBYje44t3y5FN12z3ksflmG/KGav8Y0z2g== Completed in 148ms
npm timing metavuln:load:security-advisory:tar:1067210 Completed in 1ms
npm timing metavuln:calculate:security-advisory:tar:1067210 Completed in 149ms
npm timing metavuln:cache:get:security-advisory:tar:Hoi7lahY/k+MJHN/aQ05fOoF099B/HaU8HlU2kgUcuqkg6tabBqDL7it/O65JFSQenGNnhQKbqfhy1Uslf4s8g== Completed in 149ms
npm timing metavuln:load:security-advisory:tar:1067214 Completed in 1ms
npm timing metavuln:calculate:security-advisory:tar:1067214 Completed in 150ms
npm timing metavuln:packument:node-gyp Completed in 1ms
npm timing reifyNode:node_modules/node-pre-gyp/node_modules/safe-buffer Completed in 432ms
npm timing reifyNode:node_modules/delegates Completed in 439ms
npm timing reifyNode:node_modules/concat-map Completed in 440ms
npm timing reifyNode:node_modules/verror/node_modules/core-util-is Completed in 445ms
npm timing reifyNode:node_modules/isexe Completed in 447ms
npm timing reifyNode:node_modules/jsprim Completed in 446ms
npm timing reifyNode:node_modules/isstream Completed in 446ms
npm timing reifyNode:node_modules/extend Completed in 447ms
npm timing reifyNode:node_modules/aws4 Completed in 448ms
npm timing reifyNode:node_modules/are-we-there-yet Completed in 447ms
npm timing reifyNode:node_modules/safer-buffer Completed in 448ms
npm timing reifyNode:node_modules/detect-libc Completed in 447ms
npm timing reifyNode:node_modules/graceful-fs Completed in 447ms
npm timing reifyNode:node_modules/node-pre-gyp/node_modules/nopt Completed in 447ms
npm timing reifyNode:node_modules/jsbn Completed in 454ms
npm timing reifyNode:node_modules/verror Completed in 454ms
npm timing reifyNode:node_modules/glob Completed in 452ms
npm timing reifyNode:node_modules/node-pre-gyp/node_modules/semver Completed in 452ms
npm timing reifyNode:node_modules/node-gyp/node_modules/semver Completed in 452ms
npm timing reifyNode:node_modules/ecc-jsbn Completed in 459ms
npm timing reifyNode:node_modules/extsprintf Completed in 459ms
npm timing reifyNode:node_modules/json-stringify-safe Completed in 461ms
npm timing reifyNode:node_modules/json-schema-traverse Completed in 464ms
npm timing reifyNode:node_modules/needle/node_modules/debug Completed in 464ms
npm timing reifyNode:node_modules/asn1 Completed in 469ms
npm timing reifyNode:node_modules/fast-deep-equal Completed in 468ms
npm timing reifyNode:node_modules/nopt Completed in 467ms
npm timing reifyNode:node_modules/dashdash Completed in 474ms
npm timing reifyNode:node_modules/rc Completed in 474ms
npm timing reifyNode:node_modules/tough-cookie Completed in 480ms
npm timing metavuln:cache:get:security-advisory:node-gyp:TJ308I6GY9Do1BYM+QXY8b7HUYbEa2LVg8oMFV+ckR8frp+JeoR3RGJBouatRiA0eyxOB/vBEEZvQLW6dsOi1Q== Completed in 46ms
npm timing metavuln:load:security-advisory:node-gyp:D364tYbVOX2NtYsZLg+zwk5CMiw8hSTUQ0XusA829a2UvgWRMo/DCY8JLg+5ky5LHN6HRYgbNelPd3ASPcwHUA== Completed in 1ms
npm timing metavuln:calculate:security-advisory:node-gyp:D364tYbVOX2NtYsZLg+zwk5CMiw8hSTUQ0XusA829a2UvgWRMo/DCY8JLg+5ky5LHN6HRYgbNelPd3ASPcwHUA== Completed in 48ms
npm timing metavuln:packument:sqlite3 Completed in 0ms
npm timing reifyNode:node_modules/form-data Completed in 488ms
npm timing reifyNode:node_modules/http-signature Completed in 489ms
npm timing reifyNode:node_modules/mime-db Completed in 493ms
npm timing reifyNode:node_modules/asynckit Completed in 495ms
npm timing reifyNode:node_modules/performance-now Completed in 496ms
npm timing reifyNode:node_modules/npm-normalize-package-bin Completed in 495ms
npm timing reifyNode:node_modules/fast-json-stable-stringify Completed in 500ms
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm timing reifyNode:node_modules/request/node_modules/uuid Completed in 502ms
npm timing reifyNode:node_modules/tweetnacl Completed in 507ms
npm timing reifyNode:node_modules/har-schema Completed in 507ms
npm timing reifyNode:node_modules/gauge Completed in 506ms
npm timing metavuln:cache:get:security-advisory:sqlite3:L4wBkhwumxrIVQrKsZSIwXrQ3sAdcq6pzQWeq6v2Efl360REkR03zX4ClRqXklLQzhkow2FviINSOeens/obdQ== Completed in 25ms
npm timing metavuln:load:security-advisory:sqlite3:TJ308I6GY9Do1BYM+QXY8b7HUYbEa2LVg8oMFV+ckR8frp+JeoR3RGJBouatRiA0eyxOB/vBEEZvQLW6dsOi1Q== Completed in 1ms
npm timing metavuln:calculate:security-advisory:sqlite3:TJ308I6GY9Do1BYM+QXY8b7HUYbEa2LVg8oMFV+ckR8frp+JeoR3RGJBouatRiA0eyxOB/vBEEZvQLW6dsOi1Q== Completed in 26ms
npm timing auditReport:init Completed in 228ms
npm timing reify:audit Completed in 522ms
npm timing reifyNode:node_modules/minimist Completed in 510ms
npm timing reifyNode:node_modules/fstream Completed in 517ms
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm timing reifyNode:node_modules/request Completed in 523ms
npm timing reifyNode:node_modules/qs Completed in 529ms
npm timing reifyNode:node_modules/readable-stream Completed in 528ms
npm timing reifyNode:node_modules/psl Completed in 533ms
npm timing reifyNode:node_modules/node-pre-gyp/node_modules/tar Completed in 529ms
npm timing reifyNode:node_modules/iconv-lite Completed in 535ms
npm timing reifyNode:node_modules/node-addon-api Completed in 535ms
npm WARN deprecated node-pre-gyp@0.11.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
npm timing reifyNode:node_modules/node-pre-gyp Completed in 535ms
npm timing reifyNode:node_modules/sshpk Completed in 548ms
npm timing reifyNode:node_modules/needle Completed in 552ms
npm timing reifyNode:node_modules/uri-js Completed in 564ms
npm timing reifyNode:node_modules/ajv Completed in 591ms
npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
npm timing reifyNode:node_modules/tar Completed in 593ms
npm timing reifyNode:node_modules/sqlite3 Completed in 599ms
npm timing reifyNode:node_modules/node-gyp Completed in 601ms
npm timing reify:unpack Completed in 609ms
npm timing reify:unretire Completed in 0ms
npm timing build:queue Completed in 5ms
npm timing build:link:node_modules/detect-libc Completed in 4ms
npm timing build:link:node_modules/mkdirp Completed in 3ms
npm timing build:link:node_modules/needle Completed in 4ms
npm timing build:link:node_modules/node-gyp Completed in 4ms
npm timing build:link:node_modules/node-pre-gyp Completed in 3ms
npm timing build:link:node_modules/nopt Completed in 3ms
npm timing build:link:node_modules/rc Completed in 3ms
npm timing build:link:node_modules/rimraf Completed in 4ms
npm timing build:link:node_modules/sshpk Completed in 4ms
npm timing build:link:node_modules/which Completed in 3ms
npm timing build:link:node_modules/node-gyp/node_modules/semver Completed in 5ms
npm timing build:link:node_modules/node-pre-gyp/node_modules/nopt Completed in 5ms
npm timing build:link:node_modules/request/node_modules/uuid Completed in 5ms
npm timing build:link:node_modules/node-pre-gyp/node_modules/semver Completed in 5ms
npm timing build:link Completed in 9ms
npm info run sqlite3@5.0.2 install node_modules/sqlite3 node-pre-gyp install --fallback-to-build
npm info run sqlite3@5.0.2 install { code: 1, signal: null }
npm timing reify:rollback:createSparse Completed in 104ms
npm timing reify:rollback:retireShallow Completed in 0ms
npm timing command:install Completed in 6046ms
npm ERR! code 1
npm ERR! path /root/node_modules/sqlite3
npm ERR! command failed
npm ERR! command sh -c node-pre-gyp install --fallback-to-build
npm ERR! make: Entering directory '/root/node_modules/sqlite3/build'
npm ERR!   CC(target) Release/obj.target/nothing/../node-addon-api/nothing.o
npm ERR!   AR(target) Release/obj.target/../node-addon-api/nothing.a
npm ERR!   COPY Release/nothing.a
npm ERR!   ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3340000/sqlite3.c
npm ERR! make: Leaving directory '/root/node_modules/sqlite3/build'
npm ERR! Failed to execute '/root/.nvm/versions/node/v16.14.2/bin/node /root/.nvm/versions/node/v16.14.2/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/root/node_modules/sqlite3/lib/binding/napi-v3-linux-arm64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/root/node_modules/sqlite3/lib/binding/napi-v3-linux-arm64 --napi_version=8 --node_abi_napi=napi --napi_build_version=3 --node_napi_label=napi-v3' (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.14.2 | linux | arm64
npm ERR! node-pre-gyp WARN Using request for node-pre-gyp https download
npm ERR! node-pre-gyp info check checked for "/root/node_modules/sqlite3/lib/binding/napi-v3-linux-arm64/node_sqlite3.node" (not found)
npm ERR! node-pre-gyp http GET https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.2/napi-v3-linux-arm64.tar.gz
npm ERR! node-pre-gyp http 403 https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.2/napi-v3-linux-arm64.tar.gz
npm ERR! node-pre-gyp WARN Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.2/napi-v3-linux-arm64.tar.gz
npm ERR! node-pre-gyp WARN Pre-built binaries not found for sqlite3@5.0.2 and node@16.14.2 (node-v93 ABI, glibc) (falling back to source compile with node-gyp)
npm ERR! node-pre-gyp http 403 status code downloading tarball https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.2/napi-v3-linux-arm64.tar.gz
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@8.4.1
npm ERR! gyp info using node@16.14.2 | linux | arm64
npm ERR! gyp info ok
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@8.4.1
npm ERR! gyp info using node@16.14.2 | linux | arm64
npm ERR! gyp info find Python using Python version 3.8.10 found at "/usr/bin/python3"
npm ERR! gyp info spawn /usr/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args   '/root/.nvm/versions/node/v16.14.2/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args   'binding.gyp',
npm ERR! gyp info spawn args   '-f',
npm ERR! gyp info spawn args   'make',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/root/node_modules/sqlite3/build/config.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/root/.nvm/versions/node/v16.14.2/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/root/.cache/node-gyp/16.14.2/include/node/common.gypi',
npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
npm ERR! gyp info spawn args   '-Dvisibility=default',
npm ERR! gyp info spawn args   '-Dnode_root_dir=/root/.cache/node-gyp/16.14.2',
npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/root/.nvm/versions/node/v16.14.2/lib/node_modules/npm/node_modules/node-gyp',
npm ERR! gyp info spawn args   '-Dnode_lib_file=/root/.cache/node-gyp/16.14.2/<(target_arch)/node.lib',
npm ERR! gyp info spawn args   '-Dmodule_root_dir=/root/node_modules/sqlite3',
npm ERR! gyp info spawn args   '-Dnode_engine=v8',
npm ERR! gyp info spawn args   '--depth=.',
npm ERR! gyp info spawn args   '--no-parallel',
npm ERR! gyp info spawn args   '--generator-output',
npm ERR! gyp info spawn args   'build',
npm ERR! gyp info spawn args   '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info ok
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@8.4.1
npm ERR! gyp info using node@16.14.2 | linux | arm64
npm ERR! gyp info spawn make
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! /bin/sh: 1: python: not found
npm ERR! make: *** [deps/action_before_build.target.mk:13: Release/obj/gen/sqlite-autoconf-3340000/sqlite3.c] Error 127
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! gyp ERR! stack     at ChildProcess.onExit (/root/.nvm/versions/node/v16.14.2/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:526:28)
npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
npm ERR! gyp ERR! System Linux 5.13.0-1021-oracle
npm ERR! gyp ERR! command "/root/.nvm/versions/node/v16.14.2/bin/node" "/root/.nvm/versions/node/v16.14.2/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/root/node_modules/sqlite3/lib/binding/napi-v3-linux-arm64/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/root/node_modules/sqlite3/lib/binding/napi-v3-linux-arm64" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=3" "--node_napi_label=napi-v3"
npm ERR! gyp ERR! cwd /root/node_modules/sqlite3
npm ERR! gyp ERR! node -v v16.14.2
npm ERR! gyp ERR! node-gyp -v v8.4.1
npm ERR! gyp ERR! not ok
npm ERR! node-pre-gyp ERR! build error
npm ERR! node-pre-gyp ERR! stack Error: Failed to execute '/root/.nvm/versions/node/v16.14.2/bin/node /root/.nvm/versions/node/v16.14.2/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/root/node_modules/sqlite3/lib/binding/napi-v3-linux-arm64/node_sqlite3.node --module_name=node_sqlite3 --module_path=/root/node_modules/sqlite3/lib/binding/napi-v3-linux-arm64 --napi_version=8 --node_abi_napi=napi --napi_build_version=3 --node_napi_label=napi-v3' (1)
npm ERR! node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/root/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
npm ERR! node-pre-gyp ERR! stack     at ChildProcess.emit (node:events:526:28)
npm ERR! node-pre-gyp ERR! stack     at maybeClose (node:internal/child_process:1092:16)
npm ERR! node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
npm ERR! node-pre-gyp ERR! System Linux 5.13.0-1021-oracle
npm ERR! node-pre-gyp ERR! command "/root/.nvm/versions/node/v16.14.2/bin/node" "/root/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
npm ERR! node-pre-gyp ERR! cwd /root/node_modules/sqlite3
npm ERR! node-pre-gyp ERR! node -v v16.14.2
npm ERR! node-pre-gyp ERR! node-pre-gyp -v v0.11.0
npm ERR! node-pre-gyp ERR! not ok
npm timing npm Completed in 6267ms
michaelgambold commented 2 years ago

I too just discovered this. Nothing changed in my codebase.

If you not it has npm ERR! /bin/sh: 1: python: not found (which is the same as mine).

My machine is a mac running 12.3 and they just removed python2 so not sure if this is a factor in this. (Setting alias for python3 to python) did not fix

michaelgambold commented 2 years ago

Included my output as well

npm ERR! code 1
npm ERR! path /Users/michael/Source/pi-garage/service/node_modules/@vscode/sqlite3
npm ERR! command failed
npm ERR! command sh -c node-gyp rebuild
npm ERR! CC(target) Release/obj.target/nothing/../../node-addon-api/nothing.o
npm ERR!   LIBTOOL-STATIC Release/nothing.a
npm ERR!   ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3360000/sqlite3.c
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@8.4.1
npm ERR! gyp info using node@16.14.2 | darwin | arm64
npm ERR! gyp info find Python using Python version 3.9.12 found at "/opt/homebrew/opt/python@3.9/bin/python3.9"
npm ERR! gyp info spawn /opt/homebrew/opt/python@3.9/bin/python3.9
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args   '/opt/homebrew/Cellar/node@16/16.14.2/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args   'binding.gyp',
npm ERR! gyp info spawn args   '-f',
npm ERR! gyp info spawn args   'make',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/Users/michael/Source/pi-garage/service/node_modules/@vscode/sqlite3/build/config.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/opt/homebrew/Cellar/node@16/16.14.2/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/Users/michael/Library/Caches/node-gyp/16.14.2/include/node/common.gypi',
npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
npm ERR! gyp info spawn args   '-Dvisibility=default',
npm ERR! gyp info spawn args   '-Dnode_root_dir=/Users/michael/Library/Caches/node-gyp/16.14.2',
npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/opt/homebrew/Cellar/node@16/16.14.2/lib/node_modules/npm/node_modules/node-gyp',
npm ERR! gyp info spawn args   '-Dnode_lib_file=/Users/michael/Library/Caches/node-gyp/16.14.2/<(target_arch)/node.lib',
npm ERR! gyp info spawn args   '-Dmodule_root_dir=/Users/michael/Source/pi-garage/service/node_modules/@vscode/sqlite3',
npm ERR! gyp info spawn args   '-Dnode_engine=v8',
npm ERR! gyp info spawn args   '--depth=.',
npm ERR! gyp info spawn args   '--no-parallel',
npm ERR! gyp info spawn args   '--generator-output',
npm ERR! gyp info spawn args   'build',
npm ERR! gyp info spawn args   '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info spawn make
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: archive library: Release/nothing.a the table of contents is empty (no object file members in the library define global symbols)
npm ERR! /bin/sh: python: command not found
npm ERR! make: *** [Release/obj/gen/sqlite-autoconf-3360000/sqlite3.c] Error 127
npm ERR! gyp ERR! build error 
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! gyp ERR! stack     at ChildProcess.onExit (/opt/homebrew/Cellar/node@16/16.14.2/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:526:28)
npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
npm ERR! gyp ERR! System Darwin 21.4.0
npm ERR! gyp ERR! command "/opt/homebrew/Cellar/node@16/16.14.2/bin/node" "/opt/homebrew/Cellar/node@16/16.14.2/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd /Users/michael/Source/pi-garage/service/node_modules/@vscode/sqlite3
npm ERR! gyp ERR! node -v v16.14.2
npm ERR! gyp ERR! node-gyp -v v8.4.1
npm ERR! gyp ERR! not ok
michaelgambold commented 2 years ago

So some digging and I can't build node-sqlite3 as a project I get the same error as above.

However when I have a look at the deps/sqlite3.gyp file there is a reference to just "python"

Screen Shot 2022-04-04 at 9 19 59 pm

Even though I have aliased "python" to my homebrew "python3" it does not work

BUT when I change this to python3 instead of python it works and I can build the project

image
michaelgambold commented 2 years ago

Could be duplicate of https://github.com/mapbox/node-sqlite3/issues/1552

garyburgmann commented 2 years ago

Try: https://github.com/TryGhost/node-sqlite3/issues/1556#issuecomment-1096124246

NotFakeAmigo commented 2 years ago

I fixed it with installing @vscode/sqlite3 package and then reinstalling all packages with npm install. Also thanks to everyone for help! šŸ˜€

daniellockyer commented 2 years ago

This should be fixed in sqlite3 v5.0.3 - let me know if you still experience issues šŸ™‚

NatuRal3 commented 1 year ago

brew install vips Solved my issue.