I am unable to build this project on openBalena, although it works fine in BalenaCloud. Any thoughts as to why the build process can’t find electron-build?
[Build] main /bin/sh: 1: node_modules/.bin/electron-rebuild: not found
[Build] Built 1 service in 11:07
[Error] Deploy failed
Error: The command '/tmp/qemu-execve -execve /bin/sh -c JOBS=MAX npm install --unsafe-perm --production && npm cache clean --force && rm -rf /tmp/* && node_modules/.bin/electron-rebuild' returned a non-zero code: 127
at Stream.<anonymous> (/usr/lib/node_modules/balena-cli/node_modules/resin-docker-build/build/builder.js:178:23)
at Stream.stream.write (/usr/lib/node_modules/balena-cli/node_modules/through/index.js:26:11)
at Stream.ondata (internal/streams/legacy.js:15:31)
at Stream.emit (events.js:193:13)
at Stream.EventEmitter.emit (domain.js:481:20)
at drain (/usr/lib/node_modules/balena-cli/node_modules/through/index.js:36:16)
at Stream.stream.queue.stream.push (/usr/lib/node_modules/balena-cli/node_modules/through/index.js:45:5)
at Parser.parser.onToken (/usr/lib/node_modules/balena-cli/node_modules/JSONStream/index.js:132:18)
at Parser.proto.write (/usr/lib/node_modules/balena-cli/node_modules/jsonparse/jsonparse.js:135:34)
at Stream.<anonymous> (/usr/lib/node_modules/balena-cli/node_modules/JSONStream/index.js:23:12)
at Stream.stream.write (/usr/lib/node_modules/balena-cli/node_modules/through/index.js:26:11)
at IncomingMessage.ondata (_stream_readable.js:705:22)
at IncomingMessage.emit (events.js:193:13)
at IncomingMessage.EventEmitter.emit (domain.js:481:20)
at addChunk (_stream_readable.js:295:12)
at readableAddChunk (_stream_readable.js:276:11)
at IncomingMessage.Readable.push (_stream_readable.js:231:10)
at HTTPParser.parserOnBody (_http_common.js:126:22)
at Socket.socketOnData (_http_client.js:447:22)
at Socket.emit (events.js:193:13)
at Socket.EventEmitter.emit (domain.js:481:20)
at addChunk (_stream_readable.js:295:12)
at readableAddChunk (_stream_readable.js:276:11)
at Socket.Readable.push (_stream_readable.js:231:10)
at Pipe.onStreamRead (internal/stream_base_commons.js:150:17)
If you need help, don't hesitate in contacting our support forums at
https://forums.balena.io
For bug reports or feature requests, have a look at the GitHub issues or
create a new one at: https://github.com/balena-io/balena-cli/issues/