WARN: File contents are invalid JSON but parse using JSON5 #28495
Replies: 4 comments 3 replies
-
I have tried to switch to JSON5 format in renovate and shared preset config but not working? |
Beta Was this translation helpful? Give feedback.
-
Hi, please format any copy/pasted code or logs so they're readable. You can find a Markdown code formatting guide here as well as some GitHub-specific information formatting code blocks here. Thanks, the Renovate team |
Beta Was this translation helpful? Give feedback.
-
Hey, Sure it is complaining about unsupported file formats.
Have tried this workaround
But not yet solved. |
Beta Was this translation helpful? Give feedback.
-
Hi there, This issue or discussion is missing some logs, making it difficult or impossible to help you. Depending on which situation applies follow one, some or all of these instructions. No logs at allIf you haven't posted any log yet, we need you to find and copy/paste the log into the issue template. Finding logs on hosted appSelect me to read instructionsIf you use the Mend Renovate app (GitHub):
Finding logs when self-hostingSelect me to read instructionsRead the Renovate docs, troubleshooting, self-hosted to learn how to find the logs. Insufficient logsSelect me to read instructionsIf you already gave us a log, and the Renovate team said it's not enough, then follow the instructions from the No logs at all section. Formatting your logsSelect me to read instructionsPlease put your logs in a
If you feel the logs are too large to paste here, please use a service like GitHub Gist and paste the link here. Good luck, The Renovate team |
Beta Was this translation helpful? Give feedback.
-
What would you like help with?
I would like help with my configuration
How are you running Renovate?
None
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
Gitlab
Please tell us more about your question or problem
WARN: File contents are invalid JSON but parse using JSON5. Support for this will be removed in a future release so please change to a support .json5 file name or ensure correct JSON syntax.
This error popped up without any changes made to the entire integration and prior configuration set for running. Renovate.json inherits a global shared preset config file that is a self-hosted repo in Gitlabl.
Logs (if relevant)
Logs
Beta Was this translation helpful? Give feedback.
All reactions