i tried to install ghost for the second one on the subdomain, but i have a problem. Unlike the first in the main domain everything is smooth.
you can see the error:
[m.anwarsafii.dev (14)] [beritawa@champagne m.anwarsafii.dev]$ ghost install local
Love open source? We’re hiring JavaScript Engineers to work on Ghost full-time.
https://careers.ghost.org
✔ Checking system Node.js version - found v14.20.1
✔ Checking current folder permissions
✔ Checking memory availability
✔ Checking free space
✔ Checking for latest Ghost version
✔ Setting up install directory
✖ Downloading and installing Ghost v5.36.0
A ProcessError occurred.
Message: Command failed: yarn install --no-emoji --no-progress
warning ghost@5.36.0: The engine "cli" appears to be invalid.
warning Resolution field "@elastic/elasticsearch@8.5.0" is incompatible with requested version "@elastic/elasticsearch@8.6.0"
warning Resolution field "moment@2.24.0" is incompatible with requested version "moment@^2.29.1"
warning Resolution field "moment@2.24.0" is incompatible with requested version "moment@2.29.1"
warning Resolution field "moment@2.24.0" is incompatible with requested version "moment@^2.27.0"
warning Resolution field "moment-timezone@0.5.23" is incompatible with requested version "moment-timezone@^0.5.31"
warning Resolution field "moment@2.24.0" is incompatible with requested version "moment@2.29.4"
warning Resolution field "moment@2.24.0" is incompatible with requested version "moment@2.29.4"
warning Resolution field "moment-timezone@0.5.23" is incompatible with requested version "moment-timezone@0.5.34"
warning Resolution field "moment@2.24.0" is incompatible with requested version "moment@2.29.1"
warning Resolution field "moment@2.24.0" is incompatible with requested version "moment@2.29.3"
warning Resolution field "@tryghost/logging@2.4.0" is incompatible with requested version "@tryghost/logging@2.3.6"
warning Resolution field "moment-timezone@0.5.23" is incompatible with requested version "moment-timezone@^0.5.33"
warning Resolution field "moment@2.24.0" is incompatible with requested version "moment@2.27.0"
warning Resolution field "moment@2.24.0" is incompatible with requested version "moment@^2.29.1"
warning "@tryghost/kg-lexical-html-renderer > @lexical/rich-text@0.7.9" has unmet peer dependency "@lexical/selection@0.7.9".
warning "@tryghost/kg-lexical-html-renderer > @lexical/rich-text@0.7.9" has unmet peer dependency "@lexical/utils@0.7.9".
warning " > bookshelf@1.2.0" has incorrect peer dependency "knex@>=0.15.0 <0.22.0".
warning " > mock-knex@0.4.9" has incorrect peer dependency "knex@> 0.8 < 2.1".
warning Workspaces can only be enabled in private projects.
events.js:377
throw er; // Unhandled 'error' event
^
Error: read ENOTCONN
at tryReadStart (net.js:586:20)
at Socket._read (net.js:597:5)
at Socket.Readable.read (internal/streams/readable.js:465:10)
at Socket.read (net.js:638:39)
at new Socket (net.js:389:12)
at Object.Socket (net.js:282:41)
at createSocket (internal/child_process.js:322:14)
at ChildProcess.spawn (internal/child_process.js:440:23)
at spawn (child_process.js:677:9)
at Object.spawnWithSignal [as spawn] (child_process.js:911:17)
Emitted 'error' event on Socket instance at:
at emitErrorNT (internal/streams/destroy.js:106:8)
at emitErrorCloseNT (internal/streams/destroy.js:74:3)
at processTicksAndRejections (internal/process/task_queues.js:82:21) {
errno: -107,
code: 'ENOTCONN',
syscall: 'read'
}
yarn install v1.22.19
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
[5/5] Building fresh packages...
Exit code: 1
Debug Information:
OS: unknown, vunknown
Node Version: v14.20.1
Ghost-CLI Version: 1.24.0
Environment: development
Command: 'ghost install local'
Additional log info available in: /home/beritawa/.ghost/logs/ghost-cli-debug-2023-03-02T08_02_24_086Z.log
Try running ghost doctor to check your system for known issues.
You can always refer to https://ghost.org/docs/ghost-cli/ for troubleshooting.
i dont understand what is this