mirror of
https://github.com/koel/koel.git
synced 2026-04-26 09:15:59 +03:00
[GH-ISSUE #557] ErrorException in Application.php line 51: file_get_contents(D:\wamp64\www\koel\public/mix-manifest.json): failed to open stream: No such file or directory (View: D:\wamp64\www\koel\resources\views\index.blade.php) #398
Labels
No labels
Authentication
Dependencies
Documentation
Feature Request
Flac
Help Wanted
Installation/Setup
Integration
Mobile
PR Welcome
Pending Release
Performance
Playlist
S3
Search
Sync
[Pri] Low
[Pri] Normal
[Status] Keep Open
[Status] Needs Author Reply
[Status] Needs Review
[Status] Stale
[Status] Will Implement
[Type] Blessed
[Type] Bug
[Type] Duplicate
[Type] Enhancement
[Type] Help Request
[Type] Question
[Type] Task
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/koel-koel#398
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @shahidkarimi on GitHub (Mar 10, 2017).
Original GitHub issue: https://github.com/koel/koel/issues/557
ErrorException in Application.php line 51:
file_get_contents(D:\wamp64\www\koel\public/mix-manifest.json): failed to open stream: No such file or directory (View: D:\wamp64\www\koel\resources\views\index.blade.php)
@dennisml4 commented on GitHub (Mar 11, 2017):
i have the same issue
@phanan commented on GitHub (Mar 11, 2017):
Please read the docs.
@mikimaine commented on GitHub (Apr 5, 2017):
I have the same issue but the doc doesn't address it anywhere .
@Gounlaf commented on GitHub (Apr 15, 2017):
@mikimaine, @dennisml4, @shahidkarimi
Command
koel:init(app/Console/Commands/Init.php#L75) executeyarn install.You may have this line during install:
Yarn can be installed with your system, or with npm:
npm install --global yarnDocumentation (Requirements > Server) mention:
Edit: so, just install yarn and execute manually
yarn install@mikimaine commented on GitHub (Apr 15, 2017):
ya when i change my node version to 7 it worked . Thank you.
@samdervis commented on GitHub (Dec 25, 2017):
I also had this issue. Seems like
mix-manifest.jsonis not created inyarn production.So after
koel:initi runyarn devto create the mix-manifest then just doyarn-prodIt then works fine
@pitylee commented on GitHub (Jan 3, 2018):
So far what I did was:
Manually added webpack mixed with:
yarn add webpack-laravel-mix-manifest --devAnd after that I built it with:
yarn example:buildBut you can do the same with:
npm i webpack-laravel-mix-manifest --save-devAnd build:
npm run example:buildBut yarn package is required by Koel, so this should not be a problem, though if you lyk npm better, than npm init (pun intended)
Still no success, the webpack would not generate the json nor build the assets...
@pitylee commented on GitHub (Jan 3, 2018):
Bump:
So I found the main problem(s):
Rebuilt node-sass with command:
npm rebuild node-sassThis took around ~10 to ~15 minutes but in the end I was able to run:
npm run productionBut the php artisan koel:init should be enough aswell as this gives life to the beast. Yaaa!
Many thanks to this node-sass issue and our friend, Google
Bump, don't give up, guys, this thing really deserves a try and a star on the repo.
Thanks, @phanan !
@gbip commented on GitHub (Aug 24, 2018):
Could you make the "missing yarn" a hard error (aka no success message) during install ?
Thanks !
For FreeBSD users, if yarn fails building, try installing the
python2package. (akapkg install python2).@nickian commented on GitHub (Nov 12, 2018):
None of this worked for me. Originally, I was getting the mix-manifest.json error. Now I'm still getting:
File /css/app.css not defined in asset manifest. (View: /var/www/resources/views/index.blade.php)This app looks so great, but it is a disaster to get working. I had to give up! I wish there were better documentation and that this didn't have so many mysterious dependencies.
@aokitashipro commented on GitHub (Nov 21, 2018):
I got similar error after koel init.
(1/2) ErrorException
file_get_contents(C:\xampp\htdocs\laravel_test\public/mix-manifest.json): failed to open stream: No such file or directory
(2/2) ErrorException
file_get_contents(C:\xampp\htdocs\laravel_test\public/mix-manifest.json): failed to open stream: No such file or directory (View: C:\xampp\htdocs\laravel_test\resources\views\index.blade.php)