xushengfeng/eSearch

A JavaScript error occurred in the main process,这样怎么办

onroco opened this issue · 1 comments

完全不会处理,重装了也没有用
Uncaught Exception:
SyntaxError:Unexpected end of JSON input at JSON.parse ()at Conf._deserialize
(C:\Users\zstyz\AppData\Local\Programs\eSearch\resources\app\node_module..:43)at get store [as store]
(C:\Users\zstyz\AppData\Local\Programs\eSearch\resources\app\node_module...43)at new Conf
(C:\Users\zstyz\AppData\Local\Programs\eSearch\resources\app\node_module...32)at new ElectronStore
(C:\Users\zstyz\AppData\Local\Programs\eSearch\resources\app\node_modules...3)at Object.
(C:\Users\zstyz\AppData\Local\Programs\eSearch\resources\app\out\main\mai..1.3)at Module.compile (node:internal/modules/cjs/loader:1120:14)at Module._extensions..js (node:internal/modules/cjs/loader:1175:10)at Module.load (node:internal/modules/cjs/loader:988:32)at Module.load (nodeinternal/modules/cjs/loader:829:12)

找到config.json,一般在C:\Users\zstyz\AppData\Local\Programs\eSearch下,把里面内容用记事本改为{}