You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if mkdirp is the real culprit here, while my observation with it is true I found out that the newest version of file-exists also switched to the same pattern of having an async default function and an sync fallback.
50% sure this is only an issue because I decided to upgrade packages prematurely instead of waiting for #33.
When running the application for the first time the user will experience an error like
Error: ENOENT: no such file or directory, open '/home/username/.local/share/cube/times.csv' at [stacktrace]
It appears to be a timing issue when creating the folder with mkdirp. The default function is asynchronous, there is a dedicated synchronized version.
mkdirp
does not return it's internal promise, because of this it would be probably better to either switch tomkdirp.sync
or to create a own version.The text was updated successfully, but these errors were encountered: