MacOS ./nodebb setup fail
Solved
Technical Support
-
I'm following the installation https://docs.nodebb.org/installing/os/macOS/ trying to install on MacOS (M chip).
On the last step
./nodebb setup
, it tasks long and final gives the error like below:➜ nodebb git:(v3.x) ./nodebb setup npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. npm warn deprecated @humanwhocodes/[email protected]: Use @eslint/config-array instead npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported npm warn deprecated @humanwhocodes/[email protected]: Use @eslint/object-schema instead npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported npm warn deprecated [email protected]: You or someone you depend on is using Q, the JavaScript Promise library that gave JavaScript developers strong feelings about promises. They can almost certainly migrate to the native JavaScript promise now. Thank you literally everyone for joining me in this bet against the odds. Be excellent to each other. npm warn deprecated npm warn deprecated (For a CapTP with native promises, see @endo/eventual-send and @endo/captp) npm warn deprecated [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. npm warn deprecated [email protected]: This version is no longer supported. Please see https://eslint.org/version-support for other options. npm error code 1 npm error path /Users/william/C/nodebb/node_modules/sharp npm error command failed npm error command sh -c (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy) npm error sharp: Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.14.5/libvips-8.14.5-darwin-arm64v8.tar.br npm error sharp: Please see https://sharp.pixelplumbing.com/install for required dependencies npm error sharp: Installation error: Request timed out npm error A complete log of this run can be found in: /Users/william/.npm/_logs/2024-12-29T02_02_05_869Z-debug-0.log Error installing dependencies! message: Command failed: npm install --omit=dev stdout: null stderr: null /Users/william/C/nodebb/src/cli/index.js:67 throw e; ^ Error: Command failed: npm install --omit=dev at genericNodeError (node:internal/errors:983:15) at wrappedFn (node:internal/errors:537:14) at checkExecSyncError (node:child_process:882:11) at Object.execSync (node:child_process:954:15) at pkgInstall.installAll (/Users/william/C/nodebb/src/cli/package-install.js:129:9) at Object.<anonymous> (/Users/william/C/nodebb/src/cli/index.js:20:19) at Module._compile (node:internal/modules/cjs/loader:1566:14) at Object..js (node:internal/modules/cjs/loader:1718:10) at Module.load (node:internal/modules/cjs/loader:1305:32) at Function._load (node:internal/modules/cjs/loader:1119:12) { status: 1, signal: null, output: [ null, null, null ], pid: 63748, stdout: null, stderr: null } Node.js v23.4.0
What's should I do next then? Not very clear about it. Any help, thanks!
-
@baris said in MacOS ./nodebb setup fail:
Try nodejs 18/20 or 22.
-
Copyright © 2025 NodeBB | Contributors