[GH-ISSUE #605] ErrorException in Application.php line 52 =( #433

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

Originally created by @arpsyapathy on GitHub (May 31, 2017).
Original GitHub issue: https://github.com/koel/koel/issues/605

Error:
`
ErrorException in Application.php line 52: file_get_contents(/var/www/ignn/koel/public/build /rev-manifest.json): failed to open stream: No such file or directory (View: /var/www/ignn/koel/resources/views/index.blade.php)

in Application.php line 52
at CompilerEngine->handleViewException(object(ErrorException), '1') in PhpEngine.php line 44
at PhpEngine->evaluatePath('/var/www/ignn/koel/storage/framework/views/2baf1bf9b0eeba77e6dd5bfdbe8d11a57d7dcfe2.php', array('__env' => object(Factory), 'app' => object(Application))) in CompilerEngine.php line 59
at CompilerEngine->get('/var/www/ignn/koel/resources/views/index.blade.php', array('__env' => object(Factory), 'app' => object(Application))) in View.php line 149
at View->getContents() in View.php line 120
at View->renderContents() in View.php line 85
at View->render() in Response.php line 45
at Response->setContent(object(View)) in Response.php line 201
at Response->__construct(object(View)) in Router.php line 1042
at Router->prepareResponse(object(Request), object(View)) in Router.php line 642
at Router->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 104
at Pipeline->then(object(Closure)) in Router.php line 644
at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 618
at Router->dispatchToRoute(object(Request)) in Router.php line 596
at Router->dispatch(object(Request)) in Kernel.php line 267
at Kernel->Illuminate\Foundation\Http\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in UseDifferentConfigIfE2E.php line 27
at UseDifferentConfigIfE2E->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in CheckForMaintenanceMode.php line 46
at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 104
at Pipeline->then(object(Closure)) in Kernel.php line 149
at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 116
at Kernel->handle(object(Request)) in index.php line 52
at require_once('/var/www/ignn/koel/index.php') in server.php line 19

ErrorException in Application.php line 52: file_get_contents(/var/www/ignn/koel/public/build/rev-manifest.json): failed to open stream: No such file or directory

in Application.php line 52
at HandleExceptions->handleError('2', 'file_get_contents(/var/www/ignn/koel/public/build/rev-manifest.json): failed to open stream: No such file or directory', '/var/www/ignn/koel/app/Application.php', '52', array('file' => 'css/vendors.css', 'manifestFile' => '/var/www/ignn/koel/public/build/rev-manifest.json', 'manifest' => null))
at file_get_contents('/var/www/ignn/koel/public/build/rev-manifest.json') in Application.php line 52
at Application->rev('css/vendors.css') in Facade.php line 237
at Facade::__callStatic('rev', array('css/vendors.css')) in 2baf1bf9b0eeba77e6dd5bfdbe8d11a57d7dcfe2.php line 20
at include('/var/www/ignn/koel/storage/framework/views/2baf1bf9b0eeba77e6dd5bfdbe8d11a57d7dcfe2.php') in PhpEngine.php line 42
at PhpEngine->evaluatePath('/var/www/ignn/koel/storage/framework/views/2baf1bf9b0eeba77e6dd5bfdbe8d11a57d7dcfe2.php', array('__env' => object(Factory), 'app' => object(Application))) in CompilerEngine.php line 59
at CompilerEngine->get('/var/www/ignn/koel/resources/views/index.blade.php', array('__env' => object(Factory), 'app' => object(Application))) in View.php line 149
at View->getContents() in View.php line 120
at View->renderContents() in View.php line 85
at View->render() in Response.php line 45
at Response->setContent(object(View)) in Response.php line 201
at Response->__construct(object(View)) in Router.php line 1042
at Router->prepareResponse(object(Request), object(View)) in Router.php line 642
at Router->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 104
at Pipeline->then(object(Closure)) in Router.php line 644
at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 618
at Router->dispatchToRoute(object(Request)) in Router.php line 596
at Router->dispatch(object(Request)) in Kernel.php line 267
at Kernel->Illuminate\Foundation\Http\{closure}(object(Request)) in Pipeline.php line 53
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in UseDifferentConfigIfE2E.php line 27
at UseDifferentConfigIfE2E->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in CheckForMaintenanceMode.php line 46
at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in Pipeline.php line 137
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 104
at Pipeline->then(object(Closure)) in Kernel.php line 149
at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 116
at Kernel->handle(object(Request)) in index.php line 52
at require_once('/var/www/ignn/koel/index.php') in server.php line 19

`

i tried "npm install":

 npm install
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm WARN deprecated minimatch@1.0.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated to-iso-string@0.0.2: to-iso-string has been deprecated, use @segment/to-iso-string instead.
npm WARN deprecated jade@0.26.3: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
Killed          ...] \ extract:minimatch: verb gentlyRm don't care about conten

