Error: "settingsCache.get(...).replace is not a function" when restarting

Hi, I’ve installed ghost locally with ghost install local.

It works great, and I can edit and view pages. Then I do ghost stop in the same directory I did the install. Stop works fine. Then, if I try to restart from the same directory using ghost start I get an error.

$ ghost start
Found a development config but not a production config, running in development mode instead
√ Checking current folder permissions
√ Validating config
√ Checking memory availability
× Starting Ghost
A GhostError occurred.

Message: settingsCache.get(...).replace is not a function

Debug Information:
    OS: Microsoft Windows, v10.0.17763
    Node Version: v10.16.0
    Ghost-CLI Version: 1.11.0
    Environment: development
    Command: 'ghost start'

Additional log info available in: C:\Users\zacks\.ghost\logs\ghost-cli-debug-2019-06-14T23_17_46_906Z.log

Try running ghost doctor to check your system for known issues.

You can always refer to https://docs.ghost.org/api/ghost-cli/ for troubleshooting.

The additional log shows:

Debug Information:
    OS: Microsoft Windows, v10.0.17763
    Node Version: v10.16.0
    Ghost-CLI Version: 1.11.0
    Environment: development
    Command: 'ghost start'
Message: settingsCache.get(...).replace is not a function
Stack: Error: settingsCache.get(...).replace is not a function
    at ChildProcess.cp.on (C:\Users\zacks\scoop\persist\nodejs-lts\bin\node_modules\ghost-cli\lib\utils\local-process.js:63:35)
    at ChildProcess.emit (events.js:198:13)
    at emit (internal/child_process.js:832:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)

Any ideas on what is happening?

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