Incompatible with current Node version (?)

Having a local install problem in macOS where I see the following after running ‘ghost upgrade’:

Message: Ghost v5.75.2 is not compatible with the current Node version. Your node version is 16.16.0, but Ghost v5.75.2 requires ^18.12.1

Debug Information:

OS: macOS, v14.2.1

Node Version: v16.16.0

Ghost Version: 5.23.0

Ghost-CLI Version: 1.23.0

Environment: development

Command: 'ghost update'

So I found this KB article: Supported node versions for self-hosted installs of Ghost
And tried the first command:

mac-studio:ghost tdominey$ sudo apt-get update
Password:
sudo: apt-get: command not found
mac-studio:ghost tdominey$

Not sure what I’m supposed to do here?

You need to update your local node version on your Mac.

Ghost currently only supports Node 18, whereas you have Node 16 installed:

The commands you found online (apt-get...) don’t work on your Mac, since these are Debian/Ubuntu commands, so the error is expected.

There are many different ways to install Node, so the upgrade process really depends on how you installed it initially. Maybe this article will help:

If you can let us know how specifically you installed node on your Mac, we can guide you through the update process :slight_smile:

1 Like

Thanks for the help. I was eventually able to find the right version of Node (an older build), install it, and get some other issues straightened out with permissions. Now I’m good to go. :)

2 Likes