Open kamyarothmanhamad opened 4 months ago
Adding this to _config.yml
fixed for me.
edit: and it looks like you tried to get chatgpt's help, but it doesn't work on present problems, sorry
I recommend @SoumyaK4 's workaround until a new patched version of the frontend ships.
Description:
When serving my Jekyll site locally and accessing Jekyll Admin at
http://127.0.0.1:4000/admin/
, I encounter an error message stating "Error: Could not fetch the config."Tell us a bit about yourself:
Steps to reproduce:
jekyll-admin
plugin to the_config.yml
file.bundle exec jekyll serve
.http://127.0.0.1:4000/admin/
.I expected the following:
Jekyll Admin should load properly and fetch the
_config.yml
file without any errors.But got the following, instead:
An error message is displayed: "Error: Could not fetch the config."
Other details:
Below is the
_config.yml
file:Error message in the browser's developer console:
Steps taken to troubleshoot:
_config.yml
using an online YAML validator._config.yml
is readable.The
_config.yml
file is located at the root of the project, and the site is hosted on GitHub Pages, but the error occurs during local development.