Force the computer to shut down or cut off the power, Data file will be corrupted
- Windows 7 / 10
Reproduce step
npm install
npm run start
npm run build
- Run the build package file
- Find file (Reproduce step)
- create file:
C:\Users\Administrator\AppData\Roaming\lowdb-demo\ccc_data.json
- Keep the app open
-
Force the computer to shut down or cut off the power
-
Restart the computer
-
Now the file is damaged
C:\Users\Administrator\AppData\Roaming\lowdb-demo\ccc_data.json