You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "renderer process" of Electron crashes when we reload the editor page in development in Electron. Thankfully we never reload in the production app.
To Reproduce
git clone the repo,
cd newIDE/app && npm install && npm start,
cd newIDE/electron-app && npm install && npm start,
Once launched, reload the page in Electron from the dev tools
Investigation
Googling around the issue of crash in Electron seems to give pointers to things like static functions being registered by native modules, while not supported.
Stacktrace
Found in ~/Library/Logs/DiagnosticReports/ (after googling "macos get stacktrace of process"):
Issue is only on macOS because of an old fsevents being used by an old chokidar which is used in the Electron renderer process, by newIDE/app/src/GameEngineFinder/LocalGDJSDevelopmentWatcher.js.
We should probably move this to the main process of Electron anyway.
Describe the bug
The "renderer process" of Electron crashes when we reload the editor page in development in Electron. Thankfully we never reload in the production app.
To Reproduce
cd newIDE/app && npm install && npm start
,cd newIDE/electron-app && npm install && npm start
,Investigation
Googling around the issue of crash in Electron seems to give pointers to things like static functions being registered by native modules, while not supported.
Stacktrace
Found in
~/Library/Logs/DiagnosticReports/
(after googling "macos get stacktrace of process"):Analysis:
fse_instance_destroy
. This is coming fromfsevents
(https://github.com/fsevents/fsevents/blob/master/src/fsevents.c).fsevents
npm ls fsevents
gives:The version of fsevents is not the latest one and looking at the releases notes, this could come from this:
Digging in the commits, we find:
Other details
The text was updated successfully, but these errors were encountered: