MarshallOfSound / Google-Play-Music-Desktop-Player-UNOFFICIAL-

A beautiful cross platform Desktop Player for Google Play Music
https://www.googleplaymusicdesktopplayer.com
MIT License
8.28k stars 767 forks source link

Build on ARM #3648

Open susnux opened 4 years ago

susnux commented 4 years ago

Checklist:

OS: Debian 10 (armbian)

GPMDP Version: master and 4.6.1

Issue Descriptions: I discovered that building on ARM is not possible with the current setup, I tested tinkerOS (as I am using an Asus TinkerBoard), which failed (but chroming is broken there too) and armbian.

There are some build issues (lacking description), one with description is: ERR! peerinvalid Peer react-tap-event-plugin The solution for this is updating package.json to:

react to 15.4.1
react-dom to 15.4.1
material-ui to 0.16.4
react-tap-event-plugin to 2.0.1

So with this I can build GPMDP, but when starting the screen stays blank. I found the solution here is to also update electron to 3.1.13

With this changes I can build and run it successfully, I still get this error but gpmdp keeps running (not sure if you can fix it): output.txt

So you might change this in the package.json to build it successfully on ARM.

For users getting troubles with phantomjs: (required by svg2png (yes they are using phantomjs AND v8...)) You have to use the debian provided version, as phantomjs-prebuild from npm will fail to install).

welcome[bot] commented 4 years ago

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of duplicate issues on this repo, so please double check now that your issue has not already been solved or doesn't have an open issue already. To help make it easier for us to investigate your issue, please follow the contributing guidelines and ensure the issue template was filled out.

jostrander commented 4 years ago

@susnux that appears to be an issue with mpris/dbus. Possibly an incorrect implementation on our part or the part of some other software on your system.