Closed roee-bachar closed 8 months ago
Please send me the detailed log file as referenced in the output above. Also since nodejs here is coming from snap, it could be sandboxing as well
Hello,
Attached both of the log files. Please let me know if anything else is needed.
Best regards, Roee
On Mon, Sep 25, 2023 at 4:52 AM Amitosh Swain Mahapatra < @.***> wrote:
Please send me the detailed log file as referenced in the output above. Also since nodejs here is coming from snap, it could be sandboxing as well
— Reply to this email directly, view it on GitHub https://github.com/kelektiv/node.bcrypt.js/issues/1004#issuecomment-1732784121, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACLYJISX7O44VFXKZDR6A2LX4DPVRANCNFSM6AAAAAA5FJEXOA . You are receiving this because you authored the thread.Message ID: @.***>
Also past the referenced log here:
0 verbose cli /snap/node/7823/bin/node /usr/local/bin/npm 1 info using @. 2 info using @. 3 timing npm:load:whichnode Completed in 13ms 4 timing config:load:defaults Completed in 1ms 5 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 2ms 6 timing config:load:builtin Completed in 2ms 7 timing config:load:cli Completed in 1ms 8 timing config:load:env Completed in 0ms 9 timing config:load:file:/home/roee/Projects/Xxx/Xxx-Systems-Website/.npmrc Completed in 2ms 10 timing config:load:project Completed in 3ms 11 timing config:load:file:/home/roee/.npmrc Completed in 0ms 12 timing config:load:user Completed in 0ms 13 timing config:load:file:/snap/node/7823/etc/npmrc Completed in 1ms 14 timing config:load:global Completed in 1ms 15 timing config:load:setEnvs Completed in 0ms 16 timing config:load Completed in 8ms 17 timing npm:load:configload Completed in 8ms 18 timing config:load:flatten Completed in 1ms 19 timing npm:load:mkdirpcache Completed in 2ms 20 timing npm:load:mkdirplogs Completed in 0ms 21 verbose title npm 22 verbose argv "--version" 23 timing npm:load:setTitle Completed in 0ms 24 timing npm:load:display Completed in 1ms 25 verbose logfile logs-max:10 dir:/home/roee/.npm/_logs/2023-09-25T00_12_09_007Z- 26 verbose logfile /home/roee/.npm/_logs/2023-09-25T00_12_09_007Z-debug-0.log 27 timing npm:load:logFile Completed in 11ms 28 timing npm:load:timers Completed in 0ms 29 timing npm:load:configScope Completed in 0ms 30 timing npm:load Completed in 48ms 31 verbose exit 0 32 timing npm Completed in 51ms 33 info ok
On Mon, Sep 25, 2023 at 10:59 AM Roee Bachar @.***> wrote:
Hello,
Attached both of the log files. Please let me know if anything else is needed.
Best regards, Roee
On Mon, Sep 25, 2023 at 4:52 AM Amitosh Swain Mahapatra < @.***> wrote:
Please send me the detailed log file as referenced in the output above. Also since nodejs here is coming from snap, it could be sandboxing as well
— Reply to this email directly, view it on GitHub https://github.com/kelektiv/node.bcrypt.js/issues/1004#issuecomment-1732784121, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACLYJISX7O44VFXKZDR6A2LX4DPVRANCNFSM6AAAAAA5FJEXOA . You are receiving this because you authored the thread.Message ID: @.***>
I received the following answer at stackoverflow that solved my problem: https://stackoverflow.com/a/77169888/2727951 https://stackoverflow.com/a/77169888/2727951
These 4 lines solved the problem, now my npm version is 9.8.1 instead of 10.1.0. Probably this is the problem.
Best regards.
On Mon, Sep 25, 2023 at 11:06 AM Roee Bachar @.***> wrote:
Also past the referenced log here:
0 verbose cli /snap/node/7823/bin/node /usr/local/bin/npm 1 info using @. 2 info using @. 3 timing npm:load:whichnode Completed in 13ms 4 timing config:load:defaults Completed in 1ms 5 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 2ms 6 timing config:load:builtin Completed in 2ms 7 timing config:load:cli Completed in 1ms 8 timing config:load:env Completed in 0ms 9 timing config:load:file:/home/roee/Projects/Xxx/Xxx-Systems-Website/.npmrc Completed in 2ms 10 timing config:load:project Completed in 3ms 11 timing config:load:file:/home/roee/.npmrc Completed in 0ms 12 timing config:load:user Completed in 0ms 13 timing config:load:file:/snap/node/7823/etc/npmrc Completed in 1ms 14 timing config:load:global Completed in 1ms 15 timing config:load:setEnvs Completed in 0ms 16 timing config:load Completed in 8ms 17 timing npm:load:configload Completed in 8ms 18 timing config:load:flatten Completed in 1ms 19 timing npm:load:mkdirpcache Completed in 2ms 20 timing npm:load:mkdirplogs Completed in 0ms 21 verbose title npm 22 verbose argv "--version" 23 timing npm:load:setTitle Completed in 0ms 24 timing npm:load:display Completed in 1ms 25 verbose logfile logs-max:10 dir:/home/roee/.npm/_logs/2023-09-25T00_12_09_007Z- 26 verbose logfile /home/roee/.npm/_logs/2023-09-25T00_12_09_007Z-debug-0.log 27 timing npm:load:logFile Completed in 11ms 28 timing npm:load:timers Completed in 0ms 29 timing npm:load:configScope Completed in 0ms 30 timing npm:load Completed in 48ms 31 verbose exit 0 32 timing npm Completed in 51ms 33 info ok
On Mon, Sep 25, 2023 at 10:59 AM Roee Bachar @.***> wrote:
Hello,
Attached both of the log files. Please let me know if anything else is needed.
Best regards, Roee
On Mon, Sep 25, 2023 at 4:52 AM Amitosh Swain Mahapatra < @.***> wrote:
Please send me the detailed log file as referenced in the output above. Also since nodejs here is coming from snap, it could be sandboxing as well
— Reply to this email directly, view it on GitHub https://github.com/kelektiv/node.bcrypt.js/issues/1004#issuecomment-1732784121, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACLYJISX7O44VFXKZDR6A2LX4DPVRANCNFSM6AAAAAA5FJEXOA . You are receiving this because you authored the thread.Message ID: @.***>
The actual problem here is the original NodeJS was installed as a snap. Snap puts some restrictions on loading and compiling binaries. Use a nodejs available as a regular (apt) package
Hello,
I"ve read the information bellow :)
Linux Kubuntu 22.04.3 LTS Node.js v18.18.0 LTS npm 10.1.0
installed dependency node-gyp using: npm install node-gyp
tryed to install bcrypt using: npm install bcrypt
received the following error at the Konsole: npm ERR! code 7 npm ERR! path /home/roee/Projects/Xxx/Xxx-Systems-Website/node_modules/bcrypt npm ERR! command failed npm ERR! command sh -c node-pre-gyp install --fallback-to-build
npm ERR! A complete log of this run can be found in: /home/roee/.npm/_logs/2023-09-25T00_07_00_666Z-debug-0.log
this is the content of the log file: 0 verbose cli /snap/node/7823/bin/node /usr/local/bin/npm 1 info using npm@10.1.0 2 info using node@v18.18.0 3 timing npm:load:whichnode Completed in 16ms 4 timing config:load:defaults Completed in 1ms 5 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 0ms 6 timing config:load:builtin Completed in 1ms 7 timing config:load:cli Completed in 0ms 8 timing config:load:env Completed in 1ms 9 timing config:load:file:/home/roee/Projects/Xxx/Xxx-Systems-Website/.npmrc Completed in 2ms 10 timing config:load:project Completed in 2ms 11 timing config:load:file:/home/roee/.npmrc Completed in 0ms 12 timing config:load:user Completed in 0ms 13 timing config:load:file:/snap/node/7823/etc/npmrc Completed in 1ms 14 timing config:load:global Completed in 1ms 15 timing config:load:setEnvs Completed in 0ms 16 timing config:load Completed in 6ms 17 timing npm:load:configload Completed in 6ms 18 timing config:load:flatten Completed in 1ms 19 timing npm:load:mkdirpcache Completed in 1ms 20 timing npm:load:mkdirplogs Completed in 0ms 21 verbose title npm install bcrypt 22 verbose argv "install" "bcrypt" 23 timing npm:load:setTitle Completed in 0ms 24 timing npm:load:display Completed in 0ms 25 verbose logfile logs-max:10 dir:/home/roee/.npm/_logs/2023-09-25T00_07_00_666Z- 26 verbose logfile /home/roee/.npm/_logs/2023-09-25T00_07_00_666Z-debug-0.log 27 timing npm:load:logFile Completed in 9ms 28 timing npm:load:timers Completed in 0ms 29 timing npm:load:configScope Completed in 0ms 30 timing npm:load Completed in 53ms 31 timing arborist:ctor Completed in 1ms 32 silly logfile done cleaning log files 33 timing idealTree:init Completed in 68ms 34 timing idealTree:userRequests Completed in 0ms 35 silly idealTree buildDeps 36 silly fetch manifest bcrypt@ 37 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules 38 http fetch GET 200 https://registry.npmjs.org/bcrypt 223ms (cache revalidated) 39 silly placeDep ROOT bcrypt@5.1.1 OK for: xxx-systems-website@1.0.0 want: 40 silly fetch manifest @mapbox/node-pre-gyp@^1.0.11 41 silly fetch manifest node-addon-api@^5.0.0 42 http fetch GET 200 https://registry.npmjs.org/node-addon-api 121ms (cache revalidated) 43 http fetch GET 200 https://registry.npmjs.org/@mapbox%2fnode-pre-gyp 282ms (cache revalidated) 44 timing idealTree:#root Completed in 508ms 45 silly placeDep ROOT @mapbox/node-pre-gyp@1.0.11 OK for: bcrypt@5.1.1 want: ^1.0.11 46 silly fetch manifest detect-libc@^2.0.0 47 silly fetch manifest make-dir@^3.1.0 48 silly fetch manifest node-fetch@^2.6.7 49 silly fetch manifest nopt@^5.0.0 50 silly fetch manifest npmlog@^5.0.1 51 silly placeDep ROOT node-addon-api@5.1.0 OK for: bcrypt@5.1.1 want: ^5.0.0 52 http fetch GET 200 https://registry.npmjs.org/detect-libc 42ms (cache revalidated) 53 http fetch GET 200 https://registry.npmjs.org/make-dir 43ms (cache revalidated) 54 http fetch GET 200 https://registry.npmjs.org/npmlog 58ms (cache revalidated) 55 http fetch GET 200 https://registry.npmjs.org/node-fetch 64ms (cache revalidated) 56 http fetch GET 200 https://registry.npmjs.org/nopt 139ms (cache revalidated) 57 timing idealTree:node_modules/bcrypt Completed in 147ms 58 silly fetch manifest encoding@^0.1.0 59 http fetch GET 200 https://registry.npmjs.org/encoding 805ms (cache revalidated) 60 silly placeDep ROOT detect-libc@2.0.2 OK for: @mapbox/node-pre-gyp@1.0.11 want: ^2.0.0 61 silly placeDep ROOT make-dir@3.1.0 OK for: @mapbox/node-pre-gyp@1.0.11 want: ^3.1.0 62 silly fetch manifest semver@^6.0.0 63 silly placeDep ROOT node-fetch@2.7.0 OK for: @mapbox/node-pre-gyp@1.0.11 want: ^2.6.7 64 silly fetch manifest whatwg-url@^5.0.0 65 silly placeDep node_modules/@mapbox/node-pre-gyp nopt@5.0.0 OK for: @mapbox/node-pre-gyp@1.0.11 want: ^5.0.0 66 silly placeDep node_modules/@mapbox/node-pre-gyp npmlog@5.0.1 OK for: @mapbox/node-pre-gyp@1.0.11 want: ^5.0.1 67 silly fetch manifest are-we-there-yet@^2.0.0 68 silly fetch manifest gauge@^3.0.0 69 http fetch GET 200 https://registry.npmjs.org/semver 32ms (cache revalidated) 70 http fetch GET 200 https://registry.npmjs.org/gauge 30ms (cache revalidated) 71 http fetch GET 200 https://registry.npmjs.org/are-we-there-yet 36ms (cache revalidated) 72 http fetch GET 200 https://registry.npmjs.org/whatwg-url 96ms (cache revalidated) 73 timing idealTree:node_modules/@mapbox/node-pre-gyp Completed in 913ms 74 timing idealTree:node_modules/detect-libc Completed in 0ms 75 silly placeDep node_modules/make-dir semver@6.3.1 OK for: make-dir@3.1.0 want: ^6.0.0 76 timing idealTree:node_modules/make-dir Completed in 1ms 77 timing idealTree:node_modules/node-addon-api Completed in 0ms 78 silly placeDep ROOT whatwg-url@5.0.0 OK for: node-fetch@2.7.0 want: ^5.0.0 79 silly fetch manifest tr46@~0.0.3 80 silly fetch manifest webidl-conversions@^3.0.0 81 http fetch GET 200 https://registry.npmjs.org/tr46 27ms (cache revalidated) 82 http fetch GET 200 https://registry.npmjs.org/webidl-conversions 28ms (cache revalidated) 83 timing idealTree:node_modules/node-fetch Completed in 39ms 84 silly placeDep ROOT tr46@0.0.3 OK for: whatwg-url@5.0.0 want: ~0.0.3 85 silly placeDep ROOT webidl-conversions@3.0.1 OK for: whatwg-url@5.0.0 want: ^3.0.0 86 timing idealTree:node_modules/whatwg-url Completed in 6ms 87 timing idealTree:node_modules/tr46 Completed in 0ms 88 timing idealTree:node_modules/webidl-conversions Completed in 0ms 89 timing idealTree:node_modules/@mapbox/node-pre-gyp/node_modules/nopt Completed in 0ms 90 silly placeDep node_modules/@mapbox/node-pre-gyp are-we-there-yet@2.0.0 OK for: npmlog@5.0.1 want: ^2.0.0 91 silly placeDep node_modules/@mapbox/node-pre-gyp gauge@3.0.2 OK for: npmlog@5.0.1 want: ^3.0.0 92 silly fetch manifest object-assign@^4.1.1 93 http fetch GET 200 https://registry.npmjs.org/object-assign 24ms (cache revalidated) 94 timing idealTree:node_modules/@mapbox/node-pre-gyp/node_modules/npmlog Completed in 33ms 95 timing idealTree:node_modules/@mapbox/node-pre-gyp/node_modules/are-we-there-yet Completed in 0ms 96 silly placeDep ROOT object-assign@4.1.1 OK for: gauge@3.0.2 want: ^4.1.1 97 timing idealTree:node_modules/@mapbox/node-pre-gyp/node_modules/gauge Completed in 1ms 98 timing idealTree:node_modules/object-assign Completed in 0ms 99 timing idealTree:node_modules/make-dir/node_modules/semver Completed in 0ms 100 timing idealTree:buildDeps Completed in 1649ms 101 timing idealTree:fixDepFlags Completed in 10ms 102 timing idealTree Completed in 1731ms 103 timing reify:loadTrees Completed in 1732ms 104 timing reify:diffTrees Completed in 3ms 105 silly reify moves {} 106 timing reify:retireShallow Completed in 0ms 107 timing reify:createSparse Completed in 10ms 108 timing reify:loadBundles Completed in 0ms 109 silly audit bulk request { 109 silly audit '@isaacs/cliui': [ '8.0.2' ], 109 silly audit 'ansi-regex': [ '6.0.1', '5.0.1' ], 109 silly audit 'emoji-regex': [ '9.2.2', '8.0.0' ], 109 silly audit 'string-width': [ '5.1.2', '4.2.3' ], 109 silly audit 'strip-ansi': [ '7.1.0', '6.0.1' ], 109 silly audit '@npmcli/fs': [ '3.1.0' ], 109 silly audit '@pkgjs/parseargs': [ '0.11.0' ], 109 silly audit '@tootallnate/once': [ '2.0.0' ], 109 silly audit abbrev: [ '1.1.1' ], 109 silly audit accepts: [ '1.3.8' ], 109 silly audit 'agent-base': [ '6.0.2' ], 109 silly audit debug: [ '4.3.4', '2.6.9' ], 109 silly audit ms: [ '2.1.2', '2.0.0', '2.1.3' ], 109 silly audit agentkeepalive: [ '4.5.0' ], 109 silly audit 'aggregate-error': [ '3.1.0' ], 109 silly audit 'ansi-styles': [ '6.2.1', '4.3.0' ], 109 silly audit aproba: [ '2.0.0' ], 109 silly audit 'are-we-there-yet': [ '3.0.1', '2.0.0' ], 109 silly audit 'array-flatten': [ '1.1.1' ], 109 silly audit 'balanced-match': [ '1.0.2' ], 109 silly audit 'body-parser': [ '1.20.1' ], 109 silly audit 'brace-expansion': [ '1.1.11', '2.0.1' ], 109 silly audit bytes: [ '3.1.2' ], 109 silly audit cacache: [ '17.1.4' ], 109 silly audit glob: [ '10.3.7', '7.2.3' ], 109 silly audit minimatch: [ '9.0.3', '3.1.2' ], 109 silly audit minipass: [ '7.0.3', '5.0.0', '3.3.6' ], 109 silly audit 'call-bind': [ '1.0.2' ], 109 silly audit chownr: [ '2.0.0' ], 109 silly audit 'clean-stack': [ '2.2.0' ], 109 silly audit 'color-convert': [ '2.0.1' ], 109 silly audit 'color-name': [ '1.1.4' ], 109 silly audit 'color-support': [ '1.1.3' ], 109 silly audit 'concat-map': [ '0.0.1' ], 109 silly audit 'console-control-strings': [ '1.1.0' ], 109 silly audit 'content-disposition': [ '0.5.4' ], 109 silly audit 'content-type': [ '1.0.5' ], 109 silly audit cookie: [ '0.5.0' ], 109 silly audit 'cookie-signature': [ '1.0.6' ], 109 silly audit 'cross-spawn': [ '7.0.3' ], 109 silly audit delegates: [ '1.0.0' ], 109 silly audit depd: [ '2.0.0' ], 109 silly audit destroy: [ '1.2.0' ], 109 silly audit eastasianwidth: [ '0.2.0' ], 109 silly audit 'ee-first': [ '1.1.1' ], 109 silly audit encodeurl: [ '1.0.2' ], 109 silly audit encoding: [ '0.1.13' ], 109 silly audit 'iconv-lite': [ '0.6.3', '0.4.24' ], 109 silly audit 'env-paths': [ '2.2.1' ], 109 silly audit 'err-code': [ '2.0.3' ], 109 silly audit 'escape-html': [ '1.0.3' ], 109 silly audit etag: [ '1.8.1' ], 109 silly audit 'exponential-backoff': [ '3.1.1' ], 109 silly audit express: [ '4.18.2' ], 109 silly audit finalhandler: [ '1.2.0' ], 109 silly audit 'foreground-child': [ '3.1.1' ], 109 silly audit 'signal-exit': [ '4.1.0', '3.0.7' ], 109 silly audit forwarded: [ '0.2.0' ], 109 silly audit fresh: [ '0.5.2' ], 109 silly audit 'fs-minipass': [ '3.0.3', '2.1.0' ], 109 silly audit 'fs.realpath': [ '1.0.0' ], 109 silly audit 'function-bind': [ '1.1.1' ], 109 silly audit gauge: [ '4.0.4', '3.0.2' ], 109 silly audit 'get-intrinsic': [ '1.2.1' ], 109 silly audit 'graceful-fs': [ '4.2.11' ], 109 silly audit has: [ '1.0.3' ], 109 silly audit 'has-proto': [ '1.0.1' ], 109 silly audit 'has-symbols': [ '1.0.3' ], 109 silly audit 'has-unicode': [ '2.0.1' ], 109 silly audit 'http-cache-semantics': [ '4.1.1' ], 109 silly audit 'http-errors': [ '2.0.0' ], 109 silly audit 'http-proxy-agent': [ '5.0.0' ], 109 silly audit 'https-proxy-agent': [ '5.0.1' ], 109 silly audit 'humanize-ms': [ '1.2.1' ], 109 silly audit imurmurhash: [ '0.1.4' ], 109 silly audit 'indent-string': [ '4.0.0' ], 109 silly audit inflight: [ '1.0.6' ], 109 silly audit inherits: [ '2.0.4' ], 109 silly audit ip: [ '2.0.0' ], 109 silly audit 'ipaddr.js': [ '1.9.1' ], 109 silly audit 'is-fullwidth-code-point': [ '3.0.0' ], 109 silly audit 'is-lambda': [ '1.0.1' ], 109 silly audit isexe: [ '2.0.0' ], 109 silly audit jackspeak: [ '2.3.3' ], 109 silly audit 'lru-cache': [ '7.18.3', '10.0.1', '6.0.0' ], 109 silly audit 'make-fetch-happen': [ '11.1.1' ], 109 silly audit 'media-typer': [ '0.3.0' ], 109 silly audit 'merge-descriptors': [ '1.0.1' ], 109 silly audit methods: [ '1.1.2' ], 109 silly audit mime: [ '1.6.0' ], 109 silly audit 'mime-db': [ '1.52.0' ], 109 silly audit 'mime-types': [ '2.1.35' ], 109 silly audit 'minipass-collect': [ '1.0.2' ], 109 silly audit 'minipass-fetch': [ '3.0.4' ], 109 silly audit 'minipass-flush': [ '1.0.5' ], 109 silly audit 'minipass-pipeline': [ '1.2.4' ], 109 silly audit 'minipass-sized': [ '1.0.3' ], 109 silly audit minizlib: [ '2.1.2' ], 109 silly audit mkdirp: [ '1.0.4' ], 109 silly audit negotiator: [ '0.6.3' ], 109 silly audit 'node-gyp': [ '9.4.0' ], 109 silly audit nopt: [ '6.0.0', '5.0.0' ], 109 silly audit npmlog: [ '6.0.2', '5.0.1' ], 109 silly audit 'object-inspect': [ '1.12.3' ], 109 silly audit 'on-finished': [ '2.4.1' ], 109 silly audit once: [ '1.4.0' ], 109 silly audit 'p-map': [ '4.0.0' ], 109 silly audit parseurl: [ '1.3.3' ], 109 silly audit 'path-is-absolute': [ '1.0.1' ], 109 silly audit 'path-key': [ '3.1.1' ], 109 silly audit 'path-scurry': [ '1.10.1' ], 109 silly audit 'path-to-regexp': [ '0.1.7' ], 109 silly audit 'promise-retry': [ '2.0.1' ], 109 silly audit 'proxy-addr': [ '2.0.7' ], 109 silly audit qs: [ '6.11.0' ], 109 silly audit 'range-parser': [ '1.2.1' ], 109 silly audit 'raw-body': [ '2.5.1' ], 109 silly audit 'readable-stream': [ '3.6.2' ], 109 silly audit retry: [ '0.12.0' ], 109 silly audit rimraf: [ '3.0.2' ], 109 silly audit 'safe-buffer': [ '5.2.1' ], 109 silly audit 'safer-buffer': [ '2.1.2' ], 109 silly audit semver: [ '7.5.4', '6.3.1' ], 109 silly audit send: [ '0.18.0' ], 109 silly audit 'serve-static': [ '1.15.0' ], 109 silly audit 'set-blocking': [ '2.0.0' ], 109 silly audit setprototypeof: [ '1.2.0' ], 109 silly audit 'shebang-command': [ '2.0.0' ], 109 silly audit 'shebang-regex': [ '3.0.0' ], 109 silly audit 'side-channel': [ '1.0.4' ], 109 silly audit 'smart-buffer': [ '4.2.0' ], 109 silly audit socks: [ '2.7.1' ], 109 silly audit 'socks-proxy-agent': [ '7.0.0' ], 109 silly audit ssri: [ '10.0.5' ], 109 silly audit statuses: [ '2.0.1' ], 109 silly audit string_decoder: [ '1.3.0' ], 109 silly audit tar: [ '6.2.0' ], 109 silly audit toidentifier: [ '1.0.1' ], 109 silly audit 'type-is': [ '1.6.18' ], 109 silly audit 'unique-filename': [ '3.0.0' ], 109 silly audit 'unique-slug': [ '4.0.0' ], 109 silly audit unpipe: [ '1.0.0' ], 109 silly audit 'util-deprecate': [ '1.0.2' ], 109 silly audit 'utils-merge': [ '1.0.1' ], 109 silly audit vary: [ '1.1.2' ], 109 silly audit which: [ '2.0.2' ], 109 silly audit 'wide-align': [ '1.1.5' ], 109 silly audit 'wrap-ansi': [ '8.1.0', '7.0.0' ], 109 silly audit wrappy: [ '1.0.2' ], 109 silly audit yallist: [ '4.0.0' ], 109 silly audit bcrypt: [ '5.1.1' ], 109 silly audit '@mapbox/node-pre-gyp': [ '1.0.11' ], 109 silly audit 'node-addon-api': [ '5.1.0' ], 109 silly audit 'detect-libc': [ '2.0.2' ], 109 silly audit 'make-dir': [ '3.1.0' ], 109 silly audit 'node-fetch': [ '2.7.0' ], 109 silly audit 'whatwg-url': [ '5.0.0' ], 109 silly audit tr46: [ '0.0.3' ], 109 silly audit 'webidl-conversions': [ '3.0.1' ], 109 silly audit 'object-assign': [ '4.1.1' ] 109 silly audit } 110 timing reifyNode:node_modules/@mapbox/node-pre-gyp/node_modules/nopt Completed in 55ms 111 timing reifyNode:node_modules/detect-libc Completed in 55ms 112 timing reifyNode:node_modules/make-dir Completed in 60ms 113 timing reifyNode:node_modules/object-assign Completed in 62ms 114 timing reifyNode:node_modules/webidl-conversions Completed in 62ms 115 timing reifyNode:node_modules/node-fetch Completed in 61ms 116 timing reifyNode:node_modules/@mapbox/node-pre-gyp/node_modules/npmlog Completed in 62ms 117 timing reifyNode:node_modules/@mapbox/node-pre-gyp/node_modules/are-we-there-yet Completed in 64ms 118 timing reifyNode:node_modules/make-dir/node_modules/semver Completed in 64ms 119 timing reifyNode:node_modules/whatwg-url Completed in 64ms 120 timing reifyNode:node_modules/tr46 Completed in 69ms 121 timing reifyNode:node_modules/@mapbox/node-pre-gyp/node_modules/gauge Completed in 69ms 122 timing reifyNode:node_modules/node-addon-api Completed in 73ms 123 timing reifyNode:node_modules/bcrypt Completed in 73ms 124 timing reifyNode:node_modules/@mapbox/node-pre-gyp Completed in 76ms 125 timing reify:unpack Completed in 78ms 126 timing reify:unretire Completed in 0ms 127 timing build:queue Completed in 1ms 128 timing build:link:node_modules/@mapbox/node-pre-gyp Completed in 0ms 129 timing build:link:node_modules/@mapbox/node-pre-gyp/node_modules/nopt Completed in 2ms 130 timing build:link:node_modules/make-dir/node_modules/semver Completed in 2ms 131 timing build:link Completed in 2ms 132 info run bcrypt@5.1.1 install node_modules/bcrypt node-pre-gyp install --fallback-to-build 133 info run bcrypt@5.1.1 install { code: 7, signal: null } 134 timing reify:rollback:createSparse Completed in 16ms 135 timing reify:rollback:retireShallow Completed in 0ms 136 timing command:install Completed in 1993ms 137 verbose stack Error: command failed 137 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:53:27)
137 verbose stack at ChildProcess.emit (node:events:517:28)
137 verbose stack at maybeClose (node:internal/child_process:1098:16)
137 verbose stack at ChildProcess._handle.onexit (node:internal/child_process:303:5)
138 verbose pkgid bcrypt@5.1.1
139 verbose cwd /home/roee/Projects/Xxx/Xxx-Systems-Website
140 verbose Linux 6.2.0-33-generic
141 verbose node v18.18.0
142 verbose npm v10.1.0
143 error code 7
144 error path /home/roee/Projects/Xxx/Xxx-Systems-Website/node_modules/bcrypt
145 error command failed
146 error command sh -c node-pre-gyp install --fallback-to-build
147 verbose exit 7
148 timing npm Completed in 2141ms
149 verbose unfinished npm timer reify 1695600420815
150 verbose unfinished npm timer reify:audit 1695600422569
151 verbose unfinished npm timer auditReport:getReport 1695600422569
152 verbose unfinished npm timer reify:build 1695600422650
153 verbose unfinished npm timer build 1695600422650
154 verbose unfinished npm timer build:deps 1695600422650
155 verbose unfinished npm timer build:run:install 1695600422653
156 verbose unfinished npm timer build:run:install:node_modules/bcrypt 1695600422653
157 verbose code 7
158 error A complete log of this run can be found in: /home/roee/.npm/_logs/2023-09-25T00_07_00_666Z-debug-0.log
What am I missing? Best Regards