Oh , Thanks @PitaJ ! I guess I m just blind. I totally follow this doc https://docs.nodebb.org/installing/os/osx-mavericks/ , then installed the old version . Thank you , save my whole day
Cong Xu
Posts
-
./nodebb setup Error -
./nodebb setup ErrorHello everyone, I want to setup nodebb on my macbook. But I met an error.
./nodebb setup
Dependencies outdated or not yet installed.
Installing them now...npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/eslint
npm ERR! dev eslint@"5.6.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@"^4.9.0" from [email protected]
npm ERR! node_modules/eslint-config-airbnb-base
npm ERR! dev eslint-config-airbnb-base@"12.1.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /Users/xucong/.npm/eresolve-report.txt for a full report.npm ERR! A complete log of this run can be found in:
npm ERR! /Users/xucong/.npm/_logs/2021-06-12T13_44_00_460Z-debug.log
Error installing dependencies!
message: Command failed: npm install --production
stdout: null
stderr: null
/Users/xucong/Project/NodeBB/NodeBB/src/cli/package-install.js:54
throw e;
^Error: Command failed: npm install --production
at checkExecSyncError (node:child_process:707:11)
at Object.execSync (node:child_process:744:15)
at Object.installAll (/Users/xucong/Project/NodeBB/NodeBB/src/cli/package-install.js:45:9)
at Object.<anonymous> (/Users/xucong/Project/NodeBB/NodeBB/src/cli/index.js:58:18)
at Module._compile (node:internal/modules/cjs/loader:1109:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
at Module.load (node:internal/modules/cjs/loader:989:32)
at Function.Module._load (node:internal/modules/cjs/loader:829:14)
at Module.require (node:internal/modules/cjs/loader:1013:19)
at require (node:internal/modules/cjs/helpers:93:18) {
status: 1,
signal: null,
output: [ null, null, null ],
pid: 11372,
stdout: null,
stderr: null
}Does anyone have any good idea what can I do ?