mirror of
https://github.com/koel/koel.git
synced 2026-04-25 00:36:03 +03:00
[GH-ISSUE #1077] Installation fails on ARM because Cypress is not available for the platform #629
Labels
No labels
Authentication
Dependencies
Documentation
Feature Request
Flac
Help Wanted
Installation/Setup
Integration
Mobile
PR Welcome
Pending Release
Performance
Playlist
S3
Search
Sync
[Pri] Low
[Pri] Normal
[Status] Keep Open
[Status] Needs Author Reply
[Status] Needs Review
[Status] Stale
[Status] Will Implement
[Type] Blessed
[Type] Bug
[Type] Duplicate
[Type] Enhancement
[Type] Help Request
[Type] Question
[Type] Task
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/koel-koel#629
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @glics on GitHub (Sep 11, 2019).
Original GitHub issue: https://github.com/koel/koel/issues/1077
When trying to install Koel on my Raspberry Pi the installation failed because Cypress could not find a supported version to download.
I don't think Cypress even has an ARM compatible version, and here it is trying to download the IA32 version? Wtf
Besides, is a test library supposed to be a requirement for the installation?
Here's the error log for
php artisan koel:init, after the yarn install command:Here are the steps to reproduce.
git clone https://github.com/phanan/koelgit checkout v4.0.0chmod -R 777 .composer installphp artisan koel:init, fill in the env variables as needed and wait foryarn install's stage 4,Building fresh packages. At this point within some seconds Cypress will fail to find a version for ARM.Really hoping this can be sorted out, love to see NodeJS and PHP being used for personal music streaming instead of the many Subsonic java-based forks
Hey, thanks for contributing to Koel! To save time for both of us, please make sure these checkboxes are checked before submitting the issue:
All checked? Now also make sure your issue
@SpikeShape commented on GitHub (Sep 12, 2019):
Same for me running Raspbian 9 on a Raspberry Pi 3.
After the 404 the installation process seems to be stuck showing these message:
@phanan commented on GitHub (Sep 12, 2019):
What happens if you remove the cypress dependency from package.json?
@glics commented on GitHub (Sep 12, 2019):
I started with a clean git clone and ran
yarn remove cypress.After compiling all the dependencies (Spoiler alert - node-sass takes some time) it finished without errors.
I ran:
composer installphp artisan koel:initFilled in the fields again and the build succeeded, then failed again but I guess this was my error.
Here's the relevant output
(Yes it said bette. No I don't, I love you anyway my dear)
Looking inside resources/assets/ it's just empty. I think I should have used
git clone --recursive?EDIT - totally should, and I should also have read the updated documentation. Cloning the submodules now, will update soon
@phanan commented on GitHub (Sep 12, 2019):
Hmm, maybe it's worth to add a check for
resources/assetscontent and throw an early, more meaningful error 🤔.@phanan commented on GitHub (Sep 12, 2019):
How can it say "bette" btw 😆. This is the relevant code:
@glics commented on GitHub (Sep 12, 2019):
Still not sure about that lol.
Now I have another error during Vue's build:
checking into node_modules/gifsicle/ the vendor folder is not there, looks like a yarn failure this time and at this point it's unrelated to ARM, I should be able to fix this with a
yarn add gifsicle@3.0.4m right?@phanan commented on GitHub (Sep 12, 2019):
TBH I don’t know. ARM is unfamiliar water to me.
Giuseppe Careri notifications@github.com schrieb am Do. 12. Sep. 2019 um
13:02:
@SpikeShape commented on GitHub (Sep 12, 2019):
Same error here after removing cypress from the package file. But I can assure you that it says 'better' 😄
What I was thinking: Does the usual end user need cypress as a package at all? Wouldn't that be a dev dependency?
Edit:
I just checked: After the install process Koel seems to be up to date anyways: It just didn't show the loading bars gif but I have smart playlists, I see the new visualuzation and all that. The only thing that seems to be missing are gifs...
Edit 2:
What seems to be missing is the YouTube tab.
@phanan commented on GitHub (Sep 12, 2019):
Cypress is a dev dependency (you can check the package.json file).
Spike Shape notifications@github.com schrieb am Do. 12. Sep. 2019 um
20:51:
@glics commented on GitHub (Sep 13, 2019):
Apparently gifsicle module doesn't compile on ARM, or at least on my raspberry.
Here's what I have tried:
I think this is slightly offtopic now since this seems to be a gifsicle (or imagemin-gifsicle) issue, I'll try to file an issue with them after replicating the behaviour in a new project and reference this.
Do you think there would be any way to distribute a prebuilt Vue app instead of having to compile it?
I was thinking of building it on my PC and then migrating the database and web app... But I admit I'm not sure if there's anything else involved
Also, should I remove the Cypress mention from the issue title and just mention that the build fails on ARM, since now there seem to be other problems?
@phanan commented on GitHub (Sep 13, 2019):
In theory, compiling and then copying the assets from another platform should work. I've never tried that though.
You can also try using Docker, perhaps pulling an existing Koel image and modify the script to cater for the latest version.
For the issue's title, I'm fine either way.
@SailHe commented on GitHub (Nov 30, 2019):
it works on my raspberry pi 4B
@marcbres commented on GitHub (Dec 11, 2019):
I've been able to update also on my raspberry pi by deleting the cypress dependency line on package.json
Thank you!
@Kautenja commented on GitHub (Jan 3, 2020):
converting bars.gif to a png (bars.png) and changing the img tag in resources/assets/js/components/ui/sound-bar.vue to the png hackily resolves the issue with the unsupported GIF package on ARM.
@BrookeDot commented on GitHub (Apr 22, 2020):
Lots of great debugging and collaboration in this ticker which is great to see. It sound like Koel does work on newer Raspberry Pi's without cypress. I'm going to go ahead and close this issue but it's great to see new uses and devices running Koel.