-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
config.yml could not be found with manual init #1908
Comments
Attempting to load config with manual init isn't a bug, it's intentional. #1866 has been raised as an improvement to provide an opt-out. Regarding everything else you're seeing, Netlify CMS doesn't load itself, you'll need to check through your source and build setup to determine why the script is being loaded twice. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Even after #2053, it seems the issue still persists. |
Hi @HeyITGuyFixIt, you need to explicitly configure |
Describe the bug
Netlify CMS still attempts to load config.yml, even when manual init is set.
To Reproduce
Consider the following script:
When the page is loaded, it flashes an error message (config.yml could not be loaded...) and then launches the CMS. However everything works as expected, collections are loaded properly, media can be uploaded, etc.
Expected behavior
If
CMS_MANUAL_INIT
is true, Netlify CMS should not attempt to load config.yml. It also appears that the module is loaded twice, as there are 2 version printouts and 2 404s.Screenshots
Applicable Versions:
CMS configuration
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: