Ghost process exited with code: 0, even after reinstalling Node and ghost-cli

Hey guys, I keep having a problem with Ghost immediately shutting down after installation. The error is very vague, any ideas as to what might be the problem?

  • What’s your URL? localhost
  • What version of Ghost are you using? 5.34.1
  • How was Ghost installed and configured? This is a fresh ghost install local. Even ghost-cli and Node were reinstalled.
  • What Node version, database, OS & browser are you using? Node 18.14.1, SQLite, Windows 11, Google Chrome

What errors or information do you see in the console?

1) GhostError

Message: Ghost process exited with code: 0

Debug Information:
    OS: Microsoft Windows 11 Home, v10.0.22621
    Node Version: v18.14.1
    Ghost Version: 5.34.1
    Ghost-CLI Version: 1.24.0
    Environment: development
    Command: 'ghost install local'
Message: Ghost process exited with code: 0
Stack: Error: Ghost process exited with code: 0
    at ChildProcess.<anonymous> (C:\Users\samvn\AppData\Roaming\npm\node_modules\ghost-cli\lib\utils\local-process.js:68:24)
    at ChildProcess.emit (node:events:513:28)
    at ChildProcess._handle.onexit (node:internal/child_process:291:12)

What steps could someone else take to reproduce the issue you’re having?

  1. Install Ghost using ghost install local. This process fails when the install script tries to launch the Ghost instance.
  2. Remove Node 16, install Node 18.
  3. Retry installing Ghost using ghost install local. This process again fails when the install script tries to launch the Ghost instance.