OS: Ubuntu 16.04
npm: 3.10.10
nodejs: 7.10.0
php: 7.0

Originally created by @arpsyapathy on GitHub (May 31, 2017). Original GitHub issue: https://github.com/koel/koel/issues/605 Error: ` ErrorException in Application.php line 52: file_get_contents(/var/www/ignn/koel/public/build /rev-manifest.json): failed to open stream: No such file or directory (View: /var/www/ignn/koel/resources/views/index.blade.php) in Application.php line 52 at CompilerEngine->handleViewException(object(ErrorException), '1') in PhpEngine.php line 44 at PhpEngine->evaluatePath('/var/www/ignn/koel/storage/framework/views/2baf1bf9b0eeba77e6dd5bfdbe8d11a57d7dcfe2.php', array('__env' => object(Factory), 'app' => object(Application))) in CompilerEngine.php line 59 at CompilerEngine->get('/var/www/ignn/koel/resources/views/index.blade.php', array('__env' => object(Factory), 'app' => object(Application))) in View.php line 149 at View->getContents() in View.php line 120 at View->renderContents() in View.php line 85 at View->render() in Response.php line 45 at Response->setContent(object(View)) in Response.php line 201 at Response->__construct(object(View)) in Router.php line 1042 at Router->prepareResponse(object(Request), object(View)) in Router.php line 642 at Router->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 53 at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 104 at Pipeline->then(object(Closure)) in Router.php line 644 at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 618 at Router->dispatchToRoute(object(Request)) in Router.php line 596 at Router->dispatch(object(Request)) in Kernel.php line 267 at Kernel->Illuminate\Foundation\Http\{closure}(object(Request)) in Pipeline.php line 53 at Pipeline->Illuminate\Routing\{closure}(object(Request)) in UseDifferentConfigIfE2E.php line 27 at UseDifferentConfigIfE2E->handle(object(Request), object(Closure)) in Pipeline.php line 137 at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33 at Pipeline->Illuminate\Routing\{closure}(object(Request)) in CheckForMaintenanceMode.php line 46 at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in Pipeline.php line 137 at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33 at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 104 at Pipeline->then(object(Closure)) in Kernel.php line 149 at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 116 at Kernel->handle(object(Request)) in index.php line 52 at require_once('/var/www/ignn/koel/index.php') in server.php line 19 ErrorException in Application.php line 52: file_get_contents(/var/www/ignn/koel/public/build/rev-manifest.json): failed to open stream: No such file or directory in Application.php line 52 at HandleExceptions->handleError('2', 'file_get_contents(/var/www/ignn/koel/public/build/rev-manifest.json): failed to open stream: No such file or directory', '/var/www/ignn/koel/app/Application.php', '52', array('file' => 'css/vendors.css', 'manifestFile' => '/var/www/ignn/koel/public/build/rev-manifest.json', 'manifest' => null)) at file_get_contents('/var/www/ignn/koel/public/build/rev-manifest.json') in Application.php line 52 at Application->rev('css/vendors.css') in Facade.php line 237 at Facade::__callStatic('rev', array('css/vendors.css')) in 2baf1bf9b0eeba77e6dd5bfdbe8d11a57d7dcfe2.php line 20 at include('/var/www/ignn/koel/storage/framework/views/2baf1bf9b0eeba77e6dd5bfdbe8d11a57d7dcfe2.php') in PhpEngine.php line 42 at PhpEngine->evaluatePath('/var/www/ignn/koel/storage/framework/views/2baf1bf9b0eeba77e6dd5bfdbe8d11a57d7dcfe2.php', array('__env' => object(Factory), 'app' => object(Application))) in CompilerEngine.php line 59 at CompilerEngine->get('/var/www/ignn/koel/resources/views/index.blade.php', array('__env' => object(Factory), 'app' => object(Application))) in View.php line 149 at View->getContents() in View.php line 120 at View->renderContents() in View.php line 85 at View->render() in Response.php line 45 at Response->setContent(object(View)) in Response.php line 201 at Response->__construct(object(View)) in Router.php line 1042 at Router->prepareResponse(object(Request), object(View)) in Router.php line 642 at Router->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 53 at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 104 at Pipeline->then(object(Closure)) in Router.php line 644 at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 618 at Router->dispatchToRoute(object(Request)) in Router.php line 596 at Router->dispatch(object(Request)) in Kernel.php line 267 at Kernel->Illuminate\Foundation\Http\{closure}(object(Request)) in Pipeline.php line 53 at Pipeline->Illuminate\Routing\{closure}(object(Request)) in UseDifferentConfigIfE2E.php line 27 at UseDifferentConfigIfE2E->handle(object(Request), object(Closure)) in Pipeline.php line 137 at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33 at Pipeline->Illuminate\Routing\{closure}(object(Request)) in CheckForMaintenanceMode.php line 46 at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in Pipeline.php line 137 at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33 at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 104 at Pipeline->then(object(Closure)) in Kernel.php line 149 at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 116 at Kernel->handle(object(Request)) in index.php line 52 at require_once('/var/www/ignn/koel/index.php') in server.php line 19 ` i tried "npm install": ``` npm install npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree. npm WARN deprecated node-uuid@1.4.8: Use uuid module instead npm WARN deprecated minimatch@1.0.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated to-iso-string@0.0.2: to-iso-string has been deprecated, use @segment/to-iso-string instead. npm WARN deprecated jade@0.26.3: Jade has been renamed to pug, please install the latest version of pug instead of jade npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue Killed ...] \ extract:minimatch: verb gentlyRm don't care about conten ``` OS: Ubuntu 16.04 npm: 3.10.10 nodejs: 7.10.0 php: 7.0
kerem closed this issue 2026-02-26 02:33:12 +03:00
Author
Owner

