[GH-ISSUE #943] Installation failed #607

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

Originally created by @kalenpw on GitHub (Mar 28, 2019).
Original GitHub issue: https://github.com/koel/koel/issues/943

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.
  • 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, 因为我不说中文。

Following these steps:
Found here: https://koel.phanan.net/#install

git clone https://github.com/phanan/koel
cd koel
composer install
php artisan koel:init
php artisan serve
Server started on http://localhost:8000/

After running php artisan koel:init error:

https://pastebin.com/BnNEQxYt

Per the error I ran `npm install --save'

after that I get essentially the same error saying:

 ERROR  Failed to compile with 4 errors                              6:58:35 PM

These dependencies were not found:

* /home/kalenpw/Documents/Sandbox/koel/resources/assets/js/app.js in multi ./resources/assets/js/app.js ./resources/assets/sass/app.scss ./resources/assets/sass/remote.scss
* /home/kalenpw/Documents/Sandbox/koel/resources/assets/js/remote/app.js in multi ./resources/assets/js/remote/app.js
* /home/kalenpw/Documents/Sandbox/koel/resources/assets/sass/app.scss in multi ./resources/assets/js/app.js ./resources/assets/sass/app.scss ./resources/assets/sass/remote.scss
* /home/kalenpw/Documents/Sandbox/koel/resources/assets/sass/remote.scss in multi ./resources/assets/js/app.js ./resources/assets/sass/app.scss ./resources/assets/sass/remote.scss

To install them, you can run: npm install --save /home/kalenpw/Documents/Sandbox/koel/resources/assets/js/app.js /home/kalenpw/Documents/Sandbox/koel/resources/assets/js/remote/app.js /home/kalenpw/Documents/Sandbox/koel/resources/assets/sass/app.scss /home/kalenpw/Documents/Sandbox/koel/resources/assets/sass/remote.scss

Per the troubleshooting recommending yarn problems were likely an install with my yarn installation so I reinstalled yarn 1.15.2 through the official debian repos.

Versions:
yarn: 1.15.2
npm: 6.7.0
node: 11.10.0

Originally created by @kalenpw on GitHub (Mar 28, 2019). Original GitHub issue: https://github.com/koel/koel/issues/943 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 - [ ] You're a cool person All checked? Now also make sure your issue - [ ] Is associated with a version. Or better yet, a commit. - [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, 因为我不说中文。 Following these steps: Found here: https://koel.phanan.net/#install ``` git clone https://github.com/phanan/koel cd koel composer install php artisan koel:init php artisan serve Server started on http://localhost:8000/ ``` After running `php artisan koel:init` error: https://pastebin.com/BnNEQxYt Per the error I ran `npm install --save' after that I get essentially the same error saying: ``` ERROR Failed to compile with 4 errors 6:58:35 PM These dependencies were not found: * /home/kalenpw/Documents/Sandbox/koel/resources/assets/js/app.js in multi ./resources/assets/js/app.js ./resources/assets/sass/app.scss ./resources/assets/sass/remote.scss * /home/kalenpw/Documents/Sandbox/koel/resources/assets/js/remote/app.js in multi ./resources/assets/js/remote/app.js * /home/kalenpw/Documents/Sandbox/koel/resources/assets/sass/app.scss in multi ./resources/assets/js/app.js ./resources/assets/sass/app.scss ./resources/assets/sass/remote.scss * /home/kalenpw/Documents/Sandbox/koel/resources/assets/sass/remote.scss in multi ./resources/assets/js/app.js ./resources/assets/sass/app.scss ./resources/assets/sass/remote.scss To install them, you can run: npm install --save /home/kalenpw/Documents/Sandbox/koel/resources/assets/js/app.js /home/kalenpw/Documents/Sandbox/koel/resources/assets/js/remote/app.js /home/kalenpw/Documents/Sandbox/koel/resources/assets/sass/app.scss /home/kalenpw/Documents/Sandbox/koel/resources/assets/sass/remote.scss ``` Per the troubleshooting recommending yarn problems were likely an install with my yarn installation so I reinstalled yarn 1.15.2 through the official debian repos. Versions: yarn: 1.15.2 npm: 6.7.0 node: 11.10.0
kerem closed this issue 2026-02-26 02:33:41 +03:00
Author
Owner

@kalenpw commented on GitHub (Mar 28, 2019):

I should note I saw this issue: https://github.com/phanan/koel/issues/656 which recomeneded yarn 1.3.2 which I installed and am having the same issue after rm -rf node_modules and then yarn install

<!-- gh-comment-id:477419009 --> @kalenpw commented on GitHub (Mar 28, 2019): I should note I saw this issue: https://github.com/phanan/koel/issues/656 which recomeneded yarn 1.3.2 which I installed and am having the same issue after rm -rf node_modules and then yarn install
Author
Owner

@CodinMoldovanu commented on GitHub (Mar 28, 2019):

Seconding this.

<!-- gh-comment-id:477760371 --> @CodinMoldovanu commented on GitHub (Mar 28, 2019): Seconding this.
Author
Owner

@CodinMoldovanu commented on GitHub (Mar 28, 2019):

@kalenpw I pulled the core from koel/core and copied the assets (img,css,js,sass folders) into /resources/assets and I was able to run php artisan koel:init successfully.

<!-- gh-comment-id:477764873 --> @CodinMoldovanu commented on GitHub (Mar 28, 2019): @kalenpw I pulled the core from koel/core and copied the assets (img,css,js,sass folders) into /resources/assets and I was able to run php artisan koel:init successfully.
Author
Owner

@kalenpw commented on GitHub (Mar 28, 2019):

Wonderful that worked for me as well. Thanks for the help!

<!-- gh-comment-id:477768573 --> @kalenpw commented on GitHub (Mar 28, 2019): Wonderful that worked for me as well. Thanks for the help!
Author
Owner

@phanan commented on GitHub (Mar 29, 2019):

You guys are installing from the master branch, which has web and core modules separated.

<!-- gh-comment-id:478020858 --> @phanan commented on GitHub (Mar 29, 2019): You guys are installing from the `master` branch, which has web and core modules separated.
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#607
No description provided.