-
Notifications
You must be signed in to change notification settings - Fork 411
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[partially works] doesn't build for linux armhf/arm64 #85
Comments
I think i fixed the issue by installing yarn using the instructions on the official website |
works perfectly ok. but I did get one error:
is that anything bad, or can I ignore it? Anyway, thank you for this great app! |
it always starts up with the DevTools open even though they are disabled |
and the addblocker doesn't work. it did work on my mac, so I guess it isn't something to do with the app. |
Hey @Itai-Nelken, thanks for the feedback! I never tried on ARM64 but in all cases phantomJS should not be required, because it is a dev dependency (useful for dev but not to build the app) - if you only want to build, you can try: yarn --frozen-lockfile
yarn build:linux Not sure if will work on electron/electron-builder side (current electron version of the project is 10 while latest version is 11) but worth giving it a try! |
Thanks a lot! will this also work on armhf (arm 32 bit)? I'll try anyway. if you need any help with testing on ARM64 and ARMHF i can help you. |
when running
|
I tried building again, and I got this error when running
|
@Itai-Nelken Apologies, you actually need all dependencies to build the app (I edited my previous comment) so command is |
@th-ch still doesn't work. here is the terminal output of
and
|
btw I'm using a armhf (32bit) OS now(RaspberryPi OS, debian) |
@th-ch I managed to build the app on Linux (armv7l(armhf))!
change |
here is a screenshot: |
@th-ch now I get a error when trying to download music, here is a screenshot: |
Hey @Itai-Nelken, thank you for the detailed feedback! Glad to see it working 😃 |
@th-ch I tried installing it using
and it installed successfully, but I still get the same error when trying to download... also I have a spare pi that I can set up with remote desktop for you if you want. |
I tried a few more thing. here is what I did (keep in mind I hardly have any idea what I'm doing, so I might be doing really stupid things): |
here are the build instructions for linux arm so far (I added everything I did, so there might be some uneeded instructions): Install dependenciesnode.jsThere are two ways to install node.js: using apt and the nodesource repo and using nvm (node version manager), I recommend using nvm because using the nodesource repo has broken system permissions multiple times for me.
nvm curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
nvm install node nodesource curl -sL https://deb.nodesource.com/setup_15.x | sudo -E bash -
sudo apt install nodejs -y yarncurl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt update && sudo apt install yarn -y build youtube musicgit clone https://github.com/th-ch/youtube-music.git
cd youtube-music
yarn --frozen-lockfile build a appimageyarn build:linux --linux appimage --armv7l build a debyarn build:linux --linux deb --armv7l
notes
|
Related to electron-userland/electron-builder#5626 |
doesn't build on Ubuntu arm64 for Raspberry Pi
steps I followed:
git clone https://github.com/th-ch/youtube-music
cd youtube-music
yarn
yarn start
(to start the app)when running
yarn
I get this error:The text was updated successfully, but these errors were encountered: