It seems that yarn run install was a way of forcing yarn to run install scripts and rebuild the module in Yarn 1.

However, in Yarn 3, it seems like they dropped support for this:

app-builder relies on this mechanism so is therefore incompatible with Yarn 3+.
One potential way to fix this would be to edit the rebuildUsingYarn function so that it detects the version of Yarn and runs a command that would be compatible with Yarn 3+, perhaps yarn run node-gyp rebuild? What do you think?
realated: electron-userland/electron-builder#8024
It seems that
yarn run installwas a way of forcing yarn to run install scripts and rebuild the module in Yarn 1.However, in Yarn 3, it seems like they dropped support for this:
app-builderrelies on this mechanism so is therefore incompatible with Yarn 3+.One potential way to fix this would be to edit the
rebuildUsingYarnfunction so that it detects the version of Yarn and runs a command that would be compatible with Yarn 3+, perhapsyarn run node-gyp rebuild? What do you think?realated: electron-userland/electron-builder#8024