Since most of the data files are ignored by Git, they don't exist on first run of the app. This results in file not found exceptions.
It might make sense to have an install script that creates the necessary data files/folders. Alternatively, the main app.js file could have a function that ensures the data directory is in a usable state before the rest of the app boots.
Since most of the data files are ignored by Git, they don't exist on first run of the app. This results in file not found exceptions.
It might make sense to have an install script that creates the necessary data files/folders. Alternatively, the main
app.js
file could have a function that ensures the data directory is in a usable state before the rest of the app boots.