vladimiry / ElectronMail

Unofficial ProtonMail Desktop App
GNU General Public License v3.0
1.51k stars 99 forks source link

Unhandled error #473

Closed Tommy3621 closed 2 years ago

Tommy3621 commented 2 years ago

I suddenly get an unhandled error after starting the app

"Unhandled Error SyntaxError: Unexpected end of JSON input at JSON.parse () at ReadStream. (C:/Users/UserX/AppData/Local/Programs/ElectronMail/resources/app.asar/app/electron-main/index.cjs:59553:31) at ReadStream.emit (node:events:394:28) at addChunk (node:internal/streams/readable:312:12) at readableAddChunk (node:internal/streams/readable:287:9) at ReadStream.Readable.push (node:internal/streams/readable:226:10) at node:internal/fs/streams:273:14 at FSReqCallback.wrapper [as oncomplete] (node:fs:657:5)"

Tried reinstalling, Win11 64bit, using it only for a single protonmail account

vladimiry commented 2 years ago

Steps to do listed here https://github.com/vladimiry/ElectronMail/issues/418#issuecomment-877675388

vladimiry commented 2 years ago

Added some improvements in https://github.com/vladimiry/ElectronMail/compare/7cab9cc133...3a74b60.

vladimiry commented 2 years ago

Closing as resolved.