We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
I saw this issue but this is currently happening to me using "node-json-db": "^2.3.0"
"node-json-db": "^2.3.0"
DatabaseError: Can't Load Database ❯ JsonDB.load ../../../../node_modules/node-json-db/src/JsonDB.ts:413:19 ❯ JsonDB.retrieveData ../../../../node_modules/node-json-db/src/JsonDB.ts:51:9 ❯ JsonDB.getParentData ../../../../node_modules/node-json-db/src/JsonDB.ts:134:13 ❯ ../../../../node_modules/node-json-db/src/JsonDB.ts:329:28 ❯ lock.writeLock ../../../../node_modules/node-json-db/src/lock/Lock.ts:51:32
The text was updated successfully, but these errors were encountered:
I'm encountering the same issue on version 2.3.0.
2.3.0
Steps to reproduce the error :
It works with no file :
It works with empty object :
Expected behavior : The case with an empty file should behave the same as when there is no file.
Sorry, something went wrong.
024169f
chore(release): 2.3.1 [skip ci]
61b902d
## [2.3.1](v2.3.0...v2.3.1) (2025-01-23) ### Bug Fixes * override empty file ([024169f](024169f)), closes [#844](#844)
@Alastor-git That a good point.
Fixed in v2.3.1
No branches or pull requests
I saw this issue but this is currently happening to me using
"node-json-db": "^2.3.0"
The text was updated successfully, but these errors were encountered: