I updated to 21.2.0 and and receive the following error:
/bin/sh: build: command not found
My package.json is as follows for the macOS dmg target:
"build": {
"dmg": {
"contents": [
{
"x": 130,
"y": 220,
},
{
"x": 410,
"y": 220,
"type": "link",
"path": "/Applications"
}
]
}
}
Are there additional configuration steps that I'm missing? I'm getting the same error when removing the dmg build and simply doing a "mac": { "target": "pkg" } instead.
They removed/changed the build script, you will just have to change your call to ./node_modules/.bin/electron-builder build + [your options]
Awesome that did the trick, thanks for the help!
Most helpful comment
They removed/changed the build script, you will just have to change your call to
./node_modules/.bin/electron-builder build+ [your options]