Ghost Install from Source: yarn dev runs ghost many times before failing

Hi! I’m trying to get Ghost installed from source on my Windows 11 PC so that I can contribute to the Admin Ember.js application, but am struggling to get up and running.

Whenever I try “yarn dev” I just get my console spammed with “[ghost] Restarting ‘index.js’” in the console. Initially, as in the error log below, this message shows only a few times, but with repeated attempts at yarn dev, it was filling up the entire console log. After I cleared yarn’s cache, deleted node_modules (using a workaround because “yarn fix” command provided uses rm -rf which is not supported on windows), I still have had no dice.

Running “yarn dev:admin” seems to not show any [ghost] commands in the admin panel, but navigating to the URL just leaves me facing a screen of the ghost loading page in perpetuity.

Node.js v18.15.0, Yarn 1.22.19, ember-cli 4.11.0, knex-migrator 5.1.2.

yarn dev
yarn run v1.22.19
$ node .github/dev.js
[ghost] (node:35572) ExperimentalWarning: Watch mode is an experimental feature and might change at any time
[ghost] (Use `node --trace-warnings ...` to show where the warning was created)
$ ember serve --live-reload-base-url=/ghost/ --live-reload-port=4201
[ghost] Restarting 'index.js'
[ghost] Restarting 'index.js'
[ghost] Restarting 'index.js'
[ghost] Restarting 'index.js'
[ghost] Restarting 'index.js'
[ghost] Restarting 'index.js'
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:02:43] INFO Ghost is running in development...
[ghost] [2023-03-25 20:02:43] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:02:43] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:02:43] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:02:43] INFO Ghost server started in 0.996s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:02:44] INFO Ghost is running in development...
[ghost] [2023-03-25 20:02:44] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:02:44] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:02:44] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:02:44] INFO Ghost server started in 0.964s
[ghost] [2023-03-25 20:02:45] INFO Database is in a ready state.
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:02:46] INFO Ghost is running in development...
[ghost] [2023-03-25 20:02:46] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:02:46] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:02:46] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:02:46] INFO Ghost server started in 1.03s
[ghost] [2023-03-25 20:02:46] INFO Database is in a ready state.
[admin] WARNING: Node v18.15.0 is not tested against Ember CLI on your platform. We recommend that you use the most-recent "Active LTS" version of Node.js. See https://git.io/v7S5n for details.
[ghost] [2023-03-25 20:02:46] INFO Ghost database ready in 1.423s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:02:48] INFO Ghost is running in development...
[ghost] [2023-03-25 20:02:48] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:02:48] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:02:48] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:02:48] INFO Ghost server started in 0.978s
[ghost] [2023-03-25 20:02:48] INFO Database is in a ready state.
[ghost] [2023-03-25 20:02:48] INFO Ghost database ready in 1.381s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:02:50] INFO Ghost is running in development...
[ghost] [2023-03-25 20:02:50] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:02:50] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:02:50] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:02:50] INFO Ghost server started in 0.998s
[ghost] [2023-03-25 20:02:50] INFO Database is in a ready state.
[ghost] [2023-03-25 20:02:50] INFO Ghost database ready in 1.374s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:02:52] INFO Ghost is running in development...
[ghost] [2023-03-25 20:02:52] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:02:52] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:02:52] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:02:52] INFO Ghost server started in 0.98s
[ghost] [2023-03-25 20:02:52] INFO Database is in a ready state.
[ghost] [2023-03-25 20:02:52] INFO Ghost database ready in 1.363s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:02:53] INFO Ghost is running in development...
[ghost] [2023-03-25 20:02:53] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:02:53] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:02:53] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:02:53] INFO Ghost server started in 0.969s
[ghost] [2023-03-25 20:02:54] INFO Database is in a ready state.
[ghost] [2023-03-25 20:02:54] INFO Ghost database ready in 1.342s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:02:55] INFO Ghost is running in development...
[ghost] [2023-03-25 20:02:55] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:02:55] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:02:55] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:02:55] INFO Ghost server started in 0.978s
[ghost] [2023-03-25 20:02:56] INFO Database is in a ready state.
[ghost] [2023-03-25 20:02:56] INFO Ghost database ready in 1.343s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:02:57] INFO Ghost is running in development...
[ghost] [2023-03-25 20:02:57] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:02:57] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:02:57] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:02:57] INFO Ghost server started in 1.006s
[ghost] [2023-03-25 20:02:57] INFO Database is in a ready state.
[ghost] [2023-03-25 20:02:58] INFO Ghost database ready in 1.386s
[ghost] Restarting 'index.js'
[admin] - building...
[ghost] [2023-03-25 20:02:59] INFO Ghost is running in development...
[ghost] [2023-03-25 20:02:59] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:02:59] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:02:59] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:02:59] INFO Ghost server started in 1.191s
[ghost] [2023-03-25 20:03:00] INFO Database is in a ready state.
[ghost] [2023-03-25 20:03:00] INFO Ghost database ready in 2.031s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:03:03] INFO Ghost is running in development...
[ghost] [2023-03-25 20:03:03] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:03:03] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:03:03] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:03:03] INFO Ghost server started in 1.822s
[ghost] [2023-03-25 20:03:04] INFO Database is in a ready state.
[ghost] [2023-03-25 20:03:04] INFO Ghost database ready in 2.583s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:03:07] INFO Ghost is running in development...
[ghost] [2023-03-25 20:03:07] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:03:07] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:03:07] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:03:07] INFO Ghost server started in 2.202s
[ghost] [2023-03-25 20:03:08] INFO Database is in a ready state.
[ghost] [2023-03-25 20:03:08] INFO Ghost database ready in 3.022s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:03:11] INFO Ghost is running in development...
[ghost] [2023-03-25 20:03:11] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:03:11] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:03:11] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:03:11] INFO Ghost server started in 2.091s
[ghost] [2023-03-25 20:03:12] INFO Database is in a ready state.
[ghost] [2023-03-25 20:03:12] INFO Ghost database ready in 3.08s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:03:16] INFO Ghost is running in development...
[ghost] [2023-03-25 20:03:16] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:03:16] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:03:16] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:03:16] INFO Ghost server started in 1.056s
[ghost] [2023-03-25 20:03:16] INFO Database is in a ready state.
[ghost] [2023-03-25 20:03:16] INFO Ghost database ready in 1.457s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:03:18] INFO Ghost is running in development...
[ghost] [2023-03-25 20:03:18] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:03:18] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:03:18] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:03:18] INFO Ghost server started in 1.33s
[ghost] [2023-03-25 20:03:18] INFO Database is in a ready state.
[ghost] [2023-03-25 20:03:19] INFO Ghost database ready in 2.065s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:03:21] INFO Ghost is running in development...
[ghost] [2023-03-25 20:03:21] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:03:21] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:03:21] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:03:21] INFO Ghost server started in 1.088s
[ghost] [2023-03-25 20:03:21] INFO Database is in a ready state.
[ghost] [2023-03-25 20:03:21] INFO Ghost database ready in 1.482s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:03:23] INFO Ghost is running in development...
[ghost] [2023-03-25 20:03:23] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:03:23] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:03:23] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:03:23] INFO Ghost server started in 1.24s
[ghost] [2023-03-25 20:03:24] INFO Database is in a ready state.
[ghost] [2023-03-25 20:03:24] INFO Ghost database ready in 2.365s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:03:26] INFO Ghost is running in development...
[ghost] [2023-03-25 20:03:26] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:03:26] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:03:26] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:03:26] INFO Ghost server started in 0.994s
[ghost] [2023-03-25 20:03:26] INFO Database is in a ready state.
[ghost] [2023-03-25 20:03:26] INFO Ghost database ready in 1.404s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:03:28] INFO Ghost is running in development...
[ghost] [2023-03-25 20:03:28] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:03:28] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:03:28] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:03:28] INFO Ghost server started in 0.975s
[ghost] [2023-03-25 20:03:29] INFO Database is in a ready state.
[ghost] [2023-03-25 20:03:29] INFO Ghost database ready in 1.36s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:03:31] INFO Ghost is running in development...
[ghost] [2023-03-25 20:03:31] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:03:31] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:03:31] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:03:31] INFO Ghost server started in 1.185s
[ghost] [2023-03-25 20:03:31] INFO Database is in a ready state.
[ghost] [2023-03-25 20:03:31] INFO Ghost database ready in 1.65s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:03:34] INFO Ghost is running in development...
[ghost] [2023-03-25 20:03:34] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:03:34] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:03:34] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:03:34] INFO Ghost server started in 1.155s
[ghost] [2023-03-25 20:03:34] INFO Database is in a ready state.
[ghost] [2023-03-25 20:03:34] INFO Ghost database ready in 1.541s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:03:36] INFO Ghost is running in development...
[ghost] [2023-03-25 20:03:36] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:03:36] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:03:36] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:03:36] INFO Ghost server started in 1.007s
[ghost] [2023-03-25 20:03:36] INFO Database is in a ready state.
[ghost] [2023-03-25 20:03:36] INFO Ghost database ready in 1.556s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:03:39] INFO Ghost is running in development...
[ghost] [2023-03-25 20:03:39] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:03:39] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:03:39] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:03:39] INFO Ghost server started in 1.658s
[ghost] [2023-03-25 20:03:40] INFO Database is in a ready state.
[ghost] [2023-03-25 20:03:40] INFO Ghost database ready in 2.262s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:03:42] INFO Ghost is running in development...
[ghost] [2023-03-25 20:03:42] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:03:42] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:03:42] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:03:42] INFO Ghost server started in 1.175s
[ghost] [2023-03-25 20:03:42] INFO Database is in a ready state.
[ghost] [2023-03-25 20:03:42] INFO Ghost database ready in 1.546s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:03:44] INFO Ghost is running in development...
[ghost] [2023-03-25 20:03:44] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:03:44] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:03:44] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:03:44] INFO Ghost server started in 1.307s
[ghost] [2023-03-25 20:03:45] INFO Database is in a ready state.
[ghost] [2023-03-25 20:03:45] INFO Ghost database ready in 1.849s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:03:48] INFO Ghost is running in development...
[ghost] [2023-03-25 20:03:48] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:03:48] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:03:48] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:03:48] INFO Ghost server started in 1.037s
[ghost] [2023-03-25 20:03:48] INFO Database is in a ready state.
[ghost] [2023-03-25 20:03:48] INFO Ghost database ready in 1.427s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:03:50] INFO Ghost is running in development...
[ghost] [2023-03-25 20:03:50] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:03:50] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:03:50] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:03:50] INFO Ghost server started in 1.051s
[ghost] [2023-03-25 20:03:50] INFO Database is in a ready state.
[ghost] [2023-03-25 20:03:50] INFO Ghost database ready in 1.43s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:03:52] INFO Ghost is running in development...
[ghost] [2023-03-25 20:03:52] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:03:52] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:03:52] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:03:52] INFO Ghost server started in 0.993s
[ghost] [2023-03-25 20:03:52] INFO Database is in a ready state.
[ghost] [2023-03-25 20:03:52] INFO Ghost database ready in 1.378s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:03:56] INFO Ghost is running in development...
[ghost] [2023-03-25 20:03:56] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:03:56] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:03:56] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:03:56] INFO Ghost server started in 2.198s
[ghost] [2023-03-25 20:03:57] INFO Database is in a ready state.
[ghost] [2023-03-25 20:03:57] INFO Ghost database ready in 3.194s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:04:00] INFO Ghost is running in development...
[ghost] [2023-03-25 20:04:00] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:04:00] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:04:00] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:04:00] INFO Ghost server started in 1.132s
[ghost] [2023-03-25 20:04:00] INFO Database is in a ready state.
[ghost] [2023-03-25 20:04:00] INFO Ghost database ready in 1.533s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:04:02] INFO Ghost is running in development...
[ghost] [2023-03-25 20:04:02] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:04:02] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:04:02] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:04:02] INFO Ghost server started in 1.001s
[ghost] [2023-03-25 20:04:02] INFO Database is in a ready state.
[ghost] [2023-03-25 20:04:02] INFO Ghost database ready in 1.402s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:04:04] INFO Ghost is running in development...
[ghost] [2023-03-25 20:04:04] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:04:04] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:04:04] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:04:04] INFO Ghost server started in 1.015s
[ghost] [2023-03-25 20:04:05] INFO Database is in a ready state.
[ghost] [2023-03-25 20:04:05] INFO Ghost database ready in 1.399s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:04:07] INFO Ghost is running in development...
[ghost] [2023-03-25 20:04:07] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:04:07] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:04:07] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:04:07] INFO Ghost server started in 1.033s
[ghost] [2023-03-25 20:04:07] INFO Database is in a ready state.
[ghost] [2023-03-25 20:04:07] INFO Ghost database ready in 1.417s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:04:09] INFO Ghost is running in development...
[ghost] [2023-03-25 20:04:09] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:04:09] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:04:09] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:04:09] INFO Ghost server started in 1.041s
[ghost] [2023-03-25 20:04:09] INFO Database is in a ready state.
[ghost] [2023-03-25 20:04:09] INFO Ghost database ready in 1.432s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:04:11] INFO Ghost is running in development...
[ghost] [2023-03-25 20:04:11] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:04:11] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:04:11] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:04:11] INFO Ghost server started in 1.003s
[ghost] [2023-03-25 20:04:12] INFO Database is in a ready state.
[ghost] [2023-03-25 20:04:12] INFO Ghost database ready in 1.396s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:04:14] INFO Ghost is running in development...
[ghost] [2023-03-25 20:04:14] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:04:14] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:04:14] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:04:14] INFO Ghost server started in 1.023s
[ghost] [2023-03-25 20:04:14] INFO Database is in a ready state.
[ghost] [2023-03-25 20:04:14] INFO Ghost database ready in 1.412s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:04:16] INFO Ghost is running in development...
[ghost] [2023-03-25 20:04:16] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:04:16] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:04:16] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:04:16] INFO Ghost server started in 0.98s
[ghost] [2023-03-25 20:04:16] INFO Database is in a ready state.
[ghost] [2023-03-25 20:04:17] INFO Ghost database ready in 1.843s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:04:19] INFO Ghost is running in development...
[ghost] [2023-03-25 20:04:19] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:04:19] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:04:19] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:04:19] INFO Ghost server started in 1.011s
[ghost] [2023-03-25 20:04:19] INFO Database is in a ready state.
[ghost] [2023-03-25 20:04:19] INFO Ghost database ready in 1.4s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:04:21] INFO Ghost is running in development...
[ghost] [2023-03-25 20:04:21] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:04:21] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:04:21] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:04:21] INFO Ghost server started in 1.01s
[ghost] [2023-03-25 20:04:21] INFO Database is in a ready state.
[ghost] [2023-03-25 20:04:21] INFO Ghost database ready in 1.41s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:04:23] INFO Ghost is running in development...
[ghost] [2023-03-25 20:04:24] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:04:24] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:04:24] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:04:24] INFO Ghost server started in 1.114s
[ghost] [2023-03-25 20:04:24] INFO Database is in a ready state.
[ghost] [2023-03-25 20:04:24] INFO Ghost database ready in 1.544s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:04:26] INFO Ghost is running in development...
[ghost] [2023-03-25 20:04:26] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:04:26] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:04:26] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:04:26] INFO Ghost server started in 1.022s
[ghost] [2023-03-25 20:04:26] INFO Database is in a ready state.
[ghost] [2023-03-25 20:04:26] INFO Ghost database ready in 1.416s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:04:28] INFO Ghost is running in development...
[ghost] [2023-03-25 20:04:28] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:04:28] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:04:28] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:04:28] INFO Ghost server started in 0.997s
[ghost] [2023-03-25 20:04:28] INFO Database is in a ready state.
[ghost] [2023-03-25 20:04:29] INFO Ghost database ready in 1.392s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:04:31] INFO Ghost is running in development...
[ghost] [2023-03-25 20:04:31] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:04:31] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:04:31] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:04:31] INFO Ghost server started in 1.012s
[ghost] [2023-03-25 20:04:31] INFO Database is in a ready state.
[ghost] [2023-03-25 20:04:31] INFO Ghost database ready in 1.394s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:04:33] INFO Ghost is running in development...
[ghost] [2023-03-25 20:04:33] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:04:33] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:04:33] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:04:33] INFO Ghost server started in 1.019s
[ghost] [2023-03-25 20:04:33] INFO Database is in a ready state.
[ghost] [2023-03-25 20:04:33] INFO Ghost database ready in 1.396s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:04:35] INFO Ghost is running in development...
[ghost] [2023-03-25 20:04:35] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:04:35] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:04:35] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:04:35] INFO Ghost server started in 1.006s
[ghost] [2023-03-25 20:04:36] INFO Database is in a ready state.
[ghost] [2023-03-25 20:04:36] INFO Ghost database ready in 1.382s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:04:38] INFO Ghost is running in development...
[ghost] [2023-03-25 20:04:38] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:04:38] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:04:38] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:04:38] INFO Ghost server started in 1.108s
[ghost] [2023-03-25 20:04:38] INFO Database is in a ready state.
[ghost] [2023-03-25 20:04:38] INFO Ghost database ready in 1.511s
[ghost] Restarting 'index.js'
[ghost] [2023-03-25 20:04:40] INFO Ghost is running in development...
[ghost] [2023-03-25 20:04:40] INFO Listening on: 127.0.0.1:2368
[ghost] [2023-03-25 20:04:40] INFO Url configured as: http://localhost:2368/
[ghost] [2023-03-25 20:04:40] INFO Ctrl+C to shut down
[ghost] [2023-03-25 20:04:40] INFO Ghost server started in 1.005s
[ghost] node:internal/validators:163
[ghost]     throw new ERR_INVALID_ARG_TYPE(name, 'string', value);
[ghost]     ^
[ghost]
[ghost] TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received null
[ghost]     at new NodeError (node:internal/errors:399:5)
[ghost]     at validateString (node:internal/validators:163:11)
[ghost]     at resolve (node:path:167:9)
[ghost]     at FSWatcher.<anonymous> (node:internal/watch_mode/files_watcher:94:30)
[ghost]     at FSWatcher.emit (node:events:513:28)
[ghost]     at FSWatcher._handle.onchange (node:internal/fs/watchers:215:12) {
[ghost]   code: 'ERR_INVALID_ARG_TYPE'
[ghost] }
[ghost]
[ghost] Node.js v18.15.0
[ghost] node --watch index.js exited with code 1
--> Sending SIGTERM to other processes..
[admin] yarn start --live-reload-base-url=/ghost/ --live-reload-port=4201 exited with code 1

