[GH-ISSUE #1127] yarn: no option: --colors #655

Closed
opened 2026-02-26 02:33:52 +03:00 by kerem · 9 comments
Owner

Originally created by @Hajduk-d on GitHub (Nov 28, 2019).
Original GitHub issue: https://github.com/koel/koel/issues/1127

Describe the bug
I have a Ubuntu 18.04 Server and wanted to install koel, after when runing php artisan koel:init, after i set the database i get the yarn no option --colors error.
To reproduce
Steps to reproduce the behavior:

  1. clone koel
  2. run composer install
  3. run php artisan koel:init
  4. See error

Expected behavior
I am not really sure what more information i can provide

Screenshots
image

Environment

  • Koel version v4.1.0
  • OS: Ubuntu 18.04
  • PHP version v7.2
  • Node version v12.13

Additional context
This is my first issue on github i apologize if its not supposed to be posted here

Originally created by @Hajduk-d on GitHub (Nov 28, 2019). Original GitHub issue: https://github.com/koel/koel/issues/1127 **Describe the bug** I have a Ubuntu 18.04 Server and wanted to install koel, after when runing php artisan koel:init, after i set the database i get the yarn no option --colors error. **To reproduce** Steps to reproduce the behavior: 1. clone koel 2. run composer install 3. run php artisan koel:init 4. See error **Expected behavior** I am not really sure what more information i can provide **Screenshots** ![image](https://user-images.githubusercontent.com/26483509/69787340-9f28da80-11bc-11ea-9f9b-59558d1be5fe.png) **Environment** - Koel version v4.1.0 - OS: Ubuntu 18.04 - PHP version v7.2 - Node version v12.13 **Additional context** This is my first issue on github i apologize if its not supposed to be posted here
kerem closed this issue 2026-02-26 02:33:52 +03:00
Author
Owner

@phanan commented on GitHub (Nov 28, 2019):

What's your yarn version?

<!-- gh-comment-id:559529899 --> @phanan commented on GitHub (Nov 28, 2019): What's your yarn version?
Author
Owner

@Hajduk-d commented on GitHub (Nov 28, 2019):

apparently I was running an old version, I updated yarn to 1.19. but no i get an error while building
image
Where do I start on reading this error?

<!-- gh-comment-id:559589158 --> @Hajduk-d commented on GitHub (Nov 28, 2019): apparently I was running an old version, I updated yarn to 1.19. but no i get an error while building ![image](https://user-images.githubusercontent.com/26483509/69828742-666d1d80-121d-11ea-92e6-a37b4584c6b1.png) Where do I start on reading this error?
Author
Owner

@phanan commented on GitHub (Nov 28, 2019):

Can you try this? https://github.com/phanan/koel/issues/1093#issuecomment-549186081.

<!-- gh-comment-id:559594329 --> @phanan commented on GitHub (Nov 28, 2019): Can you try this? https://github.com/phanan/koel/issues/1093#issuecomment-549186081.
Author
Owner

@phanan commented on GitHub (Nov 28, 2019):

Released v4.2.0 which should work with Node 12.x. Feel free to open another issue if it's not the case.

<!-- gh-comment-id:559601264 --> @phanan commented on GitHub (Nov 28, 2019): Released v4.2.0 which should work with Node 12.x. Feel free to open another issue if it's not the case.
Author
Owner

@Hajduk-d commented on GitHub (Nov 28, 2019):

yea downgrading to NOde 10.x fixed it. but weirdly enough going to the home page on my server doesn't show a login in button or anything except the logo, mail and pw
image

I'm on Firefox 70.0

<!-- gh-comment-id:559602797 --> @Hajduk-d commented on GitHub (Nov 28, 2019): yea downgrading to NOde 10.x fixed it. but weirdly enough going to the home page on my server doesn't show a login in button or anything except the logo, mail and pw ![image](https://user-images.githubusercontent.com/26483509/69831699-cae2a980-122a-11ea-9997-be5daeabce46.png) I'm on Firefox 70.0
Author
Owner

@BrookeDot commented on GitHub (Jan 12, 2020):

Hi @toter200 Any update here? If you're still having trouble can you check for errors in the browser console?

<!-- gh-comment-id:573448960 --> @BrookeDot commented on GitHub (Jan 12, 2020): Hi @toter200 Any update here? If you're still having trouble can you check for errors in the browser console?
Author
Owner

@Hajduk-d commented on GitHub (Jan 12, 2020):

I checked it and nothing was there, i have since moved to another service so i cant tell anything more

<!-- gh-comment-id:573453627 --> @Hajduk-d commented on GitHub (Jan 12, 2020): I checked it and nothing was there, i have since moved to another service so i cant tell anything more
Author
Owner

@DDriggs00 commented on GitHub (Apr 15, 2020):

I ran into this error, and it was caused by a outdated version of yarn. I fixed it by installing the latest version via this method:

curl --compressed -o- -L https://yarnpkg.com/install.sh | bash
<!-- gh-comment-id:613825026 --> @DDriggs00 commented on GitHub (Apr 15, 2020): I ran into this error, and it was caused by a outdated version of yarn. I fixed it by installing the latest version via this method: ```bash curl --compressed -o- -L https://yarnpkg.com/install.sh | bash ```
Author
Owner

@BrookeDot commented on GitHub (Apr 15, 2020):

Thanks for the details on how you fixed it @DDriggs00. Since this looks to be resolved by an update of Yarn and not an issue with Koel directly I'm going to close this. If anyone runs into this in the future and a Yarn update doesn't resolve it please create a new ticket and refer back to this one.

<!-- gh-comment-id:614268610 --> @BrookeDot commented on GitHub (Apr 15, 2020): Thanks for the details on how you fixed it @DDriggs00. Since this looks to be resolved by an update of Yarn and not an issue with Koel directly I'm going to close this. If anyone runs into this in the future and a Yarn update doesn't resolve it please create a new ticket and refer back to this one.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/koel-koel#655
No description provided.