# Ghost cli shows errors after latest update to 1.11.0

**URL:** <https://forum.ghost.org/t/ghost-cli-shows-errors-after-latest-update-to-1-11-0/7678>\
**Category:** Developer help\
**Created:** [June 8, 2019, 10:43am UTC](https://forum.ghost.org/t/ghost-cli-shows-errors-after-latest-update-to-1-11-0/7678 "2019-06-08T10:43:52Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![stiggy](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/stiggy/32/3740_2.png) [@stiggy](https://forum.ghost.org/u/stiggy)\
**Post date:** [June 8, 2019, 10:43am UTC](https://forum.ghost.org/t/ghost-cli-shows-errors-after-latest-update-to-1-11-0/7678/1 "2019-06-08T10:43:52Z")

</div>

Hello everyone,

trying to get my head around the latest update to ghost CLI, as far as I can tell I am running the latest ghost 2.10.x. My blog works fine but I am no longer able to run my status or update commands as they’re throwing the error below. I’ve tried to find out if anyone else was having similar issues, but either my search skills are poor or I’ve found myself in this unique predicament 🙂  
Happy to provide more context if need be. Thank you in advance for looking into this.

```
ghost-mgr@stig:/var/www/ghost$ npm install ghost-cli -g

```

/usr/bin/ghost -\> /usr/lib/node\_modules/ghost-cli/bin/ghost  
/usr/lib  
└── ghost-cli@1.11.0

ghost-mgr@stig:/var/www/ghost$ ghost status  
/usr/lib/node\_modules/ghost-cli/lib/command.js:108  
static async \_run(commandName, argv = {}, extensions) {  
^^^^

SyntaxError: Unexpected identifier  
at createScript (vm.js:56:10)  
at Object.runInThisContext (vm.js:97:10)  
at Module.\_compile (module.js:549:28)  
at Object.Module.\_extensions…js (module.js:586:10)  
at Module.load (module.js:494:32)  
at tryModuleLoad (module.js:453:12)  
at Function.Module.\_load (module.js:445:3)  
at Module.require (module.js:504:17)  
at require (internal/module.js:20:19)  
at Object. (/usr/lib/node\_modules/ghost-cli/lib/bootstrap.js:6:17)

---

<div class="post-metadata">

**Author:** ![themeix](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/themeix/32/4472_2.png) [@themeix](https://forum.ghost.org/u/themeix)\
**Post date:** [June 8, 2019, 2:29pm UTC](https://forum.ghost.org/t/ghost-cli-shows-errors-after-latest-update-to-1-11-0/7678/2 "2019-06-08T14:29:24Z")

</div>

Please share the following information.

**Ghost-CLI version:**  
**Ghost version:**  
**Node version:**  
**Nodejs version :**

Node version 6 deprecated. Please make sure you are using node 10.x and reinstall the ghost-cli again

Thanks

---

<div class="post-metadata">

**Author:** ![stiggy](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/stiggy/32/3740_2.png) [@stiggy](https://forum.ghost.org/u/stiggy)\
**Post date:** [June 8, 2019, 4:01pm UTC](https://forum.ghost.org/t/ghost-cli-shows-errors-after-latest-update-to-1-11-0/7678/3 "2019-06-08T16:01:39Z")

</div>

I realize this is dumb but can you share or point me to a guide that describes how I can do that?  
I didn’t even know the version I was using was deprecated.  
Many thanks for your support so far.

---

<div class="post-metadata">

**Author:** ![pascalandy](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/pascalandy/32/444_2.png) [@pascalandy](https://forum.ghost.org/u/pascalandy)\
**Post date:** [June 8, 2019, 4:09pm UTC](https://forum.ghost.org/t/ghost-cli-shows-errors-after-latest-update-to-1-11-0/7678/4 "2019-06-08T16:09:07Z")

</div>

It’s all here :) See this section about node:

- [How to install & setup Ghost on Ubuntu 16.04, 18.04, 20.04 or 22.04](https://docs.ghost.org/install/ubuntu/#install-nodejs)
- [Supported node versions for self-hosted installs of Ghost](https://docs.ghost.org/faq/node-versions/)

You can google these easily :)  
Have fun!

---

<div class="post-metadata">

**Author:** ![stiggy](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/stiggy/32/3740_2.png) [@stiggy](https://forum.ghost.org/u/stiggy)\
**Post date:** [June 8, 2019, 4:18pm UTC](https://forum.ghost.org/t/ghost-cli-shows-errors-after-latest-update-to-1-11-0/7678/5 "2019-06-08T16:18:52Z")

</div>

Yes, sir, once you know what you’re going to google for then absolutely, it is easy as with everything else 🙂 Thanks, this is now solved, all I had to do as it turned out was these simple steps (as root):

```
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash
apt-get install -y nodejs

```

Afterwards:

```
root@stig:~# nodejs --version
v10.16.0
npm --version
6.9.0

```

Cheers!

---

<div class="post-metadata">

**Author:** ![pascalandy](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/pascalandy/32/444_2.png) [@pascalandy](https://forum.ghost.org/u/pascalandy)\
**Post date:** [June 8, 2019, 6:33pm UTC](https://forum.ghost.org/t/ghost-cli-shows-errors-after-latest-update-to-1-11-0/7678/6 "2019-06-08T18:33:32Z")

</div>

Glad it’s now working on your side!

### Google idea

```auto
site:ghost.org install node version
site:ghost.org install ghost on ubuntu

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/b/ba9ce5100b8bb264586f4f572545596b2ce3f081.png) [@system](https://forum.ghost.org/u/system)\
**Post date:** [July 3, 2019, 10:59am UTC](https://forum.ghost.org/t/ghost-cli-shows-errors-after-latest-update-to-1-11-0/7678/8 "2019-07-03T10:59:03Z")

</div>

Closed on July 3, 2019, 10:59am UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
