Ghost-CLI "Cannot find any-observable implementation" error

ghost-cli

#1

Hello,

I had an old Ghost installation (from before 1.0) so I said why not try to set up the newest one. I backed up my data, stopped the old instance and cleaned folders, user and groups (because yes the old blog was running under a ghost user).

I’m using n as node version manager (installed globally) because I have a few other Node services that run with other Node version, I am on Ubuntu 16.04, I switched to the latest NodeV6 version (6.14.2 if I’m correct). Installed Ghost-CLI via npm (so probalby the latest stable version). When I ran ghost help to check if it went ok I encountered the following error message

/usr/lib/node_modules/ghost-cli/node_modules/listr/node_modules/stream-to-observable/node_modules/any-observable/register.js:29
            throw new Error('Cannot find any-observable implementation nor' +
            ^
Error: Cannot find any-observable implementation nor global.Observable. You must install polyfill or call require("any-observable/register") 
with your preferred impleme ntation, e.g. require("any-observable/register")('rxjs') on application load prior to any require("any-observable").
at loadImplementation (/usr/lib/node_modules/ghost-cli/node_modules/listr/node_modules/stream-to-observable/node_modules/any-observable/register.js:29:9)
at register (/usr/lib/node_modules/ghost-cli/node_modules/listr/node_modules/stream-to-observable/node_modules/any-observable/loader.js:32:18)
at Object.<anonymous> (/usr/lib/node_modules/ghost-cli/node_modules/listr/node_modules/stream-to-observable/node_modules/any-observable/index.js:2:39)
at Module._compile (module.js:577:32)
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)

So I guess it’s a Node environment issue on my side but I’m far from an expert on that subject so I would greatly appreciate any help on this topic.

Thank you for reading!


#2

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