[GH-ISSUE #434] ErrorException in Application.php line 52 #308

Closed
opened 2026-02-26 02:32:46 +03:00 by kerem · 35 comments
Owner

Originally created by @pabsroq on GitHub (Sep 4, 2016).
Original GitHub issue: https://github.com/koel/koel/issues/434

Hi @phanan

I am currently experiencing:

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

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

Please see my environment below:

default['koel']['repos'] = [
'add-apt-repository ppa:mc3man/trusty-media', #for ffmpeg
'add-apt-repository ppa:ondrej/php',
'curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -'
]

default['koel']['packages'] = [
'git',
'vim',
'ffmpeg',
'frei0r-plugins',
'php5.6',
'php5.6-fpm',
'php5.6-mysql',
'php5.6-curl',
'php5.6-mbstring',
'php5.6-xml',
'nodejs',
'zip',
'unzip'
]

npm -v 3.10.3
node -v v6.5.0
php -v PHP 5.6.25-2
apachectl -v Server version: Apache/2.4.7 (Ubuntu)

I have performed the following
composer install
php artisan koel:init

as well asll

npminstall
composer install
php artisan koel:init

and nada, still getting the same error,

Thanks again!

Originally created by @pabsroq on GitHub (Sep 4, 2016). Original GitHub issue: https://github.com/koel/koel/issues/434 Hi @phanan I am currently experiencing: ErrorException in Application.php line 52: file_get_contents(/var/www/html/koel/public/build/rev-manifest.json): failed to open stream: No such file or directory ErrorException in Application.php line 52: file_get_contents(/var/www/html/koel/public/build/rev-manifest.json): failed to open stream: No such file or directory (View: /var/www/html/koel/resources/views/index.blade.php) Please see my environment below: default['koel']['repos'] = [ 'add-apt-repository ppa:mc3man/trusty-media', #for ffmpeg 'add-apt-repository ppa:ondrej/php', 'curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -' ] default['koel']['packages'] = [ 'git', 'vim', 'ffmpeg', 'frei0r-plugins', 'php5.6', 'php5.6-fpm', 'php5.6-mysql', 'php5.6-curl', 'php5.6-mbstring', 'php5.6-xml', 'nodejs', 'zip', 'unzip' ] npm -v 3.10.3 node -v v6.5.0 php -v PHP 5.6.25-2 apachectl -v Server version: Apache/2.4.7 (Ubuntu) I have performed the following composer install php artisan koel:init as well asll npminstall composer install php artisan koel:init and nada, still getting the same error, Thanks again!
kerem closed this issue 2026-02-26 02:32:46 +03:00
Author
Owner

@BernardGoldberger commented on GitHub (Sep 4, 2016):

@pabsroq this error is usually related to permission, for example running npm install as sudo.

Have a look at #426 or do a little search for similar issues that others had when installing Koel.

<!-- gh-comment-id:244631353 --> @BernardGoldberger commented on GitHub (Sep 4, 2016): @pabsroq this error is usually related to permission, for example running `npm install` as sudo. Have a look at #426 or do a little search for similar issues that others had when installing Koel.
Author
Owner

@pabsroq commented on GitHub (Sep 5, 2016):

Hi @bdgold, performed the below steps as www-data and still get the same results, also my /var/www/html folder permission is set to www-data
composer install
php artisan koel:init
php artisan serve --host 0.0.0.0

hmmm, now that you mention that, perhaps could be related because it needs to be run with a user with a /home, let me give that a shot.

<!-- gh-comment-id:244645499 --> @pabsroq commented on GitHub (Sep 5, 2016): Hi @bdgold, performed the below steps as www-data and still get the same results, also my /var/www/html folder permission is set to www-data composer install php artisan koel:init php artisan serve --host 0.0.0.0 hmmm, now that you mention that, perhaps could be related because it needs to be run with a user with a /home, let me give that a shot.
Author
Owner

@pabsroq commented on GitHub (Sep 5, 2016):

Hi @bdgold, just tried it again with /home/vagrant/koel and user vagrant, tried it with both npm install and the beggining and without it :(
npm install
composer install
php artisan koel:init
php artisan serve --host 0.0.0.0

This is a vagrant box,

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

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

<!-- gh-comment-id:244650955 --> @pabsroq commented on GitHub (Sep 5, 2016): Hi @bdgold, just tried it again with /home/vagrant/koel and user vagrant, tried it with both npm install and the beggining and without it :( npm install composer install php artisan koel:init php artisan serve --host 0.0.0.0 This is a vagrant box, 2/2 ErrorException in Application.php line 52: file_get_contents(/home/vagrant/koel/public/build/rev-manifest.json): failed to open stream: No such file or directory (View: /home/vagrant/koel/resources/views/index.blade.php) 1/2 ErrorException in Application.php line 52: file_get_contents(/home/vagrant/koel/public/build/rev-manifest.json): failed to open stream: No such file or directory
Author
Owner

@BernardGoldberger commented on GitHub (Sep 5, 2016):

I believe that the issue is whenever npm install is run with a root user.

<!-- gh-comment-id:244732140 --> @BernardGoldberger commented on GitHub (Sep 5, 2016): I believe that the issue is whenever `npm install` is run with a root user.
Author
Owner

@phanan commented on GitHub (Sep 5, 2016):

If the file is there but Koel still complains, 99.99% chance is a permission issue. Please make sure your file is readable by the Apache/nginx user.

<!-- gh-comment-id:244736548 --> @phanan commented on GitHub (Sep 5, 2016): If the file is there but Koel still complains, 99.99% chance is a permission issue. Please make sure your file is readable by the Apache/nginx user.
Author
Owner

@pabsroq commented on GitHub (Sep 5, 2016):

@bdgold @phanan
cloned koel within /home/vagrant and all operations are being ran as such, let me give it another shot!

<!-- gh-comment-id:244776298 --> @pabsroq commented on GitHub (Sep 5, 2016): @bdgold @phanan cloned koel within /home/vagrant and all operations are being ran as such, let me give it another shot!
Author
Owner

@pabsroq commented on GitHub (Sep 6, 2016):

@phanan
Installed everything as www-data, ran:
su www-data -s /bin/bash
composer install
php artisan koel:init
php artisan serve --host 0.0.0.0

still getting the same error :(

<!-- gh-comment-id:245120523 --> @pabsroq commented on GitHub (Sep 6, 2016): @phanan Installed everything as www-data, ran: su www-data -s /bin/bash composer install php artisan koel:init php artisan serve --host 0.0.0.0 still getting the same error :(
Author
Owner

@BernardGoldberger commented on GitHub (Sep 6, 2016):

@pabsroq can you provide the full log output of koel:init.

Also check the directory to see if the file exists or not.

<!-- gh-comment-id:245123259 --> @BernardGoldberger commented on GitHub (Sep 6, 2016): @pabsroq can you provide the full log output of `koel:init`. Also check the directory to see if the file exists or not.
Author
Owner

@pabsroq commented on GitHub (Sep 6, 2016):

@phanan
Both files exist:
www-data@default-ubuntu-1404:/html/koel$ ls -l /var/www/html/koel/resources/views/index.blade.php
-rw-r--r-- 1 www-data www-data 1156 Sep 6 22:39 /var/www/html/koel/resources/views/index.blade.php
www-data@default-ubuntu-1404:
/html/koel$ ls -l /var/www/html/koel/resources/views/index.blade.php
-rw-r--r-- 1 www-data www-data 1156 Sep 6 22:39 /var/www/html/koel/resources/views/index.blade.php
www-data@default-ubuntu-1404:~/html/koel$

Whoops, looks like something went wrong.

2/2
ErrorException in Application.php line 52:
file_get_contents(/var/www/html/koel/public/build/rev-manifest.json): failed to open stream: No such file or directory (View: /var/www/html/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/html/koel/storage/framework/views/78e695689c1f04e709656c0e33cfd14b1acd7d20.php', array('__env' => object(Factory), 'app' => object(Application))) in CompilerEngine.php line 59
at CompilerEngine->get('/var/www/html/koel/resources/views/index.blade.php', array('__env' => object(Factory), 'app' => object(Application))) in View.php line 147
at View->getContents() in View.php line 118
at View->renderContents() in View.php line 83
at View->render() in Response.php line 53
at Response->setContent(object(View)) in Response.php line 199
at Response->__construct(object(View)) in Router.php line 1087
at Router->prepareResponse(object(Request), object(View)) in Router.php line 725
at Router->Illuminate\Routing{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
at Pipeline->Illuminate\Routing{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 103
at Pipeline->then(object(Closure)) in Router.php line 726
at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 699
at Router->dispatchToRoute(object(Request)) in Router.php line 675
at Router->dispatch(object(Request)) in Kernel.php line 246
at Kernel->Illuminate\Foundation\Http{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
at Pipeline->Illuminate\Routing{closure}(object(Request)) in CheckForMaintenanceMode.php line 44
at CheckForMaintenanceMode->handle(object(Request), object(Closure))
at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
at Pipeline->Illuminate\Pipeline{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 103
at Pipeline->then(object(Closure)) in Kernel.php line 132
at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 99
at Kernel->handle(object(Request)) in index.php line 53
at require_once('/var/www/html/koel/index.php') in server.php line 19
1/2
ErrorException in Application.php line 52:
file_get_contents(/var/www/html/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/html/koel/public/build/rev-manifest.json): failed to open stream: No such file or directory', '/var/www/html/koel/app/Application.php', '52', array('file' => 'css/vendors.css', 'manifestFile' => '/var/www/html/koel/public/build/rev-manifest.json', 'manifest' => null))
at file_get_contents('/var/www/html/koel/public/build/rev-manifest.json') in Application.php line 52
at Application->rev('css/vendors.css') in Facade.php line 218
at Facade::__callStatic('rev', array('css/vendors.css')) in 78e695689c1f04e709656c0e33cfd14b1acd7d20.php line 20
at App::rev('css/vendors.css') in 78e695689c1f04e709656c0e33cfd14b1acd7d20.php line 20
at include('/var/www/html/koel/storage/framework/views/78e695689c1f04e709656c0e33cfd14b1acd7d20.php') in PhpEngine.php line 42
at PhpEngine->evaluatePath('/var/www/html/koel/storage/framework/views/78e695689c1f04e709656c0e33cfd14b1acd7d20.php', array('__env' => object(Factory), 'app' => object(Application))) in CompilerEngine.php line 59
at CompilerEngine->get('/var/www/html/koel/resources/views/index.blade.php', array('__env' => object(Factory), 'app' => object(Application))) in View.php line 147
at View->getContents() in View.php line 118
at View->renderContents() in View.php line 83
at View->render() in Response.php line 53
at Response->setContent(object(View)) in Response.php line 199
at Response->__construct(object(View)) in Router.php line 1087
at Router->prepareResponse(object(Request), object(View)) in Router.php line 725
at Router->Illuminate\Routing{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
at Pipeline->Illuminate\Routing{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 103
at Pipeline->then(object(Closure)) in Router.php line 726
at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 699
at Router->dispatchToRoute(object(Request)) in Router.php line 675
at Router->dispatch(object(Request)) in Kernel.php line 246
at Kernel->Illuminate\Foundation\Http{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
at Pipeline->Illuminate\Routing{closure}(object(Request)) in CheckForMaintenanceMode.php line 44
at CheckForMaintenanceMode->handle(object(Request), object(Closure))
at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
at Pipeline->Illuminate\Pipeline{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 103
at Pipeline->then(object(Closure)) in Kernel.php line 132
at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 99
at Kernel->handle(object(Request)) in index.php line 53
at require_once('/var/www/html/koel/index.php') in server.php line 19

<!-- gh-comment-id:245123933 --> @pabsroq commented on GitHub (Sep 6, 2016): @phanan Both files exist: www-data@default-ubuntu-1404:~/html/koel$ ls -l /var/www/html/koel/resources/views/index.blade.php -rw-r--r-- 1 www-data www-data 1156 Sep 6 22:39 /var/www/html/koel/resources/views/index.blade.php www-data@default-ubuntu-1404:~/html/koel$ ls -l /var/www/html/koel/resources/views/index.blade.php -rw-r--r-- 1 www-data www-data 1156 Sep 6 22:39 /var/www/html/koel/resources/views/index.blade.php www-data@default-ubuntu-1404:~/html/koel$ Whoops, looks like something went wrong. 2/2 ErrorException in Application.php line 52: file_get_contents(/var/www/html/koel/public/build/rev-manifest.json): failed to open stream: No such file or directory (View: /var/www/html/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/html/koel/storage/framework/views/78e695689c1f04e709656c0e33cfd14b1acd7d20.php', array('__env' => object(Factory), 'app' => object(Application))) in CompilerEngine.php line 59 at CompilerEngine->get('/var/www/html/koel/resources/views/index.blade.php', array('__env' => object(Factory), 'app' => object(Application))) in View.php line 147 at View->getContents() in View.php line 118 at View->renderContents() in View.php line 83 at View->render() in Response.php line 53 at Response->setContent(object(View)) in Response.php line 199 at Response->__construct(object(View)) in Router.php line 1087 at Router->prepareResponse(object(Request), object(View)) in Router.php line 725 at Router->Illuminate\Routing{closure}(object(Request)) at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52 at Pipeline->Illuminate\Routing{closure}(object(Request)) at call_user_func(object(Closure), object(Request)) in Pipeline.php line 103 at Pipeline->then(object(Closure)) in Router.php line 726 at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 699 at Router->dispatchToRoute(object(Request)) in Router.php line 675 at Router->dispatch(object(Request)) in Kernel.php line 246 at Kernel->Illuminate\Foundation\Http{closure}(object(Request)) at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52 at Pipeline->Illuminate\Routing{closure}(object(Request)) in CheckForMaintenanceMode.php line 44 at CheckForMaintenanceMode->handle(object(Request), object(Closure)) at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124 at Pipeline->Illuminate\Pipeline{closure}(object(Request)) at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32 at Pipeline->Illuminate\Routing{closure}(object(Request)) at call_user_func(object(Closure), object(Request)) in Pipeline.php line 103 at Pipeline->then(object(Closure)) in Kernel.php line 132 at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 99 at Kernel->handle(object(Request)) in index.php line 53 at require_once('/var/www/html/koel/index.php') in server.php line 19 1/2 ErrorException in Application.php line 52: file_get_contents(/var/www/html/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/html/koel/public/build/rev-manifest.json): failed to open stream: No such file or directory', '/var/www/html/koel/app/Application.php', '52', array('file' => 'css/vendors.css', 'manifestFile' => '/var/www/html/koel/public/build/rev-manifest.json', 'manifest' => null)) at file_get_contents('/var/www/html/koel/public/build/rev-manifest.json') in Application.php line 52 at Application->rev('css/vendors.css') in Facade.php line 218 at Facade::__callStatic('rev', array('css/vendors.css')) in 78e695689c1f04e709656c0e33cfd14b1acd7d20.php line 20 at App::rev('css/vendors.css') in 78e695689c1f04e709656c0e33cfd14b1acd7d20.php line 20 at include('/var/www/html/koel/storage/framework/views/78e695689c1f04e709656c0e33cfd14b1acd7d20.php') in PhpEngine.php line 42 at PhpEngine->evaluatePath('/var/www/html/koel/storage/framework/views/78e695689c1f04e709656c0e33cfd14b1acd7d20.php', array('__env' => object(Factory), 'app' => object(Application))) in CompilerEngine.php line 59 at CompilerEngine->get('/var/www/html/koel/resources/views/index.blade.php', array('__env' => object(Factory), 'app' => object(Application))) in View.php line 147 at View->getContents() in View.php line 118 at View->renderContents() in View.php line 83 at View->render() in Response.php line 53 at Response->setContent(object(View)) in Response.php line 199 at Response->__construct(object(View)) in Router.php line 1087 at Router->prepareResponse(object(Request), object(View)) in Router.php line 725 at Router->Illuminate\Routing{closure}(object(Request)) at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52 at Pipeline->Illuminate\Routing{closure}(object(Request)) at call_user_func(object(Closure), object(Request)) in Pipeline.php line 103 at Pipeline->then(object(Closure)) in Router.php line 726 at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 699 at Router->dispatchToRoute(object(Request)) in Router.php line 675 at Router->dispatch(object(Request)) in Kernel.php line 246 at Kernel->Illuminate\Foundation\Http{closure}(object(Request)) at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52 at Pipeline->Illuminate\Routing{closure}(object(Request)) in CheckForMaintenanceMode.php line 44 at CheckForMaintenanceMode->handle(object(Request), object(Closure)) at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124 at Pipeline->Illuminate\Pipeline{closure}(object(Request)) at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32 at Pipeline->Illuminate\Routing{closure}(object(Request)) at call_user_func(object(Closure), object(Request)) in Pipeline.php line 103 at Pipeline->then(object(Closure)) in Kernel.php line 132 at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 99 at Kernel->handle(object(Request)) in index.php line 53 at require_once('/var/www/html/koel/index.php') in server.php line 19
Author
Owner

@BernardGoldberger commented on GitHub (Sep 6, 2016):

I would like to see the console output of koel:init or npm install.

<!-- gh-comment-id:245124508 --> @BernardGoldberger commented on GitHub (Sep 6, 2016): I would like to see the console output of `koel:init` or `npm install`.
Author
Owner

@pabsroq commented on GitHub (Sep 6, 2016):

@bdgold run it right now or in a new environment?

<!-- gh-comment-id:245127637 --> @pabsroq commented on GitHub (Sep 6, 2016): @bdgold run it right now or in a new environment?
Author
Owner

@BernardGoldberger commented on GitHub (Sep 6, 2016):

A new environment would be optimal.

<!-- gh-comment-id:245127904 --> @BernardGoldberger commented on GitHub (Sep 6, 2016): A new environment would be optimal.
Author
Owner

@pabsroq commented on GitHub (Sep 6, 2016):

@bdgold Here you go

-----> Kitchen is finished. (3m35.38s)
Pablos-MacBook-Pro-2:koel pablo$ kitchen login
Welcome to Ubuntu 14.04.4 LTS (GNU/Linux 3.13.0-92-generic x86_64)

  • Documentation: https://help.ubuntu.com/
    Last login: Tue Sep 6 23:31:00 2016 from 10.0.2.2
    vagrant@default-ubuntu-1404:~$ sudo su
    root@default-ubuntu-1404:/home/vagrant# su www-data -s /bin/bash
    www-data@default-ubuntu-1404:/home/vagrant$

www-data@default-ubuntu-1404:/home/vagrant$ cd /var/www/html/koel/
www-data@default-ubuntu-1404:~/html/koel$ ls -l
total 232
drwxr-xr-x 15 www-data www-data 4096 Sep 6 23:33 app
-rwxr-xr-x 1 www-data www-data 1646 Sep 6 23:33 artisan
drwxr-xr-x 3 www-data www-data 4096 Sep 6 23:33 bootstrap
-rw-r--r-- 1 www-data www-data 1678 Sep 6 23:33 composer.json
-rw-r--r-- 1 www-data www-data 140633 Sep 6 23:33 composer.lock
drwxr-xr-x 2 www-data www-data 4096 Sep 6 23:33 config
drwxr-xr-x 5 www-data www-data 4096 Sep 6 23:33 database
-rw-r--r-- 1 www-data www-data 1572 Sep 6 23:33 gulpfile.js
-rw-r--r-- 1 www-data www-data 1760 Sep 6 23:33 index.php
-rw-r--r-- 1 www-data www-data 867 Sep 6 23:33 ISSUE_TEMPLATE.md
-rw-r--r-- 1 www-data www-data 1074 Sep 6 23:33 LICENSE.md
-rw-r--r-- 1 www-data www-data 1283 Sep 6 23:33 nginx.conf.example
-rw-r--r-- 1 www-data www-data 1614 Sep 6 23:33 package.json
-rw-r--r-- 1 www-data www-data 87 Sep 6 23:33 phpspec.yml
-rw-r--r-- 1 www-data www-data 1072 Sep 6 23:33 phpunit.xml
drwxr-xr-x 2 www-data www-data 4096 Sep 6 23:33 public
-rw-r--r-- 1 www-data www-data 10191 Sep 6 23:33 README.md
drwxr-xr-x 5 www-data www-data 4096 Sep 6 23:33 resources
-rw-r--r-- 1 www-data www-data 24 Sep 6 23:33 robots.txt
-rw-r--r-- 1 www-data www-data 529 Sep 6 23:33 server.php
drwxr-xr-x 4 www-data www-data 4096 Sep 6 23:33 storage
drwxr-xr-x 5 www-data www-data 4096 Sep 6 23:33 tests

APP_URL=http://localhost/koel
DB_CONNECTION=mysql
DB_HOST=192.168.0.100
DB_DATABASE=koel
DB_USERNAME=koel
DB_PASSWORD=koel
ADMIN_EMAIL=admin@admin.ca
ADMIN_NAME=admin
ADMIN_PASSWORD=admin
FFMPEG_PATH=/usr/bin/ffmpeg

www-data@default-ubuntu-1404:/html/koel$ npm -v
3.10.3
www-data@default-ubuntu-1404:
/html/koel$ node -v
v6.5.0
www-data@default-ubuntu-1404:~/html/koel$ nodejs -v
v6.5.0

www-data@default-ubuntu-1404:~/html/koel$ composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them.

  • Installing symfony/var-dumper (v3.0.3)
    Downloading: 100%
  • Installing symfony/translation (v3.0.3)
    Downloading: 100%
  • Installing symfony/routing (v3.0.3)
    Downloading: 100%
  • Installing symfony/process (v3.0.3)
    Downloading: 100%
  • Installing symfony/polyfill-util (v1.1.1)
    Downloading: 100%
  • Installing symfony/polyfill-php56 (v1.1.1)
    Downloading: 100%
  • Installing symfony/http-foundation (v3.0.3)
    Downloading: 100%
  • Installing symfony/event-dispatcher (v3.0.3)
    Downloading: 100%
  • Installing psr/log (1.0.0)
    Downloading: 100%
  • Installing symfony/debug (v3.0.3)
    Downloading: 100%
  • Installing symfony/http-kernel (v3.0.3)
    Downloading: 100%
  • Installing symfony/finder (v3.0.3)
    Downloading: 100%
  • Installing symfony/console (v3.0.3)
    Downloading: 100%
  • Installing swiftmailer/swiftmailer (v5.4.1)
    Downloading: 100%
  • Installing nikic/php-parser (v2.0.1)
    Downloading: 100%
  • Installing jakub-onderka/php-console-color (0.1)
    Downloading: 100%
  • Installing jakub-onderka/php-console-highlighter (v0.3.2)
    Downloading: 100%
  • Installing dnoegel/php-xdg-base-dir (0.1)
    Downloading: 100%
  • Installing psy/psysh (v0.7.2)
    Downloading: 100%
  • Installing paragonie/random_compat (v1.2.1)
    Downloading: 100%
  • Installing nesbot/carbon (1.21.0)
    Downloading: 100%
  • Installing mtdowling/cron-expression (v1.1.0)
    Downloading: 100%
  • Installing monolog/monolog (1.18.0)
    Downloading: 100%
  • Installing league/flysystem (1.0.18)
    Downloading: 100%
  • Installing jeremeamia/superclosure (2.2.0)
    Downloading: 100%
  • Installing doctrine/inflector (v1.1.0)
    Downloading: 100%
  • Installing classpreloader/classpreloader (3.0.0)
    Downloading: 100%
  • Installing laravel/framework (v5.2.22)
    Downloading: 100%
  • Installing mtdowling/jmespath.php (2.3.0)
    Downloading: 100%
  • Installing psr/http-message (1.0)
    Downloading: 100%
  • Installing guzzlehttp/psr7 (1.2.3)
    Downloading: 100%
  • Installing guzzlehttp/promises (1.1.0)
    Downloading: 100%
  • Installing guzzlehttp/guzzle (6.1.1)
    Downloading: 100%
  • Installing aws/aws-sdk-php (3.18.17)
    Downloading: 100%
  • Installing aws/aws-sdk-php-laravel (3.1.0)
    Downloading: 100%
  • Installing symfony/class-loader (v3.0.3)
    Downloading: 100%
  • Installing phpdocumentor/reflection-docblock (2.0.4)
    Downloading: 100%
  • Installing barryvdh/laravel-ide-helper (v2.1.4)
    Downloading: 100%
  • Installing james-heinrich/getid3 (v1.9.12)
    Downloading: 100%
  • Installing phanan/cascading-config (2.0.0)
    Downloading: 100%
  • Installing phpseclib/phpseclib (0.3.10)
    Downloading: 100%
  • Installing namshi/jose (5.0.2)
    Downloading: 100%
  • Installing tymon/jwt-auth (0.5.9)
    Downloading: 100%
  • Installing fzaninotto/faker (v1.5.0)
    Downloading: 100%
  • Installing hamcrest/hamcrest-php (v1.2.2)
    Downloading: 100%
  • Installing mockery/mockery (0.9.4)
    Downloading: 100%
  • Installing symfony/yaml (v3.0.3)
    Downloading: 100%
  • Installing sebastian/recursion-context (1.0.2)
    Downloading: 100%
  • Installing sebastian/exporter (1.2.1)
    Downloading: 100%
  • Installing sebastian/diff (1.4.1)
    Downloading: 100%
  • Installing sebastian/comparator (1.2.0)
    Downloading: 100%
  • Installing doctrine/instantiator (1.0.5)
    Downloading: 100%
  • Installing phpspec/prophecy (v1.6.0)
    Downloading: 100%
  • Installing phpspec/php-diff (v1.0.2)
    Downloading: 100%
  • Installing phpspec/phpspec (2.4.1)
    Downloading: 100%
  • Installing phpunit/php-token-stream (1.4.8)
    Downloading: 100%
  • Installing sebastian/version (1.0.6)
    Downloading: 100%
  • Installing sebastian/global-state (1.1.1)
    Downloading: 100%
  • Installing sebastian/environment (1.3.5)
    Downloading: 100%
  • Installing phpunit/php-text-template (1.2.1)
    Downloading: 100%
  • Installing phpunit/phpunit-mock-objects (2.3.8)
    Downloading: 100%
  • Installing phpunit/php-timer (1.0.7)
    Downloading: 100%
  • Installing phpunit/php-file-iterator (1.4.1)
    Downloading: 100%
  • Installing phpunit/php-code-coverage (2.2.4)
    Downloading: 100%
  • Installing phpunit/phpunit (4.8.23)
    Downloading: 100%
  • Installing symfony/css-selector (v3.0.3)
    Downloading: 100%
  • Installing symfony/dom-crawler (v3.0.3)
    Downloading: 100%

symfony/var-dumper suggests installing ext-symfony_debug ()
symfony/translation suggests installing symfony/config ()
symfony/routing suggests installing doctrine/annotations (For using the annotation loader)
symfony/routing suggests installing symfony/config (For using the all-in-one router or any loader)
symfony/routing suggests installing symfony/dependency-injection (For loading routes from a service)
symfony/routing suggests installing symfony/expression-language (For using expression matching)
symfony/event-dispatcher suggests installing symfony/dependency-injection ()
symfony/http-kernel suggests installing symfony/browser-kit ()
symfony/http-kernel suggests installing symfony/config ()
symfony/http-kernel suggests installing symfony/dependency-injection ()
psy/psysh suggests installing ext-pdo-sqlite (The doc command requires SQLite to work.)
paragonie/random_compat suggests installing ext-libsodium (Provides a modern crypto API that can be used to generate random bytes.)
monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server)
monolog/monolog suggests installing ext-amqp (Allow sending log messages to an AMQP server (1.0+ required))
monolog/monolog suggests installing ext-mongo (Allow sending log messages to a MongoDB server)
monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 server)
monolog/monolog suggests installing mongodb/mongodb (Allow sending log messages to a MongoDB server via PHP Driver)
monolog/monolog suggests installing php-console/php-console (Allow sending log messages to Google Chrome)
monolog/monolog suggests installing raven/raven (Allow sending log messages to a Sentry server)
monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar)
monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server)
monolog/monolog suggests installing videlalvaro/php-amqplib (Allow sending log messages to an AMQP server using php-amqplib)
league/flysystem suggests installing league/flysystem-aws-s3-v2 (Allows you to use S3 storage with AWS SDK v2)
league/flysystem suggests installing league/flysystem-aws-s3-v3 (Allows you to use S3 storage with AWS SDK v3)
league/flysystem suggests installing league/flysystem-azure (Allows you to use Windows Azure Blob storage)
league/flysystem suggests installing league/flysystem-cached-adapter (Flysystem adapter decorator for metadata caching)
league/flysystem suggests installing league/flysystem-copy (Allows you to use Copy.com storage)
league/flysystem suggests installing league/flysystem-dropbox (Allows you to use Dropbox storage)
league/flysystem suggests installing league/flysystem-eventable-filesystem (Allows you to use EventableFilesystem)
league/flysystem suggests installing league/flysystem-rackspace (Allows you to use Rackspace Cloud Files)
league/flysystem suggests installing league/flysystem-sftp (Allows you to use SFTP server storage via phpseclib)
league/flysystem suggests installing league/flysystem-webdav (Allows you to use WebDAV storage)
league/flysystem suggests installing league/flysystem-ziparchive (Allows you to use ZipArchive adapter)
laravel/framework suggests installing doctrine/dbal (Required to rename columns and drop SQLite columns (~2.4).)
laravel/framework suggests installing league/flysystem-aws-s3-v3 (Required to use the Flysystem S3 driver (~1.0).)
laravel/framework suggests installing league/flysystem-rackspace (Required to use the Flysystem Rackspace driver (~1.0).)
laravel/framework suggests installing pda/pheanstalk (Required to use the beanstalk queue driver (~3.0).)
laravel/framework suggests installing predis/predis (Required to use the redis cache and queue drivers (~1.0).)
laravel/framework suggests installing pusher/pusher-php-server (Required to use the Pusher broadcast driver (~2.0).)
aws/aws-sdk-php suggests installing aws/aws-php-sns-message-validator (To validate incoming SNS notifications)
aws/aws-sdk-php suggests installing doctrine/cache (To use the DoctrineCacheAdapter)
aws/aws-sdk-php-laravel suggests installing laravel/lumen-framework (To test the Lumen bindings)
symfony/class-loader suggests installing symfony/polyfill-apcu (For using ApcClassLoader on HHVM)
phpdocumentor/reflection-docblock suggests installing dflydev/markdown (~1.0)
phpdocumentor/reflection-docblock suggests installing erusev/parsedown (~1.0)
barryvdh/laravel-ide-helper suggests installing doctrine/dbal (Load information from the database about models for phpdocs (~2.3))
phpseclib/phpseclib suggests installing ext-gmp (Install the GMP (GNU Multiple Precision) extension in order to speed up arbitrary precision integer arithmetic operations.)
phpseclib/phpseclib suggests installing ext-mcrypt (Install the Mcrypt extension in order to speed up a wide variety of cryptographic operations.)
phpseclib/phpseclib suggests installing pear-pear/PHP_Compat (Install PHP_Compat to get phpseclib working on PHP < 4.3.3.)
fzaninotto/faker suggests installing ext-intl ()
phpspec/phpspec suggests installing phpspec/nyan-formatters (~1.0 – Adds Nyan formatters)
sebastian/global-state suggests installing ext-uopz (
)
phpunit/phpunit-mock-objects suggests installing ext-soap (*)
phpunit/php-code-coverage suggests installing ext-xdebug (>=2.2.1)
phpunit/phpunit suggests installing phpunit/php-invoker (~1.1)
Generating autoload files

php artisan clear-compiled
php artisan optimize
Generating optimized class loader
php artisan cache:clear
Application cache cleared!
php -r "if (!file_exists('.env')) copy('.env.example', '.env');"

www-data@default-ubuntu-1404:~/html/koel$ php artisan koel:init
Attempting to install or upgrade Koel.
Remember, you can always install/upgrade manually following the guide here:
📙 https://github.com/phanan/koel/wiki

Generating app key
Generating JWT secret
Migrating database
Seeding initial data
Executing npm install, gulp and whatnot
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 lodash@1.0.2: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.
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 tough-cookie@2.2.2: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130
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
npm WARN prefer global coffee-script@1.10.0 should be installed with -g
npm WARN prefer global marked@0.3.6 should be installed with -g
npm WARN prefer global node-gyp@3.4.0 should be installed with -g

node-sass@3.9.3 install /var/www/html/koel/node_modules/node-sass
node scripts/install.js

🎆 Success! You can now run Koel from localhost with php artisan serve.
Again, for more configuration guidance, refer to
📙 https://github.com/phanan/koel/wiki.
WIKI ROCKS WIKI RULES.
KTHXBYE.

www-data@default-ubuntu-1404:~/html/koel$ php artisan serve --host 0.0.0.0
Laravel development server started on http://0.0.0.0:8000/

<!-- gh-comment-id:245131140 --> @pabsroq commented on GitHub (Sep 6, 2016): @bdgold Here you go -----> Kitchen is finished. (3m35.38s) Pablos-MacBook-Pro-2:koel pablo$ kitchen login Welcome to Ubuntu 14.04.4 LTS (GNU/Linux 3.13.0-92-generic x86_64) - Documentation: https://help.ubuntu.com/ Last login: Tue Sep 6 23:31:00 2016 from 10.0.2.2 vagrant@default-ubuntu-1404:~$ sudo su root@default-ubuntu-1404:/home/vagrant# su www-data -s /bin/bash www-data@default-ubuntu-1404:/home/vagrant$ www-data@default-ubuntu-1404:/home/vagrant$ cd /var/www/html/koel/ www-data@default-ubuntu-1404:~/html/koel$ ls -l total 232 drwxr-xr-x 15 www-data www-data 4096 Sep 6 23:33 app -rwxr-xr-x 1 www-data www-data 1646 Sep 6 23:33 artisan drwxr-xr-x 3 www-data www-data 4096 Sep 6 23:33 bootstrap -rw-r--r-- 1 www-data www-data 1678 Sep 6 23:33 composer.json -rw-r--r-- 1 www-data www-data 140633 Sep 6 23:33 composer.lock drwxr-xr-x 2 www-data www-data 4096 Sep 6 23:33 config drwxr-xr-x 5 www-data www-data 4096 Sep 6 23:33 database -rw-r--r-- 1 www-data www-data 1572 Sep 6 23:33 gulpfile.js -rw-r--r-- 1 www-data www-data 1760 Sep 6 23:33 index.php -rw-r--r-- 1 www-data www-data 867 Sep 6 23:33 ISSUE_TEMPLATE.md -rw-r--r-- 1 www-data www-data 1074 Sep 6 23:33 LICENSE.md -rw-r--r-- 1 www-data www-data 1283 Sep 6 23:33 nginx.conf.example -rw-r--r-- 1 www-data www-data 1614 Sep 6 23:33 package.json -rw-r--r-- 1 www-data www-data 87 Sep 6 23:33 phpspec.yml -rw-r--r-- 1 www-data www-data 1072 Sep 6 23:33 phpunit.xml drwxr-xr-x 2 www-data www-data 4096 Sep 6 23:33 public -rw-r--r-- 1 www-data www-data 10191 Sep 6 23:33 README.md drwxr-xr-x 5 www-data www-data 4096 Sep 6 23:33 resources -rw-r--r-- 1 www-data www-data 24 Sep 6 23:33 robots.txt -rw-r--r-- 1 www-data www-data 529 Sep 6 23:33 server.php drwxr-xr-x 4 www-data www-data 4096 Sep 6 23:33 storage drwxr-xr-x 5 www-data www-data 4096 Sep 6 23:33 tests APP_URL=http://localhost/koel DB_CONNECTION=mysql DB_HOST=192.168.0.100 DB_DATABASE=koel DB_USERNAME=koel DB_PASSWORD=koel ADMIN_EMAIL=admin@admin.ca ADMIN_NAME=admin ADMIN_PASSWORD=admin FFMPEG_PATH=/usr/bin/ffmpeg www-data@default-ubuntu-1404:~/html/koel$ npm -v 3.10.3 www-data@default-ubuntu-1404:~/html/koel$ node -v v6.5.0 www-data@default-ubuntu-1404:~/html/koel$ nodejs -v v6.5.0 www-data@default-ubuntu-1404:~/html/koel$ composer install Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them. - Installing symfony/var-dumper (v3.0.3) Downloading: 100% - Installing symfony/translation (v3.0.3) Downloading: 100% - Installing symfony/routing (v3.0.3) Downloading: 100% - Installing symfony/process (v3.0.3) Downloading: 100% - Installing symfony/polyfill-util (v1.1.1) Downloading: 100% - Installing symfony/polyfill-php56 (v1.1.1) Downloading: 100% - Installing symfony/http-foundation (v3.0.3) Downloading: 100% - Installing symfony/event-dispatcher (v3.0.3) Downloading: 100% - Installing psr/log (1.0.0) Downloading: 100% - Installing symfony/debug (v3.0.3) Downloading: 100% - Installing symfony/http-kernel (v3.0.3) Downloading: 100% - Installing symfony/finder (v3.0.3) Downloading: 100% - Installing symfony/console (v3.0.3) Downloading: 100% - Installing swiftmailer/swiftmailer (v5.4.1) Downloading: 100% - Installing nikic/php-parser (v2.0.1) Downloading: 100% - Installing jakub-onderka/php-console-color (0.1) Downloading: 100% - Installing jakub-onderka/php-console-highlighter (v0.3.2) Downloading: 100% - Installing dnoegel/php-xdg-base-dir (0.1) Downloading: 100% - Installing psy/psysh (v0.7.2) Downloading: 100% - Installing paragonie/random_compat (v1.2.1) Downloading: 100% - Installing nesbot/carbon (1.21.0) Downloading: 100% - Installing mtdowling/cron-expression (v1.1.0) Downloading: 100% - Installing monolog/monolog (1.18.0) Downloading: 100% - Installing league/flysystem (1.0.18) Downloading: 100% - Installing jeremeamia/superclosure (2.2.0) Downloading: 100% - Installing doctrine/inflector (v1.1.0) Downloading: 100% - Installing classpreloader/classpreloader (3.0.0) Downloading: 100% - Installing laravel/framework (v5.2.22) Downloading: 100% - Installing mtdowling/jmespath.php (2.3.0) Downloading: 100% - Installing psr/http-message (1.0) Downloading: 100% - Installing guzzlehttp/psr7 (1.2.3) Downloading: 100% - Installing guzzlehttp/promises (1.1.0) Downloading: 100% - Installing guzzlehttp/guzzle (6.1.1) Downloading: 100% - Installing aws/aws-sdk-php (3.18.17) Downloading: 100% - Installing aws/aws-sdk-php-laravel (3.1.0) Downloading: 100% - Installing symfony/class-loader (v3.0.3) Downloading: 100% - Installing phpdocumentor/reflection-docblock (2.0.4) Downloading: 100% - Installing barryvdh/laravel-ide-helper (v2.1.4) Downloading: 100% - Installing james-heinrich/getid3 (v1.9.12) Downloading: 100% - Installing phanan/cascading-config (2.0.0) Downloading: 100% - Installing phpseclib/phpseclib (0.3.10) Downloading: 100% - Installing namshi/jose (5.0.2) Downloading: 100% - Installing tymon/jwt-auth (0.5.9) Downloading: 100% - Installing fzaninotto/faker (v1.5.0) Downloading: 100% - Installing hamcrest/hamcrest-php (v1.2.2) Downloading: 100% - Installing mockery/mockery (0.9.4) Downloading: 100% - Installing symfony/yaml (v3.0.3) Downloading: 100% - Installing sebastian/recursion-context (1.0.2) Downloading: 100% - Installing sebastian/exporter (1.2.1) Downloading: 100% - Installing sebastian/diff (1.4.1) Downloading: 100% - Installing sebastian/comparator (1.2.0) Downloading: 100% - Installing doctrine/instantiator (1.0.5) Downloading: 100% - Installing phpspec/prophecy (v1.6.0) Downloading: 100% - Installing phpspec/php-diff (v1.0.2) Downloading: 100% - Installing phpspec/phpspec (2.4.1) Downloading: 100% - Installing phpunit/php-token-stream (1.4.8) Downloading: 100% - Installing sebastian/version (1.0.6) Downloading: 100% - Installing sebastian/global-state (1.1.1) Downloading: 100% - Installing sebastian/environment (1.3.5) Downloading: 100% - Installing phpunit/php-text-template (1.2.1) Downloading: 100% - Installing phpunit/phpunit-mock-objects (2.3.8) Downloading: 100% - Installing phpunit/php-timer (1.0.7) Downloading: 100% - Installing phpunit/php-file-iterator (1.4.1) Downloading: 100% - Installing phpunit/php-code-coverage (2.2.4) Downloading: 100% - Installing phpunit/phpunit (4.8.23) Downloading: 100% - Installing symfony/css-selector (v3.0.3) Downloading: 100% - Installing symfony/dom-crawler (v3.0.3) Downloading: 100% symfony/var-dumper suggests installing ext-symfony_debug () symfony/translation suggests installing symfony/config () symfony/routing suggests installing doctrine/annotations (For using the annotation loader) symfony/routing suggests installing symfony/config (For using the all-in-one router or any loader) symfony/routing suggests installing symfony/dependency-injection (For loading routes from a service) symfony/routing suggests installing symfony/expression-language (For using expression matching) symfony/event-dispatcher suggests installing symfony/dependency-injection () symfony/http-kernel suggests installing symfony/browser-kit () symfony/http-kernel suggests installing symfony/config () symfony/http-kernel suggests installing symfony/dependency-injection () psy/psysh suggests installing ext-pdo-sqlite (The doc command requires SQLite to work.) paragonie/random_compat suggests installing ext-libsodium (Provides a modern crypto API that can be used to generate random bytes.) monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server) monolog/monolog suggests installing ext-amqp (Allow sending log messages to an AMQP server (1.0+ required)) monolog/monolog suggests installing ext-mongo (Allow sending log messages to a MongoDB server) monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 server) monolog/monolog suggests installing mongodb/mongodb (Allow sending log messages to a MongoDB server via PHP Driver) monolog/monolog suggests installing php-console/php-console (Allow sending log messages to Google Chrome) monolog/monolog suggests installing raven/raven (Allow sending log messages to a Sentry server) monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar) monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server) monolog/monolog suggests installing videlalvaro/php-amqplib (Allow sending log messages to an AMQP server using php-amqplib) league/flysystem suggests installing league/flysystem-aws-s3-v2 (Allows you to use S3 storage with AWS SDK v2) league/flysystem suggests installing league/flysystem-aws-s3-v3 (Allows you to use S3 storage with AWS SDK v3) league/flysystem suggests installing league/flysystem-azure (Allows you to use Windows Azure Blob storage) league/flysystem suggests installing league/flysystem-cached-adapter (Flysystem adapter decorator for metadata caching) league/flysystem suggests installing league/flysystem-copy (Allows you to use Copy.com storage) league/flysystem suggests installing league/flysystem-dropbox (Allows you to use Dropbox storage) league/flysystem suggests installing league/flysystem-eventable-filesystem (Allows you to use EventableFilesystem) league/flysystem suggests installing league/flysystem-rackspace (Allows you to use Rackspace Cloud Files) league/flysystem suggests installing league/flysystem-sftp (Allows you to use SFTP server storage via phpseclib) league/flysystem suggests installing league/flysystem-webdav (Allows you to use WebDAV storage) league/flysystem suggests installing league/flysystem-ziparchive (Allows you to use ZipArchive adapter) laravel/framework suggests installing doctrine/dbal (Required to rename columns and drop SQLite columns (~2.4).) laravel/framework suggests installing league/flysystem-aws-s3-v3 (Required to use the Flysystem S3 driver (~1.0).) laravel/framework suggests installing league/flysystem-rackspace (Required to use the Flysystem Rackspace driver (~1.0).) laravel/framework suggests installing pda/pheanstalk (Required to use the beanstalk queue driver (~3.0).) laravel/framework suggests installing predis/predis (Required to use the redis cache and queue drivers (~1.0).) laravel/framework suggests installing pusher/pusher-php-server (Required to use the Pusher broadcast driver (~2.0).) aws/aws-sdk-php suggests installing aws/aws-php-sns-message-validator (To validate incoming SNS notifications) aws/aws-sdk-php suggests installing doctrine/cache (To use the DoctrineCacheAdapter) aws/aws-sdk-php-laravel suggests installing laravel/lumen-framework (To test the Lumen bindings) symfony/class-loader suggests installing symfony/polyfill-apcu (For using ApcClassLoader on HHVM) phpdocumentor/reflection-docblock suggests installing dflydev/markdown (~1.0) phpdocumentor/reflection-docblock suggests installing erusev/parsedown (~1.0) barryvdh/laravel-ide-helper suggests installing doctrine/dbal (Load information from the database about models for phpdocs (~2.3)) phpseclib/phpseclib suggests installing ext-gmp (Install the GMP (GNU Multiple Precision) extension in order to speed up arbitrary precision integer arithmetic operations.) phpseclib/phpseclib suggests installing ext-mcrypt (Install the Mcrypt extension in order to speed up a wide variety of cryptographic operations.) phpseclib/phpseclib suggests installing pear-pear/PHP_Compat (Install PHP_Compat to get phpseclib working on PHP < 4.3.3.) fzaninotto/faker suggests installing ext-intl (_) phpspec/phpspec suggests installing phpspec/nyan-formatters (~1.0 – Adds Nyan formatters) sebastian/global-state suggests installing ext-uopz (_) phpunit/phpunit-mock-objects suggests installing ext-soap (*) phpunit/php-code-coverage suggests installing ext-xdebug (>=2.2.1) phpunit/phpunit suggests installing phpunit/php-invoker (~1.1) Generating autoload files > php artisan clear-compiled > php artisan optimize > Generating optimized class loader > php artisan cache:clear > Application cache cleared! > php -r "if (!file_exists('.env')) copy('.env.example', '.env');" www-data@default-ubuntu-1404:~/html/koel$ php artisan koel:init Attempting to install or upgrade Koel. Remember, you can always install/upgrade manually following the guide here: 📙 https://github.com/phanan/koel/wiki Generating app key Generating JWT secret Migrating database Seeding initial data Executing npm install, gulp and whatnot 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 lodash@1.0.2: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0. 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 tough-cookie@2.2.2: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130 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 npm WARN prefer global coffee-script@1.10.0 should be installed with -g npm WARN prefer global marked@0.3.6 should be installed with -g npm WARN prefer global node-gyp@3.4.0 should be installed with -g > node-sass@3.9.3 install /var/www/html/koel/node_modules/node-sass > node scripts/install.js 🎆 Success! You can now run Koel from localhost with `php artisan serve`. Again, for more configuration guidance, refer to 📙 https://github.com/phanan/koel/wiki. WIKI ROCKS WIKI RULES. KTHXBYE. www-data@default-ubuntu-1404:~/html/koel$ php artisan serve --host 0.0.0.0 Laravel development server started on http://0.0.0.0:8000/
Author
Owner

@BernardGoldberger commented on GitHub (Sep 6, 2016):

There is either some stuff missing or gulp did not run. could you run gulp and see what happens.

<!-- gh-comment-id:245131886 --> @BernardGoldberger commented on GitHub (Sep 6, 2016): There is either some stuff missing or `gulp` did not run. could you run `gulp` and see what happens.
Author
Owner

@pabsroq commented on GitHub (Sep 6, 2016):

@bdgold

Gulp wasnt installed so had to add it as root

root@default-ubuntu-1404:/var/www/html/koel# npm install -g gulp
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 lodash@1.0.2: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.
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.
/usr/bin/gulp -> /usr/lib/node_modules/gulp/bin/gulp.js
/usr/lib
└─┬ gulp@3.9.1
├── archy@1.0.0
├─┬ chalk@1.1.3
│ ├── ansi-styles@2.2.1
│ ├── escape-string-regexp@1.0.5
│ ├─┬ has-ansi@2.0.0
│ │ └── ansi-regex@2.0.0
│ ├── strip-ansi@3.0.1
│ └── supports-color@2.0.0
├── deprecated@0.0.1
├─┬ gulp-util@3.0.7
│ ├── array-differ@1.0.0
│ ├── array-uniq@1.0.3
│ ├── beeper@1.1.0
│ ├─┬ dateformat@1.0.12
│ │ ├── get-stdin@4.0.1
│ │ └─┬ meow@3.7.0
│ │ ├─┬ camelcase-keys@2.1.0
│ │ │ └── camelcase@2.1.1
│ │ ├── decamelize@1.2.0
│ │ ├─┬ loud-rejection@1.6.0
│ │ │ ├─┬ currently-unhandled@0.4.1
│ │ │ │ └── array-find-index@1.0.1
│ │ │ └── signal-exit@3.0.0
│ │ ├── map-obj@1.0.1
│ │ ├─┬ normalize-package-data@2.3.5
│ │ │ ├── hosted-git-info@2.1.5
│ │ │ ├─┬ is-builtin-module@1.0.0
│ │ │ │ └── builtin-modules@1.1.1
│ │ │ └─┬ validate-npm-package-license@3.0.1
│ │ │ ├─┬ spdx-correct@1.0.2
│ │ │ │ └── spdx-license-ids@1.2.2
│ │ │ └── spdx-expression-parse@1.0.3
│ │ ├── object-assign@4.1.0
│ │ ├─┬ read-pkg-up@1.0.1
│ │ │ ├─┬ find-up@1.1.2
│ │ │ │ ├── path-exists@2.1.0
│ │ │ │ └─┬ pinkie-promise@2.0.1
│ │ │ │ └── pinkie@2.0.4
│ │ │ └─┬ read-pkg@1.1.0
│ │ │ ├─┬ load-json-file@1.1.0
│ │ │ │ ├── graceful-fs@4.1.6
│ │ │ │ ├─┬ parse-json@2.2.0
│ │ │ │ │ └─┬ error-ex@1.3.0
│ │ │ │ │ └── is-arrayish@0.2.1
│ │ │ │ ├── pify@2.3.0
│ │ │ │ └── strip-bom@2.0.0
│ │ │ └── path-type@1.1.0
│ │ ├─┬ redent@1.0.0
│ │ │ ├─┬ indent-string@2.1.0
│ │ │ │ └─┬ repeating@2.0.1
│ │ │ │ └─┬ is-finite@1.0.1
│ │ │ │ └── number-is-nan@1.0.0
│ │ │ └── strip-indent@1.0.1
│ │ └── trim-newlines@1.0.0
│ ├─┬ fancy-log@1.2.0
│ │ └── time-stamp@1.0.1
│ ├─┬ gulplog@1.0.0
│ │ └── glogg@1.0.0
│ ├─┬ has-gulplog@0.1.0
│ │ └── sparkles@1.0.0
│ ├── lodash._reescape@3.0.0
│ ├── lodash._reevaluate@3.0.0
│ ├── lodash._reinterpolate@3.0.0
│ ├─┬ lodash.template@3.6.2
│ │ ├── lodash._basecopy@3.0.1
│ │ ├── lodash._basetostring@3.0.1
│ │ ├── lodash._basevalues@3.0.0
│ │ ├── lodash._isiterateecall@3.0.9
│ │ ├─┬ lodash.escape@3.2.0
│ │ │ └── lodash._root@3.0.1
│ │ ├─┬ lodash.keys@3.1.2
│ │ │ ├── lodash._getnative@3.9.1
│ │ │ ├── lodash.isarguments@3.1.0
│ │ │ └── lodash.isarray@3.0.4
│ │ ├── lodash.restparam@3.6.1
│ │ └── lodash.templatesettings@3.1.1
│ ├─┬ multipipe@0.1.2
│ │ └─┬ duplexer2@0.0.2
│ │ └── readable-stream@1.1.14
│ ├── object-assign@3.0.0
│ ├── replace-ext@0.0.1
│ ├─┬ through2@2.0.1
│ │ ├─┬ readable-stream@2.0.6
│ │ │ ├── core-util-is@1.0.2
│ │ │ ├── inherits@2.0.1
│ │ │ ├── isarray@1.0.0
│ │ │ ├── process-nextick-args@1.0.7
│ │ │ ├── string_decoder@0.10.31
│ │ │ └── util-deprecate@1.0.2
│ │ └── xtend@4.0.1
│ └─┬ vinyl@0.5.3
│ ├── clone@1.0.2
│ └── clone-stats@0.0.1
├── interpret@1.0.1
├─┬ liftoff@2.3.0
│ ├── extend@3.0.0
│ ├─┬ findup-sync@0.4.2
│ │ ├─┬ detect-file@0.1.0
│ │ │ └── fs-exists-sync@0.1.0
│ │ ├─┬ is-glob@2.0.1
│ │ │ └── is-extglob@1.0.0
│ │ ├─┬ micromatch@2.3.11
│ │ │ ├─┬ arr-diff@2.0.0
│ │ │ │ └── arr-flatten@1.0.1
│ │ │ ├── array-unique@0.2.1
│ │ │ ├─┬ braces@1.8.5
│ │ │ │ ├─┬ expand-range@1.8.2
│ │ │ │ │ └─┬ fill-range@2.2.3
│ │ │ │ │ ├── is-number@2.1.0
│ │ │ │ │ ├─┬ isobject@2.1.0
│ │ │ │ │ │ └── isarray@1.0.0
│ │ │ │ │ ├── randomatic@1.1.5
│ │ │ │ │ └── repeat-string@1.5.4
│ │ │ │ ├── preserve@0.2.0
│ │ │ │ └── repeat-element@1.1.2
│ │ │ ├─┬ expand-brackets@0.1.5
│ │ │ │ └── is-posix-bracket@0.1.1
│ │ │ ├── extglob@0.3.2
│ │ │ ├── filename-regex@2.0.0
│ │ │ ├─┬ kind-of@3.0.4
│ │ │ │ └── is-buffer@1.1.4
│ │ │ ├── normalize-path@2.0.1
│ │ │ ├─┬ object.omit@2.0.0
│ │ │ │ ├─┬ for-own@0.1.4
│ │ │ │ │ └── for-in@0.1.5
│ │ │ │ └── is-extendable@0.1.1
│ │ │ ├─┬ parse-glob@3.0.4
│ │ │ │ ├─┬ glob-base@0.3.0
│ │ │ │ │ └── glob-parent@2.0.0
│ │ │ │ └── is-dotfile@1.0.2
│ │ │ └─┬ regex-cache@0.4.3
│ │ │ ├── is-equal-shallow@0.1.3
│ │ │ └── is-primitive@2.0.0
│ │ └─┬ resolve-dir@0.1.1
│ │ └─┬ global-modules@0.2.3
│ │ ├─┬ global-prefix@0.1.4
│ │ │ ├── ini@1.3.4
│ │ │ ├─┬ osenv@0.1.3
│ │ │ │ └── os-tmpdir@1.0.1
│ │ │ └─┬ which@1.2.11
│ │ │ └── isexe@1.1.2
│ │ └── is-windows@0.2.0
│ ├─┬ fined@1.0.1
│ │ ├── expand-tilde@1.2.2
│ │ ├── lodash.assignwith@4.2.0
│ │ ├── lodash.isarray@4.0.0
│ │ ├── lodash.isempty@4.4.0
│ │ ├── lodash.pick@4.4.0
│ │ └─┬ parse-filepath@1.0.1
│ │ ├─┬ is-absolute@0.2.5
│ │ │ ├─┬ is-relative@0.2.1
│ │ │ │ └─┬ is-unc-path@0.1.1
│ │ │ │ └── unc-path-regex@0.1.2
│ │ │ └── is-windows@0.1.1
│ │ ├── map-cache@0.2.2
│ │ └─┬ path-root@0.1.1
│ │ └── path-root-regex@0.1.2
│ ├── flagged-respawn@0.3.2
│ ├── lodash.isplainobject@4.0.6
│ ├── lodash.isstring@4.0.1
│ ├── lodash.mapvalues@4.6.0
│ ├── rechoir@0.6.2
│ └── resolve@1.1.7
├── minimist@1.2.0
├─┬ orchestrator@0.3.7
│ ├─┬ end-of-stream@0.1.5
│ │ └─┬ once@1.3.3
│ │ └── wrappy@1.0.2
│ ├── sequencify@0.0.7
│ └── stream-consume@0.1.0
├── pretty-hrtime@1.0.2
├── semver@4.3.6
├─┬ tildify@1.2.0
│ └── os-homedir@1.0.1
├─┬ v8flags@2.0.11
│ └── user-home@1.1.1
└─┬ vinyl-fs@0.3.14
├── defaults@1.0.3
├─┬ glob-stream@3.1.18
│ ├─┬ glob@4.5.3
│ │ └── inflight@1.0.5
│ ├─┬ glob2base@0.0.12
│ │ └── find-index@0.1.1
│ ├─┬ minimatch@2.0.10
│ │ └─┬ brace-expansion@1.1.6
│ │ ├── balanced-match@0.4.2
│ │ └── concat-map@0.0.1
│ ├── ordered-read-streams@0.1.0
│ ├─┬ through2@0.6.5
│ │ └── readable-stream@1.0.34
│ └── unique-stream@1.0.0
├─┬ glob-watcher@0.0.6
│ └─┬ gaze@0.5.2
│ └─┬ globule@0.1.0
│ ├─┬ glob@3.1.21
│ │ ├── graceful-fs@1.2.3
│ │ └── inherits@1.0.2
│ ├── lodash@1.0.2
│ └─┬ minimatch@0.2.14
│ ├── lru-cache@2.7.3
│ └── sigmund@1.0.1
├─┬ graceful-fs@3.0.11
│ └── natives@1.1.0
├─┬ mkdirp@0.5.1
│ └── minimist@0.0.8
├─┬ strip-bom@1.0.0
│ ├── first-chunk-stream@1.0.0
│ └── is-utf8@0.2.1
├─┬ through2@0.6.5
│ └─┬ readable-stream@1.0.34
│ └── isarray@0.0.1
└─┬ vinyl@0.4.6
└── clone@0.2.0

root@default-ubuntu-1404:/var/www/html/koel# su www-data -s /bin/bash

ran gulp

www-data@default-ubuntu-1404:~/html/koel$ gulp
[23:55:09] Using gulpfile ~/html/koel/gulpfile.js
[23:55:09] Starting 'default'...
[23:55:09] Starting 'browserify'...

Fetching Browserify Source Files...

  • resources/assets/js/main.js

Saving To...

  • public/js/main.js

[23:55:10] Finished 'default' after 709 ms
[23:55:10] gulp-notify: [Laravel Elixir] Browserify Failed!: ENOENT: no such file or directory, scandir '/var/www/html/koel/node_modules/node-sass/vendor' while parsing file: /var/www/html/koel/resources/assets/js/app.vue
[23:55:10] gulp-notify: [Error running notifier] Could not send message: not found: notify-send
{ Error: ENOENT: no such file or directory, scandir '/var/www/html/koel/node_modules/node-sass/vendor' while parsing file: /var/www/html/koel/resources/assets/js/app.vue
at Error (native)
at Object.fs.readdirSync (fs.js:951:18)
at Object.getInstalledBinaries (/var/www/html/koel/node_modules/node-sass/lib/extensions.js:119:13)
at foundBinariesList (/var/www/html/koel/node_modules/node-sass/lib/errors.js:20:15)
at foundBinaries (/var/www/html/koel/node_modules/node-sass/lib/errors.js:15:5)
at Object.module.exports.missingBinary (/var/www/html/koel/node_modules/node-sass/lib/errors.js:45:5)
at Object. (/var/www/html/koel/node_modules/node-sass/lib/index.js:15:28)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
errno: -2,
code: 'ENOENT',
syscall: 'scandir',
path: '/var/www/html/koel/node_modules/node-sass/vendor',
filename: '/var/www/html/koel/resources/assets/js/app.vue',
stream:
Labeled {
_readableState:
ReadableState {
highWaterMark: 16,
buffer: [],
length: 0,
pipes: [Object],
pipesCount: 1,
flowing: true,
ended: false,
endEmitted: false,
reading: true,
sync: false,
needReadable: true,
emittedReadable: false,
readableListening: false,
objectMode: true,
defaultEncoding: 'utf8',
ranOut: false,
awaitDrain: 0,
readingMore: false,
decoder: null,
encoding: null,
resumeScheduled: false },
readable: true,
domain: null,
_events:
{ end: [Object],
error: [Object],
data: [Function: ondata],
_mutate: [Object] },
_eventsCount: 4,
_maxListeners: undefined,
_writableState:
WritableState {
highWaterMark: 16,
objectMode: true,
needDrain: false,
ending: true,
ended: true,
finished: true,
decodeStrings: true,
defaultEncoding: 'utf8',
length: 0,
writing: false,
corked: 0,
sync: false,
bufferProcessing: false,
onwrite: [Function],
writecb: null,
writelen: 0,
buffer: [],
pendingcb: 0,
prefinished: true,
errorEmitted: false },
writable: true,
allowHalfOpen: true,
_options: { objectMode: true },
_wrapOptions: { objectMode: true },
_streams: [ [Object] ],
length: 1,
label: 'deps' } }
at Error (native)
at Object.fs.readdirSync (fs.js:951:18)
at Object.getInstalledBinaries (/var/www/html/koel/node_modules/node-sass/lib/extensions.js:119:13)
at foundBinariesList (/var/www/html/koel/node_modules/node-sass/lib/errors.js:20:15)
at foundBinaries (/var/www/html/koel/node_modules/node-sass/lib/errors.js:15:5)
at Object.module.exports.missingBinary (/var/www/html/koel/node_modules/node-sass/lib/errors.js:45:5)
at Object. (/var/www/html/koel/node_modules/node-sass/lib/index.js:15:28)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
[23:55:10] Finished 'browserify' after 1.18 s
[23:55:10] Starting 'sass'...
[23:55:10] 'sass' errored after 9.12 ms
[23:55:10] Error: ENOENT: no such file or directory, scandir '/var/www/html/koel/node_modules/node-sass/vendor'
at Error (native)
at Object.fs.readdirSync (fs.js:951:18)
at Object.getInstalledBinaries (/var/www/html/koel/node_modules/node-sass/lib/extensions.js:119:13)
at foundBinariesList (/var/www/html/koel/node_modules/node-sass/lib/errors.js:20:15)
at foundBinaries (/var/www/html/koel/node_modules/node-sass/lib/errors.js:15:5)
at Object.module.exports.missingBinary (/var/www/html/koel/node_modules/node-sass/lib/errors.js:45:5)
at Object. (/var/www/html/koel/node_modules/node-sass/lib/index.js:15:28)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
[23:55:10] Error in plugin 'run-sequence(sass)'
Message:
ENOENT: no such file or directory, scandir '/var/www/html/koel/node_modules/node-sass/vendor'
Details:
errno: -2
code: ENOENT
syscall: scandir
path: /var/www/html/koel/node_modules/node-sass/vendor
Stack:
Error: ENOENT: no such file or directory, scandir '/var/www/html/koel/node_modules/node-sass/vendor'
at Error (native)
at Object.fs.readdirSync (fs.js:951:18)
at Object.getInstalledBinaries (/var/www/html/koel/node_modules/node-sass/lib/extensions.js:119:13)
at foundBinariesList (/var/www/html/koel/node_modules/node-sass/lib/errors.js:20:15)
at foundBinaries (/var/www/html/koel/node_modules/node-sass/lib/errors.js:15:5)
at Object.module.exports.missingBinary (/var/www/html/koel/node_modules/node-sass/lib/errors.js:45:5)
at Object. (/var/www/html/koel/node_modules/node-sass/lib/index.js:15:28)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
www-data@default-ubuntu-1404:~/html/koel$

<!-- gh-comment-id:245132887 --> @pabsroq commented on GitHub (Sep 6, 2016): @bdgold Gulp wasnt installed so had to add it as root > > root@default-ubuntu-1404:/var/www/html/koel# npm install -g gulp > > 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 lodash@1.0.2: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0. > > 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. > > /usr/bin/gulp -> /usr/lib/node_modules/gulp/bin/gulp.js > > /usr/lib > > └─┬ gulp@3.9.1 > > ├── archy@1.0.0 > > ├─┬ chalk@1.1.3 > > │ ├── ansi-styles@2.2.1 > > │ ├── escape-string-regexp@1.0.5 > > │ ├─┬ has-ansi@2.0.0 > > │ │ └── ansi-regex@2.0.0 > > │ ├── strip-ansi@3.0.1 > > │ └── supports-color@2.0.0 > > ├── deprecated@0.0.1 > > ├─┬ gulp-util@3.0.7 > > │ ├── array-differ@1.0.0 > > │ ├── array-uniq@1.0.3 > > │ ├── beeper@1.1.0 > > │ ├─┬ dateformat@1.0.12 > > │ │ ├── get-stdin@4.0.1 > > │ │ └─┬ meow@3.7.0 > > │ │ ├─┬ camelcase-keys@2.1.0 > > │ │ │ └── camelcase@2.1.1 > > │ │ ├── decamelize@1.2.0 > > │ │ ├─┬ loud-rejection@1.6.0 > > │ │ │ ├─┬ currently-unhandled@0.4.1 > > │ │ │ │ └── array-find-index@1.0.1 > > │ │ │ └── signal-exit@3.0.0 > > │ │ ├── map-obj@1.0.1 > > │ │ ├─┬ normalize-package-data@2.3.5 > > │ │ │ ├── hosted-git-info@2.1.5 > > │ │ │ ├─┬ is-builtin-module@1.0.0 > > │ │ │ │ └── builtin-modules@1.1.1 > > │ │ │ └─┬ validate-npm-package-license@3.0.1 > > │ │ │ ├─┬ spdx-correct@1.0.2 > > │ │ │ │ └── spdx-license-ids@1.2.2 > > │ │ │ └── spdx-expression-parse@1.0.3 > > │ │ ├── object-assign@4.1.0 > > │ │ ├─┬ read-pkg-up@1.0.1 > > │ │ │ ├─┬ find-up@1.1.2 > > │ │ │ │ ├── path-exists@2.1.0 > > │ │ │ │ └─┬ pinkie-promise@2.0.1 > > │ │ │ │ └── pinkie@2.0.4 > > │ │ │ └─┬ read-pkg@1.1.0 > > │ │ │ ├─┬ load-json-file@1.1.0 > > │ │ │ │ ├── graceful-fs@4.1.6 > > │ │ │ │ ├─┬ parse-json@2.2.0 > > │ │ │ │ │ └─┬ error-ex@1.3.0 > > │ │ │ │ │ └── is-arrayish@0.2.1 > > │ │ │ │ ├── pify@2.3.0 > > │ │ │ │ └── strip-bom@2.0.0 > > │ │ │ └── path-type@1.1.0 > > │ │ ├─┬ redent@1.0.0 > > │ │ │ ├─┬ indent-string@2.1.0 > > │ │ │ │ └─┬ repeating@2.0.1 > > │ │ │ │ └─┬ is-finite@1.0.1 > > │ │ │ │ └── number-is-nan@1.0.0 > > │ │ │ └── strip-indent@1.0.1 > > │ │ └── trim-newlines@1.0.0 > > │ ├─┬ fancy-log@1.2.0 > > │ │ └── time-stamp@1.0.1 > > │ ├─┬ gulplog@1.0.0 > > │ │ └── glogg@1.0.0 > > │ ├─┬ has-gulplog@0.1.0 > > │ │ └── sparkles@1.0.0 > > │ ├── lodash._reescape@3.0.0 > > │ ├── lodash._reevaluate@3.0.0 > > │ ├── lodash._reinterpolate@3.0.0 > > │ ├─┬ lodash.template@3.6.2 > > │ │ ├── lodash._basecopy@3.0.1 > > │ │ ├── lodash._basetostring@3.0.1 > > │ │ ├── lodash._basevalues@3.0.0 > > │ │ ├── lodash._isiterateecall@3.0.9 > > │ │ ├─┬ lodash.escape@3.2.0 > > │ │ │ └── lodash._root@3.0.1 > > │ │ ├─┬ lodash.keys@3.1.2 > > │ │ │ ├── lodash._getnative@3.9.1 > > │ │ │ ├── lodash.isarguments@3.1.0 > > │ │ │ └── lodash.isarray@3.0.4 > > │ │ ├── lodash.restparam@3.6.1 > > │ │ └── lodash.templatesettings@3.1.1 > > │ ├─┬ multipipe@0.1.2 > > │ │ └─┬ duplexer2@0.0.2 > > │ │ └── readable-stream@1.1.14 > > │ ├── object-assign@3.0.0 > > │ ├── replace-ext@0.0.1 > > │ ├─┬ through2@2.0.1 > > │ │ ├─┬ readable-stream@2.0.6 > > │ │ │ ├── core-util-is@1.0.2 > > │ │ │ ├── inherits@2.0.1 > > │ │ │ ├── isarray@1.0.0 > > │ │ │ ├── process-nextick-args@1.0.7 > > │ │ │ ├── string_decoder@0.10.31 > > │ │ │ └── util-deprecate@1.0.2 > > │ │ └── xtend@4.0.1 > > │ └─┬ vinyl@0.5.3 > > │ ├── clone@1.0.2 > > │ └── clone-stats@0.0.1 > > ├── interpret@1.0.1 > > ├─┬ liftoff@2.3.0 > > │ ├── extend@3.0.0 > > │ ├─┬ findup-sync@0.4.2 > > │ │ ├─┬ detect-file@0.1.0 > > │ │ │ └── fs-exists-sync@0.1.0 > > │ │ ├─┬ is-glob@2.0.1 > > │ │ │ └── is-extglob@1.0.0 > > │ │ ├─┬ micromatch@2.3.11 > > │ │ │ ├─┬ arr-diff@2.0.0 > > │ │ │ │ └── arr-flatten@1.0.1 > > │ │ │ ├── array-unique@0.2.1 > > │ │ │ ├─┬ braces@1.8.5 > > │ │ │ │ ├─┬ expand-range@1.8.2 > > │ │ │ │ │ └─┬ fill-range@2.2.3 > > │ │ │ │ │ ├── is-number@2.1.0 > > │ │ │ │ │ ├─┬ isobject@2.1.0 > > │ │ │ │ │ │ └── isarray@1.0.0 > > │ │ │ │ │ ├── randomatic@1.1.5 > > │ │ │ │ │ └── repeat-string@1.5.4 > > │ │ │ │ ├── preserve@0.2.0 > > │ │ │ │ └── repeat-element@1.1.2 > > │ │ │ ├─┬ expand-brackets@0.1.5 > > │ │ │ │ └── is-posix-bracket@0.1.1 > > │ │ │ ├── extglob@0.3.2 > > │ │ │ ├── filename-regex@2.0.0 > > │ │ │ ├─┬ kind-of@3.0.4 > > │ │ │ │ └── is-buffer@1.1.4 > > │ │ │ ├── normalize-path@2.0.1 > > │ │ │ ├─┬ object.omit@2.0.0 > > │ │ │ │ ├─┬ for-own@0.1.4 > > │ │ │ │ │ └── for-in@0.1.5 > > │ │ │ │ └── is-extendable@0.1.1 > > │ │ │ ├─┬ parse-glob@3.0.4 > > │ │ │ │ ├─┬ glob-base@0.3.0 > > │ │ │ │ │ └── glob-parent@2.0.0 > > │ │ │ │ └── is-dotfile@1.0.2 > > │ │ │ └─┬ regex-cache@0.4.3 > > │ │ │ ├── is-equal-shallow@0.1.3 > > │ │ │ └── is-primitive@2.0.0 > > │ │ └─┬ resolve-dir@0.1.1 > > │ │ └─┬ global-modules@0.2.3 > > │ │ ├─┬ global-prefix@0.1.4 > > │ │ │ ├── ini@1.3.4 > > │ │ │ ├─┬ osenv@0.1.3 > > │ │ │ │ └── os-tmpdir@1.0.1 > > │ │ │ └─┬ which@1.2.11 > > │ │ │ └── isexe@1.1.2 > > │ │ └── is-windows@0.2.0 > > │ ├─┬ fined@1.0.1 > > │ │ ├── expand-tilde@1.2.2 > > │ │ ├── lodash.assignwith@4.2.0 > > │ │ ├── lodash.isarray@4.0.0 > > │ │ ├── lodash.isempty@4.4.0 > > │ │ ├── lodash.pick@4.4.0 > > │ │ └─┬ parse-filepath@1.0.1 > > │ │ ├─┬ is-absolute@0.2.5 > > │ │ │ ├─┬ is-relative@0.2.1 > > │ │ │ │ └─┬ is-unc-path@0.1.1 > > │ │ │ │ └── unc-path-regex@0.1.2 > > │ │ │ └── is-windows@0.1.1 > > │ │ ├── map-cache@0.2.2 > > │ │ └─┬ path-root@0.1.1 > > │ │ └── path-root-regex@0.1.2 > > │ ├── flagged-respawn@0.3.2 > > │ ├── lodash.isplainobject@4.0.6 > > │ ├── lodash.isstring@4.0.1 > > │ ├── lodash.mapvalues@4.6.0 > > │ ├── rechoir@0.6.2 > > │ └── resolve@1.1.7 > > ├── minimist@1.2.0 > > ├─┬ orchestrator@0.3.7 > > │ ├─┬ end-of-stream@0.1.5 > > │ │ └─┬ once@1.3.3 > > │ │ └── wrappy@1.0.2 > > │ ├── sequencify@0.0.7 > > │ └── stream-consume@0.1.0 > > ├── pretty-hrtime@1.0.2 > > ├── semver@4.3.6 > > ├─┬ tildify@1.2.0 > > │ └── os-homedir@1.0.1 > > ├─┬ v8flags@2.0.11 > > │ └── user-home@1.1.1 > > └─┬ vinyl-fs@0.3.14 > > ├── defaults@1.0.3 > > ├─┬ glob-stream@3.1.18 > > │ ├─┬ glob@4.5.3 > > │ │ └── inflight@1.0.5 > > │ ├─┬ glob2base@0.0.12 > > │ │ └── find-index@0.1.1 > > │ ├─┬ minimatch@2.0.10 > > │ │ └─┬ brace-expansion@1.1.6 > > │ │ ├── balanced-match@0.4.2 > > │ │ └── concat-map@0.0.1 > > │ ├── ordered-read-streams@0.1.0 > > │ ├─┬ through2@0.6.5 > > │ │ └── readable-stream@1.0.34 > > │ └── unique-stream@1.0.0 > > ├─┬ glob-watcher@0.0.6 > > │ └─┬ gaze@0.5.2 > > │ └─┬ globule@0.1.0 > > │ ├─┬ glob@3.1.21 > > │ │ ├── graceful-fs@1.2.3 > > │ │ └── inherits@1.0.2 > > │ ├── lodash@1.0.2 > > │ └─┬ minimatch@0.2.14 > > │ ├── lru-cache@2.7.3 > > │ └── sigmund@1.0.1 > > ├─┬ graceful-fs@3.0.11 > > │ └── natives@1.1.0 > > ├─┬ mkdirp@0.5.1 > > │ └── minimist@0.0.8 > > ├─┬ strip-bom@1.0.0 > > │ ├── first-chunk-stream@1.0.0 > > │ └── is-utf8@0.2.1 > > ├─┬ through2@0.6.5 > > │ └─┬ readable-stream@1.0.34 > > │ └── isarray@0.0.1 > > └─┬ vinyl@0.4.6 > > └── clone@0.2.0 root@default-ubuntu-1404:/var/www/html/koel# su www-data -s /bin/bash > > ran gulp www-data@default-ubuntu-1404:~/html/koel$ gulp [23:55:09] Using gulpfile ~/html/koel/gulpfile.js [23:55:09] Starting 'default'... [23:55:09] Starting 'browserify'... Fetching Browserify Source Files... - resources/assets/js/main.js Saving To... - public/js/main.js [23:55:10] Finished 'default' after 709 ms [23:55:10] gulp-notify: [Laravel Elixir] Browserify Failed!: ENOENT: no such file or directory, scandir '/var/www/html/koel/node_modules/node-sass/vendor' while parsing file: /var/www/html/koel/resources/assets/js/app.vue [23:55:10] gulp-notify: [Error running notifier] Could not send message: not found: notify-send { Error: ENOENT: no such file or directory, scandir '/var/www/html/koel/node_modules/node-sass/vendor' while parsing file: /var/www/html/koel/resources/assets/js/app.vue at Error (native) at Object.fs.readdirSync (fs.js:951:18) at Object.getInstalledBinaries (/var/www/html/koel/node_modules/node-sass/lib/extensions.js:119:13) at foundBinariesList (/var/www/html/koel/node_modules/node-sass/lib/errors.js:20:15) at foundBinaries (/var/www/html/koel/node_modules/node-sass/lib/errors.js:15:5) at Object.module.exports.missingBinary (/var/www/html/koel/node_modules/node-sass/lib/errors.js:45:5) at Object.<anonymous> (/var/www/html/koel/node_modules/node-sass/lib/index.js:15:28) at Module._compile (module.js:556:32) at Object.Module._extensions..js (module.js:565:10) at Module.load (module.js:473:32) errno: -2, code: 'ENOENT', syscall: 'scandir', path: '/var/www/html/koel/node_modules/node-sass/vendor', filename: '/var/www/html/koel/resources/assets/js/app.vue', stream: Labeled { _readableState: ReadableState { highWaterMark: 16, buffer: [], length: 0, pipes: [Object], pipesCount: 1, flowing: true, ended: false, endEmitted: false, reading: true, sync: false, needReadable: true, emittedReadable: false, readableListening: false, objectMode: true, defaultEncoding: 'utf8', ranOut: false, awaitDrain: 0, readingMore: false, decoder: null, encoding: null, resumeScheduled: false }, readable: true, domain: null, _events: { end: [Object], error: [Object], data: [Function: ondata], _mutate: [Object] }, _eventsCount: 4, _maxListeners: undefined, _writableState: WritableState { highWaterMark: 16, objectMode: true, needDrain: false, ending: true, ended: true, finished: true, decodeStrings: true, defaultEncoding: 'utf8', length: 0, writing: false, corked: 0, sync: false, bufferProcessing: false, onwrite: [Function], writecb: null, writelen: 0, buffer: [], pendingcb: 0, prefinished: true, errorEmitted: false }, writable: true, allowHalfOpen: true, _options: { objectMode: true }, _wrapOptions: { objectMode: true }, _streams: [ [Object] ], length: 1, label: 'deps' } } at Error (native) at Object.fs.readdirSync (fs.js:951:18) at Object.getInstalledBinaries (/var/www/html/koel/node_modules/node-sass/lib/extensions.js:119:13) at foundBinariesList (/var/www/html/koel/node_modules/node-sass/lib/errors.js:20:15) at foundBinaries (/var/www/html/koel/node_modules/node-sass/lib/errors.js:15:5) at Object.module.exports.missingBinary (/var/www/html/koel/node_modules/node-sass/lib/errors.js:45:5) at Object.<anonymous> (/var/www/html/koel/node_modules/node-sass/lib/index.js:15:28) at Module._compile (module.js:556:32) at Object.Module._extensions..js (module.js:565:10) at Module.load (module.js:473:32) [23:55:10] Finished 'browserify' after 1.18 s [23:55:10] Starting 'sass'... [23:55:10] 'sass' errored after 9.12 ms [23:55:10] Error: ENOENT: no such file or directory, scandir '/var/www/html/koel/node_modules/node-sass/vendor' at Error (native) at Object.fs.readdirSync (fs.js:951:18) at Object.getInstalledBinaries (/var/www/html/koel/node_modules/node-sass/lib/extensions.js:119:13) at foundBinariesList (/var/www/html/koel/node_modules/node-sass/lib/errors.js:20:15) at foundBinaries (/var/www/html/koel/node_modules/node-sass/lib/errors.js:15:5) at Object.module.exports.missingBinary (/var/www/html/koel/node_modules/node-sass/lib/errors.js:45:5) at Object.<anonymous> (/var/www/html/koel/node_modules/node-sass/lib/index.js:15:28) at Module._compile (module.js:556:32) at Object.Module._extensions..js (module.js:565:10) at Module.load (module.js:473:32) [23:55:10] Error in plugin 'run-sequence(sass)' Message: ENOENT: no such file or directory, scandir '/var/www/html/koel/node_modules/node-sass/vendor' Details: errno: -2 code: ENOENT syscall: scandir path: /var/www/html/koel/node_modules/node-sass/vendor Stack: Error: ENOENT: no such file or directory, scandir '/var/www/html/koel/node_modules/node-sass/vendor' at Error (native) at Object.fs.readdirSync (fs.js:951:18) at Object.getInstalledBinaries (/var/www/html/koel/node_modules/node-sass/lib/extensions.js:119:13) at foundBinariesList (/var/www/html/koel/node_modules/node-sass/lib/errors.js:20:15) at foundBinaries (/var/www/html/koel/node_modules/node-sass/lib/errors.js:15:5) at Object.module.exports.missingBinary (/var/www/html/koel/node_modules/node-sass/lib/errors.js:45:5) at Object.<anonymous> (/var/www/html/koel/node_modules/node-sass/lib/index.js:15:28) at Module._compile (module.js:556:32) at Object.Module._extensions..js (module.js:565:10) at Module.load (module.js:473:32) www-data@default-ubuntu-1404:~/html/koel$
Author
Owner

@BernardGoldberger commented on GitHub (Sep 7, 2016):

I completely forgot to ask, what OS are you running?

<!-- gh-comment-id:245133661 --> @BernardGoldberger commented on GitHub (Sep 7, 2016): I completely forgot to ask, what OS are you running?
Author
Owner

@pabsroq commented on GitHub (Sep 7, 2016):

www-data@default-ubuntu-1404:~/html/koel$ uname -a
Linux default-ubuntu-1404 3.13.0-92-generic #139-Ubuntu SMP Tue Jun 28 20:42:26 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

It's a vagrant box, box: bento/ubuntu-14.04 executed via kitchen converge

<!-- gh-comment-id:245134142 --> @pabsroq commented on GitHub (Sep 7, 2016): www-data@default-ubuntu-1404:~/html/koel$ uname -a Linux default-ubuntu-1404 3.13.0-92-generic #139-Ubuntu SMP Tue Jun 28 20:42:26 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux It's a vagrant box, box: bento/ubuntu-14.04 executed via kitchen converge
Author
Owner

@BernardGoldberger commented on GitHub (Sep 7, 2016):

I don't have a ubuntu test environment right now.

I believe the issue is because you are running everything with su or sudo which means its running with root access.

<!-- gh-comment-id:245138757 --> @BernardGoldberger commented on GitHub (Sep 7, 2016): I don't have a ubuntu test environment right now. I believe the issue is because you are running everything with `su` or `sudo` which means its running with root access.
Author
Owner

@pabsroq commented on GitHub (Sep 7, 2016):

I am running them as www-data as you can see on my screen grabs :(
that is the apache user, with no sudo privileges, su was only used to act as that user :s

<!-- gh-comment-id:245143395 --> @pabsroq commented on GitHub (Sep 7, 2016): I am running them as www-data as you can see on my screen grabs :( that is the apache user, with no sudo privileges, su was only used to act as that user :s
Author
Owner

@phanan commented on GitHub (Sep 7, 2016):

Apparently node-sass wasn't installed? I'm re-opening this so that others can help you as well.

<!-- gh-comment-id:245157334 --> @phanan commented on GitHub (Sep 7, 2016): Apparently `node-sass` wasn't installed? I'm re-opening this so that others can help you as well.
Author
Owner

@pabsroq commented on GitHub (Sep 7, 2016):

@phanan so do I need to install gulp as well as node-sass?
My cookbook is almost ready so if you send me some details or confirmation I will upload it to github.

Thanks,

<!-- gh-comment-id:245158872 --> @pabsroq commented on GitHub (Sep 7, 2016): @phanan so do I need to install gulp as well as node-sass? My cookbook is almost ready so if you send me some details or confirmation I will upload it to github. Thanks,
Author
Owner

@phanan commented on GitHub (Sep 7, 2016):

@pabsroq Try installing them individually – though it's weird that you'd have to, because npm install should handle it for you automatically.

<!-- gh-comment-id:245161033 --> @phanan commented on GitHub (Sep 7, 2016): @pabsroq Try installing them individually – though it's weird that you'd have to, because `npm install` should handle it for you automatically.
Author
Owner

@BernardGoldberger commented on GitHub (Sep 7, 2016):

Maybe this is the issue he is having.

@phanan it seems like npm install did not rung when e ran koel:init.

<!-- gh-comment-id:245161483 --> @BernardGoldberger commented on GitHub (Sep 7, 2016): Maybe [this](https://github.com/sass/node-sass/issues/1484) is the issue he is having. @phanan it seems like `npm install` did not rung when e ran `koel:init`.
Author
Owner

@pabsroq commented on GitHub (Sep 7, 2016):

@phanan so install gulp and then node-sass?
do I perform the npm install prior to php artisan koel:init?
@bdgold npm install does run during the koel:init

<!-- gh-comment-id:245161577 --> @pabsroq commented on GitHub (Sep 7, 2016): @phanan so install gulp and then node-sass? do I perform the npm install prior to php artisan koel:init? @bdgold npm install does run during the koel:init
Author
Owner

@BernardGoldberger commented on GitHub (Sep 7, 2016):

Koel:init should run first, and just verify that npm intall ran as well and that there are no errors.

@pabsroq this issue you are having is beyond Koel, do some looking around on github and the web for users that had similar issues.

<!-- gh-comment-id:245161994 --> @BernardGoldberger commented on GitHub (Sep 7, 2016): `Koel:init` should run first, and just verify that `npm intall` ran as well and that there are no errors. @pabsroq this issue you are having is beyond Koel, do some looking around on github and the web for users that had similar issues.
Author
Owner

@pabsroq commented on GitHub (Sep 7, 2016):

@bdgold @phanan
After performing a composer install, koel:init
then
www-data@default-ubuntu-1404:~/html/koel$ npm ls | grep sass
│ ├─┬ gulp-sass@2.3.2
├─┬ node-sass@3.9.3
│ └─┬ sass-graph@2.1.2

they appear to be installed locally...

<!-- gh-comment-id:245165226 --> @pabsroq commented on GitHub (Sep 7, 2016): @bdgold @phanan After performing a composer install, koel:init then www-data@default-ubuntu-1404:~/html/koel$ npm ls | grep sass │ ├─┬ gulp-sass@2.3.2 ├─┬ node-sass@3.9.3 │ └─┬ sass-graph@2.1.2 they appear to be installed locally...
Author
Owner

@BernardGoldberger commented on GitHub (Sep 7, 2016):

@pabsroq try running npm rebuild node-sass

<!-- gh-comment-id:245269192 --> @BernardGoldberger commented on GitHub (Sep 7, 2016): @pabsroq try running `npm rebuild node-sass`
Author
Owner

@pabsroq commented on GitHub (Sep 9, 2016):

@bdgold the issue seems to be related to the vagrant bento box, got it to work in 1 go on Ubuntu 16, now just addressing some minor issues over here but at least the main page did not error out and installed using the same steps from the cookbook, will upload it shortly and share the link with you if interested

<!-- gh-comment-id:245809708 --> @pabsroq commented on GitHub (Sep 9, 2016): @bdgold the issue seems to be related to the vagrant bento box, got it to work in 1 go on Ubuntu 16, now just addressing some minor issues over here but at least the main page did not error out and installed using the same steps from the cookbook, will upload it shortly and share the link with you if interested
Author
Owner

@BernardGoldberger commented on GitHub (Sep 9, 2016):

My suggestion comes from https://github.com/sass/node-sass/issues/1579#issuecomment-227662011, but you found another way around.

And yes, sure, please do share.

<!-- gh-comment-id:245896570 --> @BernardGoldberger commented on GitHub (Sep 9, 2016): My suggestion comes from https://github.com/sass/node-sass/issues/1579#issuecomment-227662011, but you found another way around. And yes, sure, please do share.
Author
Owner

@pabsroq commented on GitHub (Sep 9, 2016):

@bdgold will give that another shot and report back
Weird thing is that I am now facing this issue "https://github.com/phanan/koel/issues/432" on the working Ubuntu 16 box,

<!-- gh-comment-id:245901649 --> @pabsroq commented on GitHub (Sep 9, 2016): @bdgold will give that another shot and report back Weird thing is that I am now facing this issue "https://github.com/phanan/koel/issues/432" on the working Ubuntu 16 box,
Author
Owner

@adamwbb commented on GitHub (Sep 10, 2016):

This issue seems to only be happening on Version 3.0.0 and above.

And when you try to run the npm install as a non root user for version 3.0.0 and above you get the following error:
npm weird error 8

<!-- gh-comment-id:246142493 --> @adamwbb commented on GitHub (Sep 10, 2016): This issue seems to only be happening on Version 3.0.0 and above. And when you try to run the npm install as a non root user for version 3.0.0 and above you get the following error: npm weird error 8
Author
Owner

@pabsroq commented on GitHub (Sep 10, 2016):

For the time being I gave up on writing the cookbook on a vagrant box and fully running on a Fresh ubuntu16 VM using my cookbook steps, still thinking about releasing the cookbook, just not too sure yet.

<!-- gh-comment-id:246147795 --> @pabsroq commented on GitHub (Sep 10, 2016): For the time being I gave up on writing the cookbook on a vagrant box and fully running on a Fresh ubuntu16 VM using my cookbook steps, still thinking about releasing the cookbook, just not too sure yet.
Author
Owner

@BernardGoldberger commented on GitHub (Sep 11, 2016):

@adamwbb before the npm weird error 8 line there usually should be a few lines of output that should help figure out whats causing it.

<!-- gh-comment-id:246156283 --> @BernardGoldberger commented on GitHub (Sep 11, 2016): @adamwbb before the `npm weird error 8` line there usually should be a few lines of output that should help figure out whats causing it.
Author
Owner

@adamwbb commented on GitHub (Sep 11, 2016):

ReferenceError: Promise is not defined
at EventEmitter.compiler.compile (/home/koel/koel/node_modules/vueify/lib/compiler.js:83:3)
at Stream.end (/home/koel/koel/node_modules/vueify/index.js:35:14)
at _end (/home/koel/koel/node_modules/vueify/node_modules/through/index.js:65:9)
at Stream.stream.end (/home/koel/koel/node_modules/vueify/node_modules/through/index.js:74:5)
at DestroyableTransform.onend (/home/koel/koel/node_modules/laravel-elixir/node_modules/browserify/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:537:10)
at DestroyableTransform.g (events.js:180:16)
at DestroyableTransform.emit (events.js:117:20)
at /home/koel/koel/node_modules/laravel-elixir/node_modules/browserify/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:934:16
at process._tickDomainCallback (node.js:502:13)
npm ERR! weird error 8
npm ERR! not ok code 0

This error happens on 3.0.0 and above

and here is from 3.0.1:
[koel@localhost koel]$ git fetch --all
Fetching origin
[koel@localhost koel]$ git checkout v3.0.1
Previous HEAD position was ecca215... Change the battle theme
HEAD is now at 3ab6780... Bump version
[koel@localhost koel]$ npm i

koel@ postinstall /home/koel/koel
cross-env NODE_ENV=production && gulp --production

[23:06:47] Using gulpfile ~/koel/gulpfile.js
[23:06:47] Starting 'default'...
[23:06:47] Starting 'browserify'...

Fetching Browserify Source Files...

  • resources/assets/js/main.js

Saving To...

  • public/js/main.js

[23:06:47] Finished 'default' after 658 ms

/home/koel/koel/node_modules/vueify/lib/compiler.js:83
Promise.all([
^
ReferenceError: Promise is not defined
at EventEmitter.compiler.compile (/home/koel/koel/node_modules/vueify/lib/compiler.js:83:3)
at Stream.end (/home/koel/koel/node_modules/vueify/index.js:35:14)
at _end (/home/koel/koel/node_modules/vueify/node_modules/through/index.js:65:9)
at Stream.stream.end (/home/koel/koel/node_modules/vueify/node_modules/through/index.js:74:5)
at DestroyableTransform.onend (/home/koel/koel/node_modules/laravel-elixir/node_modules/browserify/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:537:10)
at DestroyableTransform.g (events.js:180:16)
at DestroyableTransform.emit (events.js:117:20)
at /home/koel/koel/node_modules/laravel-elixir/node_modules/browserify/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:934:16
at process._tickDomainCallback (node.js:502:13)
npm ERR! weird error 8
npm ERR! not ok code 0

<!-- gh-comment-id:246158878 --> @adamwbb commented on GitHub (Sep 11, 2016): ReferenceError: Promise is not defined at EventEmitter.compiler.compile (/home/koel/koel/node_modules/vueify/lib/compiler.js:83:3) at Stream.end (/home/koel/koel/node_modules/vueify/index.js:35:14) at _end (/home/koel/koel/node_modules/vueify/node_modules/through/index.js:65:9) at Stream.stream.end (/home/koel/koel/node_modules/vueify/node_modules/through/index.js:74:5) at DestroyableTransform.onend (/home/koel/koel/node_modules/laravel-elixir/node_modules/browserify/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:537:10) at DestroyableTransform.g (events.js:180:16) at DestroyableTransform.emit (events.js:117:20) at /home/koel/koel/node_modules/laravel-elixir/node_modules/browserify/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:934:16 at process._tickDomainCallback (node.js:502:13) npm ERR! weird error 8 npm ERR! not ok code 0 This error happens on 3.0.0 and above and here is from 3.0.1: [koel@localhost koel]$ git fetch --all Fetching origin [koel@localhost koel]$ git checkout v3.0.1 Previous HEAD position was ecca215... Change the battle theme HEAD is now at 3ab6780... Bump version [koel@localhost koel]$ npm i > koel@ postinstall /home/koel/koel > cross-env NODE_ENV=production && gulp --production [23:06:47] Using gulpfile ~/koel/gulpfile.js [23:06:47] Starting 'default'... [23:06:47] Starting 'browserify'... Fetching Browserify Source Files... - resources/assets/js/main.js Saving To... - public/js/main.js [23:06:47] Finished 'default' after 658 ms /home/koel/koel/node_modules/vueify/lib/compiler.js:83 Promise.all([ ^ ReferenceError: Promise is not defined at EventEmitter.compiler.compile (/home/koel/koel/node_modules/vueify/lib/compiler.js:83:3) at Stream.end (/home/koel/koel/node_modules/vueify/index.js:35:14) at _end (/home/koel/koel/node_modules/vueify/node_modules/through/index.js:65:9) at Stream.stream.end (/home/koel/koel/node_modules/vueify/node_modules/through/index.js:74:5) at DestroyableTransform.onend (/home/koel/koel/node_modules/laravel-elixir/node_modules/browserify/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:537:10) at DestroyableTransform.g (events.js:180:16) at DestroyableTransform.emit (events.js:117:20) at /home/koel/koel/node_modules/laravel-elixir/node_modules/browserify/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:934:16 at process._tickDomainCallback (node.js:502:13) npm ERR! weird error 8 npm ERR! not ok code 0
Author
Owner

@phanan commented on GitHub (Sep 11, 2016):

@adamwbb Please don't hijack this issue with another. For your problem, try upgrading Node. If the problem persists, please open a new issue.

<!-- gh-comment-id:246159345 --> @phanan commented on GitHub (Sep 11, 2016): @adamwbb Please don't hijack this issue with another. For your problem, try upgrading Node. If the problem persists, please open a new issue.
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#308
No description provided.