koel: File js/main.js is not created?

Well I run the npm install, but in ending step “Fetching Version Source File” it said that public\js\main.js not found. I have tried to reinstall npm stuff for many times but it doesn’t fix. Because of that, when I trying to access Koel, it’s show a message:

ErrorException in Application.php line 57: File js/main.js not defined in asset manifest. (View D:…\resources\views\index.blade.php)

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 16 (13 by maintainers)

Most upvoted comments

Glad it works for you guys. Closing this issue now.

Same for me, that was it. I’ve posted a comment on the “unofficial debian installation guide” page, as it should be changed as well.

@X-Ryl669 Try upgrading your node to at least v5.5.0 and see if the problem persists.

This guy seems to have had the exact same issue and solved it by adding a line.

I’m not sure how it all adds up though especially since most of us are not having this issue, and I’m not sure why he had to add it.

Its most likely an issue with one of the packages and not Koel, try researching https://github.com/laravel/elixir/issues.

I think it’s because notify-send is not installed in the default npm installation. So the short term fix is to call sudo npm install -g notify-send then sudo apt-get install libnotify-bin and then, finally “npm install”

Can you please provide the entire output of npm install.

On another note if you are setting up Koel for the first time, you should be running composer install and then php artisan koel:init, see https://github.com/phanan/koel/wiki#installation.

My working theory is that either the file is not being created or that for some reason the permissions get messed up.