jean-emmanuel / open-stage-control

Libre and modular OSC / MIDI controller
https://openstagecontrol.ammd.net
GNU General Public License v3.0
701 stars 88 forks source link

[Bug] Run from sources fails on aarch64 ManjoroARM, Fix identified #711

Closed Rippert closed 3 years ago

Rippert commented 3 years ago

I tried to follow them for a Raspberry Pi 4B running ManjaroARM, substituting npm install --arch=aarch64 for npm install --arch=armv7l. everything seemed to work until I tried to run with npm start, then I received this error:

$ npm start

> open-stage-control@1.9.1 start
> electron app/

sh: line 1: electron: command not found

Afterwards, I tried npm install electron --save-dev in the O-S-C directory. It proceeded normally, and I was able to start the full GUI of O-S-C using npm start after that. It may be that using --arch=arm64 in the initial instructions might work, but I did not try that yet.

jean-emmanuel commented 3 years ago

It may be that using --arch=arm64 in the initial instructions might work

Yes, most probably, I'm adding that to the docs.

Rippert commented 3 years ago

I will test it if you want me to. I assume just creating a new directory and starting the whole procedure from scratch will work? It take a while on my puny RPI!

jean-emmanuel commented 3 years ago

That'd be great

Rippert commented 3 years ago

OK, I'll get back to you tomorrow about it. Thanks again.

Rippert commented 3 years ago

It did work with --arch=arm64.

jean-emmanuel commented 3 years ago

Thank you for testing!

Rippert commented 3 years ago

You're welcome. Thank you for all your work on O-S-C.