# Node error when upgrading from 2.36.0

**URL:** <https://forum.ghost.org/t/node-error-when-upgrading-from-2-36-0/29074>\
**Category:** Developer help\
**Created:** [March 16, 2022, 6:12pm UTC](https://forum.ghost.org/t/node-error-when-upgrading-from-2-36-0/29074 "2022-03-16T18:12:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![machaerus](https://avatars.discourse-cdn.com/v4/letter/m/47e85d/32.png) [@machaerus](https://forum.ghost.org/u/machaerus)\
**Post date:** [March 16, 2022, 6:12pm UTC](https://forum.ghost.org/t/node-error-when-upgrading-from-2-36-0/29074/1 "2022-03-16T18:12:31Z")

</div>

Hi,

I’m running a self-hosted old version of Ghost (2.36.0), and I’m trying to upgrade it to the newest one. The ghost CLI tool recommends me to first upgrade to the last 2.x version with `ghost update v2`, so that’s what I’m attempting to do now.

My system node version is 12.22.10, but I’m using nvm so I can easily switch.

If I’m trying to run ghost update using node 10.13.0, I’m getting the following error:

```auto
Message: The version of Node.js you are using is not supported.
Supported: ^12.22.1 || ^14.17.0 || ^16.13.0
Installed: 10.13.0
See https://ghost.org/docs/faq/node-versions/ for more information

Debug Information:
    OS: Ubuntu, v18.04.3 LTS
    Node Version: v10.13.0
    Ghost Version: 2.36.0
    Ghost-CLI Version: 1.18.2
    Environment: production
    Command: 'ghost update v2'

```

So I try again with the one that’s supposed to be supported (12.22.1). Then I get the following:

```auto
✖ Downloading and updating Ghost to v2.38.3
A SystemError occurred.

Message: Ghost v2.38.3 is not compatible with the current Node version. Your node version is 12.22.1, but Ghost v2.38.3 requires ^8.10.0 || ^10.13.0

Debug Information:
    OS: Ubuntu, v18.04.3 LTS
    Node Version: v12.22.1
    Ghost Version: 2.36.0
    Ghost-CLI Version: 1.18.2
    Environment: production
    Command: 'ghost update v2'

```

What can I do to make it run?

---

<div class="post-metadata">

**Author:** ![mjw](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/mjw/32/30781_2.png) [@mjw](https://forum.ghost.org/u/mjw)\
**Post date:** [March 16, 2022, 10:31pm UTC](https://forum.ghost.org/t/node-error-when-upgrading-from-2-36-0/29074/2 "2022-03-16T22:31:14Z")

</div>

> [@machaerus](#):
>
> …`but Ghost v2.38.3 requires ^8.10.0 || ^10.13.0`

I suggest you downgrade `node` to one of these.

---

<div class="post-metadata">

**Author:** ![machaerus](https://avatars.discourse-cdn.com/v4/letter/m/47e85d/32.png) [@machaerus](https://forum.ghost.org/u/machaerus)\
**Post date:** [March 21, 2022, 2:18pm UTC](https://forum.ghost.org/t/node-error-when-upgrading-from-2-36-0/29074/3 "2022-03-21T14:18:28Z")

</div>

Thanks for the reply. As I mentioned in my post, I already tried with node v10.13.0 and it failed.

---

<div class="post-metadata">

**Author:** ![mjw](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/mjw/32/30781_2.png) [@mjw](https://forum.ghost.org/u/mjw)\
**Post date:** [March 21, 2022, 3:42pm UTC](https://forum.ghost.org/t/node-error-when-upgrading-from-2-36-0/29074/4 "2022-03-21T15:42:01Z")

</div>

I suspect the issue is that your version of ghost requires no higher than v10, but the version of ghost-cli needs min. of v12.

Your option may be to export the database and rebuild.

---

<div class="post-metadata">

**Author:** ![vikaspotluri123](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/vikaspotluri123/32/24_2.png) [@vikaspotluri123](https://forum.ghost.org/u/vikaspotluri123)\
**Post date:** [March 21, 2022, 3:53pm UTC](https://forum.ghost.org/t/node-error-when-upgrading-from-2-36-0/29074/5 "2022-03-21T15:53:35Z")

</div>

It looks like you’re running into something similar to this issue:

> [@No way to update older sites?](https://forum.ghost.org/t/no-way-to-update-older-sites/27948):
>
> I have a Ghost site running on v1, and I wanted to step through and update to the latest major release, however it appears there’s no way to actually do this. In updating to v2, I get the following error: Ghost v2.38.3 is not compatible with the current Node version. Your node version is 12.22.9, but Ghost v2.38.3 requires ^8.10.0 || ^10.13.0 Downgrading to NodeJS 8 makes the Ghost CLI stop working, but upgrading to a newer release (like NodeJS 12) makes the v2 update fail. Is there any way …

Can you try the solution and see if it works?
