[GH-ISSUE #805] ERROR: [Errno 2] No such file or directory: 'install' #565

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

Originally created by @7twin on GitHub (Sep 9, 2018).
Original GitHub issue: https://github.com/koel/koel/issues/805

  • You have read and followed closely the Wiki, Upgrade Guide, as well as Troubleshooting
  • This is not a "how to install on Windows" or "why is my npm messed up" question

Is associated with a version. Or better yet, a commit.

  • Master branch pulled today (10th September 2018)
  • Would love to provide the exact version but can't find it anywhere, if pointed towards a version file or anything else, I will post it.

Includes the error output if it's a bug/error report ("Whoops!" is not very helpful, you know)

  • I am facing exactly the same issue as #567 which got closed for not following the template
  • Running Ubuntu 18.04 LTS
  • Node (via n-node installer), Yarn (from repo), Nginx (from repo), Mysql (from repo), PHP 7.2 (from PPA)
  • The error ERROR: [Errno 2] No such file or directory: 'install' occurs after doing a php artisan koel:init inside the koel folder, within the step Compiling front-end stuff
Originally created by @7twin on GitHub (Sep 9, 2018). Original GitHub issue: https://github.com/koel/koel/issues/805 - [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] This is not a "how to install on Windows" or "why is my npm messed up" question --- **Is associated with a version. Or better yet, a commit.** - Master branch pulled today (10th September 2018) - Would love to provide the exact version but can't find it anywhere, if pointed towards a version file or anything else, I will post it. **Includes the error output if it's a bug/error report ("Whoops!" is not very helpful, you know)** - I am facing exactly the same issue as #567 which got closed for not following the template - Running Ubuntu 18.04 LTS - Node (via n-node installer), Yarn (from repo), Nginx (from repo), Mysql (from repo), PHP 7.2 (from PPA) - The error `ERROR: [Errno 2] No such file or directory: 'install'` occurs after doing a `php artisan koel:init` inside the `koel` folder, within the step `Compiling front-end stuff`
Author
Owner

@phanan commented on GitHub (Sep 16, 2018):

This looks like a problem with your Yarn installation, as hinted here. Please note that installing using master branch is not recommended, however.

<!-- gh-comment-id:421732815 --> @phanan commented on GitHub (Sep 16, 2018): This looks like a problem with your Yarn installation, as hinted [here](https://stackoverflow.com/questions/46013544/yarn-install-command-error-no-such-file-or-directory-install). Please note that installing using `master` branch is not recommended, however.
Author
Owner

@7twin commented on GitHub (Sep 21, 2018):

@phanan what branch is the stable and recommended one? also thanks - fixing it via the link provided worked, though now laravel reports "File /css/app.css not defined in asset manifest. (View: /var/www/html/koel/resources/views/index.blade.php)" post-installation, even though it all run through just fine in the terminal.

#748 addressed this before and had a solution merged in, but it still seems to happen.
I am running node 8.10, if that helps.

With Node v10.11.0 and a fresh install the same thing happens.

<!-- gh-comment-id:423667793 --> @7twin commented on GitHub (Sep 21, 2018): @phanan what branch is the stable and recommended one? also thanks - fixing it via the link provided worked, though now laravel reports `"File /css/app.css not defined in asset manifest. (View: /var/www/html/koel/resources/views/index.blade.php)"` post-installation, even though it all run through just fine in the terminal. #748 addressed this before and had a solution merged in, but it still seems to happen. I am running node 8.10, if that helps. With Node v10.11.0 and a fresh install the same thing happens.
Author
Owner

@phanan commented on GitHub (Sep 21, 2018):

@7twin https://github.com/phanan/koel/releases.

<!-- gh-comment-id:423677143 --> @phanan commented on GitHub (Sep 21, 2018): @7twin https://github.com/phanan/koel/releases.
Author
Owner

@7twin commented on GitHub (Sep 21, 2018):

@phanan pulling from the releases and installing worked (with Node 8.12, not 10), but the login never went through behind the nginx proxy, this helped: https://github.com/phanan/koel/issues/255#issuecomment-384622764

Would maybe as suggested an env variable be worth it? or atleast a "behind nginx proxy" readme section?

<!-- gh-comment-id:423689595 --> @7twin commented on GitHub (Sep 21, 2018): @phanan pulling from the releases and installing worked (with Node 8.12, not 10), but the login never went through behind the nginx proxy, this helped: https://github.com/phanan/koel/issues/255#issuecomment-384622764 Would maybe as suggested an env variable be worth it? or atleast a "behind nginx proxy" readme section?
Author
Owner

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

I do think we can improve the install documentation (especially after sorting through may GitHub issues on installing). I'll go ahead and close this as stale but glad to hear you got it working.

<!-- gh-comment-id:617594996 --> @BrookeDot commented on GitHub (Apr 22, 2020): I do think we can improve the install documentation (especially after sorting through may GitHub issues on installing). I'll go ahead and close this as stale but glad to hear you got it working.
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#565
No description provided.