安装koel时没有find类“Pusher”

我试图在我的VPS(Debian Jessie)上安装'koel'。
我遵循本指南(以及其他许多指南)
http://freedif.org/how-to-install-koel-an-opensource-music-streaming-app/

做了一个npm安装(抛出与fsevent不兼容的问题:

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) 

)和他们即时尝试做一个composer php安装。 但我一直遇到这个错误:

 > php artisan clear-compiled PHP Fatal error: Class 'Pusher' not found in /home/streaming/koel/vendor/laravel/framework/src/Illuminate/Broadcasting/BroadcastManager.php on line 210 [Symfony\Component\Debug\Exception\FatalErrorException] Class 'Pusher' not found Script php artisan clear-compiled handling the post-install-cmd event returned with error code 255 

我google了,但没有任何build议的事情工作(运行composer php需要抛出相同的错误,因此我不能要求推/推 – php服务器等)

以防万一这里是一个pastebin的完整输出: http : //pastebin.com/jz22Y74u

运行composer require pusher/pusher-php-server按@PerfKbuild议的composer require pusher/pusher-php-server返回相同的错误信息。

我只有通过运行它才能正确安装
composer installcomposer require pusher/pusher-php-server
--no-scripts标志。

通过成功后,我能够继续正常使用composer php。

它看起来像该作品的composer php依赖文件只是“build议”安装推进器,但它是你所要做的。 跑

 composer require pusher/pusher-php-server 

应该安装它。