我正试图在我的VPS上安装“koel”(Debian )。
我遵循这个指南(以及之前的许多其他指南)。
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 fsevents@1.0.14: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})我想做一个作曲家的安装。但我经常遇到这样的错误:
> 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我在googled上搜索了它,但是没有一个建议有效(运行composer需要抛出相同的错误,因此我不需要pusher/pusher-php-server等等)。
以防万一,这里是pastebin:http://pastebin.com/jz22Y74u中的完整输出。
发布于 2016-10-06 06:37:59
按照@DerfK的建议运行composer require pusher/pusher-php-server将返回相同的错误消息。
我只能通过运行以下两种方式来正确安装
composer install或composer require pusher/pusher-php-server
带有--no-scripts标志。
在它成功通过之后,我能够继续正常地使用作曲家。
发布于 2016-10-05 15:25:52
看起来,该项目的composer依赖文件仅仅是“建议”安装pusher,但它是您所要做的工作所必需的。跑
composer require pusher/pusher-php-server应该安装它。
https://serverfault.com/questions/807263
复制相似问题