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)