Closed AntoineKM closed 2 weeks ago
The error should appear only once when the app tries to create settings.json file. Once the settings.json file has been created, you should not see the error message.
Yes, I've seen that, but for new users like me it can be confusing, especially since I really followed the documentation step by step, it might be better to check if it exists first?
It already checks if the settings file exists or not. See getAppSettings
function cron.js
file.
Issue Description: When running the
npm run start:all
command in the project, thecron
process encounters an error related to a missing file or directory:settings.json
. This error disrupts the execution of thecron
task.Error Message:
Steps to Reproduce: https://docs.serpbear.com/deployment/running-serpbear-locally
Expected Behavior: The
cron
task should run without errors and successfully access thesettings.json
file.Additional Context:
Possible Solution: Ensure that the
settings.json
file exists in the specified path (./data/). If it does not exist, create the file with the required configuration.