New to Ghost, I tried to deploy it in an IPv6-only server on EC2 (that will eventually be sitting behind cloudflare, hence will be accessible from v4 and v6 clients.
The installation failed like so:
✔ Checking system Node.js version - found v20.18.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.105.0
A ProcessError occurred.
Message: Command failed: yarn install --no-emoji --no-progress
warning ghost@5.105.0: The engine "cli" appears to be invalid.
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.4"
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@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.45" is incompatible with requested version "moment-timezone@0.5.34"
warning Resolution field "jackspeak@2.1.1" is incompatible with requested version "jackspeak@^3.1.2"
warning Resolution field "@tryghost/logging@2.4.18" is incompatible with requested version "@tryghost/logging@2.4.19"
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/errors@1.3.5" is incompatible with requested version "@tryghost/errors@^1.3.6"
warning Resolution field "@tryghost/errors@1.3.5" is incompatible with requested version "@tryghost/errors@^1.3.6"
warning Resolution field "@tryghost/errors@1.3.5" is incompatible with requested version "@tryghost/errors@^1.3.6"
warning Resolution field "moment@2.24.0" is incompatible with requested version "moment@2.27.0"
warning Resolution field "@tryghost/errors@1.3.5" is incompatible with requested version "@tryghost/errors@1.3.1"
warning Resolution field "@tryghost/logging@2.4.18" is incompatible with requested version "@tryghost/logging@2.4.10"
warning Resolution field "moment@2.24.0" is incompatible with requested version "moment@^2.29.1"
error An unexpected error occurred: "https://codeload.github.com/TryGhost/mock-knex/tar.gz/d8b93b1c20d4820323477f2c60db016ab3e73192: ETIMEDOUT".
yarn install v1.22.19
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info If you think this is a bug, please open a bug report with the information provided in "/var/www/ap/versions/5.105.0/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Exit code: 1
Debug Information:
OS: Ubuntu, v24.04.1 LTS
Node Version: v20.18.1
Ghost-CLI Version: 1.26.1
Environment: production
Command: 'ghost install'
any workaround to get ghost deployed in a v6-only environment? all other components in my planned stack got deployed with zero issues.