Path: /faq/node-versions
The node compatibility matrix lists node ^18.12.1 for ghost version >= 5.110.0; however, when attempting to upgrade from 5.71.2 to 5.130.6 (ghost upgrade v5), I hit the following error:
✖ Downloading and updating Ghost to v5.130.6
A ProcessError occurred.
Message: Command failed: yarn install --no-emoji --no-progress
warning ../../../package.json: No license field
warning ghost@5.130.6: The engine "cli" appears to be invalid.
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.27.0"
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.27.0"
warning Resolution field "@tryghost/errors@1.3.8" is incompatible with requested version "@tryghost/errors@1.3.6"
warning Resolution field "@tryghost/logging@2.4.23" is incompatible with requested version "@tryghost/logging@2.4.19"
warning Resolution field "jackspeak@2.3.6" is incompatible with requested version "jackspeak@^3.1.2"
warning lru.min@1.1.1: The engine "bun" appears to be invalid.
warning lru.min@1.1.1: The engine "deno" appears to be invalid.
error mocha@11.7.1: The engine "node" is incompatible with this module. Expected version "^18.18.0 || ^20.9.0 || >=21.1.0". Got "18.12.1"
error Found incompatible module.
trying again with node version 18.18.2 and the upgrade appeared to work fine;
I'm unclear on when that dependency is introduced with the specific node ^18.18.0 requirement, but it would be great if the documentation could be updated.
I believe it's critical that accurate information is maintained in the node compatibility matrix, as it's the only way to manage the stepped upgrade process for out-dated ghost instances when both ghost & node are needing upgraded together.
(it would be useful to extend that matrix to include the node version support for the ghost-cli tool too, but I imagine that would be very niche / low priority).
Path: /faq/node-versions
The node compatibility matrix lists node
^18.12.1for ghost version>= 5.110.0; however, when attempting to upgrade from5.71.2to5.130.6(ghost upgrade v5), I hit the following error:trying again with node version 18.18.2 and the upgrade appeared to work fine;
I'm unclear on when that dependency is introduced with the specific node
^18.18.0requirement, but it would be great if the documentation could be updated.I believe it's critical that accurate information is maintained in the node compatibility matrix, as it's the only way to manage the stepped upgrade process for out-dated ghost instances when both ghost & node are needing upgraded together.
(it would be useful to extend that matrix to include the node version support for the ghost-cli tool too, but I imagine that would be very niche / low priority).