# /usr/lib/node\_modules/ghost-cli/lib/command.js:108

**URL:** <https://forum.ghost.org/t/usr-lib-node-modules-ghost-cli-lib-command-js-108/8368>\
**Category:** Installation\
**Created:** [July 21, 2019, 10:30pm UTC](https://forum.ghost.org/t/usr-lib-node-modules-ghost-cli-lib-command-js-108/8368 "2019-07-21T22:30:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Darkice2](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/darkice2/32/20459_2.png) [@Darkice2](https://forum.ghost.org/u/Darkice2)\
**Post date:** [July 21, 2019, 10:30pm UTC](https://forum.ghost.org/t/usr-lib-node-modules-ghost-cli-lib-command-js-108/8368/1 "2019-07-21T22:30:36Z")

</div>

My ghost install randomly broke after upgrading… no matter what ghost command I run I get this error:

```auto
[poolghost@darkice public_html]$ ghost restart
/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.<anonymous> (/usr/lib/node_modules/ghost-cli/lib/bootstrap.js:6:17)
[poolghost@darkice public_html]$ ghost help
/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.<anonymous> (/usr/lib/node_modules/ghost-cli/lib/bootstrap.js:6:17)

```

I am running CentOS 3.10.0-957.21.3.el7.x86\_64

Please advise how to fix. I am not sure how to check what version I am running since all Ghost commands are now broken…

[poolghost@darkice public\_html]$ node -v  
v6.17.1

---

<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:** [July 22, 2019, 1:55am UTC](https://forum.ghost.org/t/usr-lib-node-modules-ghost-cli-lib-command-js-108/8368/2 "2019-07-22T01:55:20Z")

</div>

> [@Darkice2](#):
>
> [poolghost@darkice public\_html]$ node -v  
> v6.17.1

Node 6 was deprecated in April ;)

You can see what versions of node are supported in the docs:

> **[Supported node versions for self-hosted installs of Ghost](https://ghost.org/docs/faq/node-versions/)**
>
> Self-hosted installs of Ghost are recommended to use the supported node versions to ensure you don't run into any common errors. Find out more information.
