javascript error occured in the main process
when trying to launch heroic through app armour it does nothing and running it through the
terminal it gives this error:
A JavaScript error occurred in the main process
Uncaught Exception:
SyntaxError: Unterminated string in JSON at position 4096 (line 153 column 24)
at JSON.parse (<anonymous>)
at ElectronStore.Conf._deserialize (/opt/Heroic/resources/app.asar/node_modules/conf/dist/source/index.js:67:43)
at ElectronStore.get store [as store] (/opt/Heroic/resources/app.asar/node_modules/conf/dist/source/index.js:278:43)
at new Conf (/opt/Heroic/resources/app.asar/node_modules/conf/dist/source/index.js:131:32)
at new ElectronStore (/opt/Heroic/resources/app.asar/node_modules/electron-store/index.js:69:3)
at new st (/opt/Heroic/resources/app.asar/build/main/main.js:2:8418)
at Module.<anonymous> (/opt/Heroic/resources/app.asar/build/main/main.js:197:5091)
at Module._compile (node:internal/modules/cjs/loader:1373:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1432:10)
at Module.load (node:internal/modules/cjs/loader:1215:32)
MESA-INTEL: warning: Haswell Vulkan support is incomplete
libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
4 Replies
harsh-harlequinOP•2mo ago
It was working a couple minutes ago but gave this error once I tried to launch it again
harsh-harlequinOP•2mo ago
graceful-beige•2mo ago
it seems the config got corrupted, some file in ~/.config/heroic/
harsh-harlequinOP•2mo ago
I managed to solve it, I removed the entire heroic folder