Composer在capistrano部署失败" phpseclib / bootstrap.php:无法打开流"

时间:2016-11-01 10:11:49

标签: laravel composer-php capistrano phpseclib

因此,运行上限生产部署现在失败并给我这个日志:

    DEBUG [d8e9f9b4]    Generating autoload files
     DEBUG [d8e9f9b4]   > Illuminate\Foundation\ComposerScripts::postInstall
     DEBUG [d8e9f9b4]   PHP Warning:  Uncaught ErrorException: require(/some_path/releases/20161101100659/vendor/phpseclib/phpseclib/phpseclib/bootstrap.php): failed to open stream: No such file or directory in /some_path/releases/20161101100659/vendor/composer/autoload_real.php:55
    Stack trace:
    #0 /some_path/releases/20161101100659/vendor/composer/autoload_real.php(55): Composer\Util\ErrorHandler::handle(2, 'require(/srv/us...', '/path/...', 55, Array)
    #1 /some_path/releases/20161101100659/vendor/composer/autoload_real.php(55): require()
    #2 /some_path/releases/20161101100659/vendor/composer/autoload_real.php(45): composerRequire28a339249b76e8c9bd2081b3b12636da('decc78cc4436b12...', '/path/...')
    #3 /some_path/releases/20161101100659/vendor/autoload.php(7): ComposerAutoloaderInit28a339249b76e8c9bd2081b3b12636da::getLoader()
    #4 /some_path/releases/201611011006 in /some_path/releases/20161101100659/vendor/composer/autoload_real.php on line 55
     DEBUG [d8e9f9b4]   
    Warning: Uncaught ErrorException: require(/some_path/releases/20161101100659/vendor/phpseclib/phpseclib/phpseclib/bootstrap.php): failed to open stream: No such file or directory in /some_path/releases/20161101100659/vendor/composer/autoload_real.php:55
    Stack trace:
    #0 /some_path/releases/20161101100659/vendor/composer/autoload_real.php(55): Composer\Util\ErrorHandler::handle(2, 'require(/path/...', '/path/...', 55, Array)
    #1 /some_path/releases/20161101100659/vendor/composer/autoload_real.php(55): require()
    #2 /some_path/releases/20161101100659/vendor/composer/autoload_real.php(45): composerRequire28a339249b76e8c9bd2081b3b12636da('decc78cc4436b12...', '/path/...')
    #3 /some_path/releases/20161101100659/vendor/autoload.php(7): ComposerAutoloaderInit28a339249b76e8c9bd2081b3b12636da::getLoader()
    #4 /some_path/releases/201611011006 in /some_path/releases/20161101100659/vendor/composer/autoload_real.php on line 55
     DEBUG [d8e9f9b4]   PHP Fatal error:  composerRequire28a339249b76e8c9bd2081b3b12636da(): Failed opening required '/some_path/releases/20161101100659/vendor/phpseclib/phpseclib/phpseclib/bootstrap.php' (include_path='.:/opt/sp/php7.0/lib/php') in /some_path/releases/20161101100659/vendor/composer/autoload_real.php on line 55
     DEBUG [d8e9f9b4]   
    Fatal error: composerRequire28a339249b76e8c9bd2081b3b12636da(): Failed opening required '/some_path/releases/20161101100659/vendor/phpseclib/phpseclib/phpseclib/bootstrap.php' (include_path='.:/opt/sp/php7.0/lib/php') in /some_path/releases/20161101100659/vendor/composer/autoload_real.php on line 55

在我将JWT lib从0.5.9更改为1.0.0.alpha并添加了laravelconnect / remote包之前,它工作正常。

注意:这一切都适用于我的本地计算机。我不知道为什么phpsec里面没有bootstrap.php文件。在我的本地机器上它确实有它。

0 个答案:

没有答案