[GH-ISSUE #692] Package.json Bug #491

Closed
opened 2026-02-26 02:33:22 +03:00 by kerem · 1 comment
Owner

Originally created by @0xcaff on GitHub (Dec 5, 2017).
Original GitHub issue: https://github.com/koel/koel/issues/692

Hey, thanks for contributing to Koel! To save time for both of us, please make sure these checkboxes are checked before submitting the issue:

  • You have read and followed closely the Wiki, Upgrade Guide, as well as Troubleshooting
  • The issue has not been reported before
  • This is not a "how to install on Windows" or "why is my npm messed up" question
  • You're a cool person

All checked? Now also make sure your issue

  • Is associated with a version. Or better yet, a commit.
    (2976b66fca)
  • Is as detailed as possible (ahem... OS, browser, steps to reproduce, maybe?)
  • Includes the error output if it's a bug/error report ("Whoops!" is not very helpful, you know)
  • Is in English, 因为我不说中文。

When running version (2976b66fca). The yarn install command at the end of php artisan koel:init fails. Here's a gist of the log. It looks like yarn production is a command now. This is fixed by changing all instances of yarn production to yarn run production in the package.json.

Originally created by @0xcaff on GitHub (Dec 5, 2017). Original GitHub issue: https://github.com/koel/koel/issues/692 Hey, thanks for contributing to Koel! To save time for both of us, please make sure these checkboxes are checked before submitting the issue: - [x] You have read and followed closely the [Wiki](https://koel.phanan.net/docs), [Upgrade Guide](https://github.com/phanan/koel/releases), as well as [Troubleshooting](https://koel.phanan.net/docs/#/troubleshooting) - [x] The issue has not been reported before - [x] This is not a "how to install on Windows" or "why is my npm messed up" question - [x] You're a cool person All checked? Now also make sure your issue - [x] Is associated with a version. Or better yet, a commit. (2976b66fca0bff673c5f8786bf1864c7c514a166) - [x] Is as detailed as possible (ahem... OS, browser, steps to reproduce, maybe?) - [x] Includes the error output if it's a bug/error report ("Whoops!" is not very helpful, you know) - [x] Is in English, 因为我不说中文。 ---- When running version (2976b66fca0bff673c5f8786bf1864c7c514a166). The `yarn install` command at the end of `php artisan koel:init` fails. [Here's a gist of the log.][log] It looks like `yarn production` is a command now. This is fixed by changing all instances of `yarn production` to `yarn run production` in the package.json. [log]: https://gist.github.com/0xcaff/82e8cedda2e946e6f94e4257b7753c05
kerem closed this issue 2026-02-26 02:33:22 +03:00
Author
Owner

@0xcaff commented on GitHub (Dec 5, 2017):

This is caused by using an ancient version of yarn (0.23.3).

<!-- gh-comment-id:349482279 --> @0xcaff commented on GitHub (Dec 5, 2017): This is caused by using an ancient version of yarn (0.23.3).
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#491
No description provided.