@kille250 commented on GitHub (May 31, 2017):

try yarn build out.

<!-- gh-comment-id:305168760 --> @kille250 commented on GitHub (May 31, 2017): try `yarn build` out.
Author
Owner

@arpsyapathy commented on GitHub (May 31, 2017):

Kille250
ERROR: [Errno 2] No such file or directory: 'build'

<!-- gh-comment-id:305287558 --> @arpsyapathy commented on GitHub (May 31, 2017): Kille250 `ERROR: [Errno 2] No such file or directory: 'build'`
Author
Owner

@kille250 commented on GitHub (May 31, 2017):

Only this?

<!-- gh-comment-id:305294584 --> @kille250 commented on GitHub (May 31, 2017): Only this?
Author
Owner

@phanan commented on GitHub (May 31, 2017):

Please read the docs carefully.

<!-- gh-comment-id:305337894 --> @phanan commented on GitHub (May 31, 2017): Please read the docs carefully.
Author
Owner

@chengjingfeng commented on GitHub (Jul 30, 2019):

Solution: Run yarn or npm install. You can also try running yarn build directly.

<!-- gh-comment-id:516471467 --> @chengjingfeng commented on GitHub (Jul 30, 2019): Solution: Run yarn or npm install. You can also try running yarn build directly.
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#433
No description provided.