Executing dev command failed, ensure dependencies are up-to-date by running `yarn fix`

Done in 126.60s.

I faced a similar problem this week (although getting different errors) trying to debug the admin Ember app.

I also got the perpetual ghost loading screen when navigating to http://localhost:4200 and noticed some 404 and javascript errors in the browser console (I don’t have them handy sorry).

In my case any admin changes were picked up correctly when accessing through http://localhost:2368/ghost.

I wondered if Ember needs a lower version of node so tried downgrading but then the main app gives errors since the node --watch flag isn’t available.

Same results on Mac OS and Win11. Same versions as you mentioned.

Sorry not adding any value here but also keen to find a solution.

1 Like

Hi @muffinjello, did you ever get to the bottom of this?

Any fix for this ?
Please, I have the same issue.

The Admin Ember app is only available through the Ghost server, it won’t work when served independently on :4200 except for tests at http://localhost:4200/tests

Are you running it directly under Windows or via WSL? Although the Ghost application can run on Windows under WSL none of the development tooling is tested under Windows, it’s primarily built for macOS and Linux. Any bug fixes and PRs that improve Windows support would be appreciated :slight_smile:

My guess from the logs is that something is triggering the Node’s watch mode so it looks like the files are being constantly changed. I don’t know if that’s generally supported on base Windows, if it is maybe there’s something on your system accidentally triggering it such as a virus scanner?

I forked and cloned the project on Windows and running yarn dev:ghost.
his works the first time, then after that it goes into the index.js restart loop.