That’s unfortunate, there was a similar error a few weeks back also with Electron Builder, but debugging it didn’t get anything concrete
There’s also the --disable-dev-shm-usage
flag, but this isn’t expected to be default in snaps and didn’t improve the scenario in the thread above, though it’s worth a go.
It could be worth trying to do a build with the snapcraft
build tool itself rather than Electron Build to see if that improves the situation, otherwise given this thread is a request for an interface declaration and it presumably works fine with that declaration, maybe it’ll be granted and not end up a problem for you, but it looks like there’s something funny going on with Electron lately that is worth looking more into.