drb0901500211 2018-02-28 15:45
浏览 532

在第17行的/bootstrap/autoload.php中打开所需的'/bootstrap/../vendor/autoload.php'(include_path ='。:/ usr / share / php')失败

I have checked out laravel project from this svn repo. Now I get this error when I run php artisan serve composer update or composer install commands

Script php artisan clear-compiled handling the pre-update-cmd event returned with an error

  [RuntimeException]                                                           
  Error Output: PHP Warning:  require(/osmall/trunk/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /trunk/bootstrap/autoload.php on line 17         
  PHP Fatal error:  require(): Failed opening required '/osmall/trunk/bootstrap/../vendor/autoload.php'(include_path='.:/usr/share/php') in /osmall/trunk/bootstrap/autoload.php on line 17 

I get an additional message with the above one if I run php composer.phar install command

Script php artisan clear-compiled handling the pre-update-cmd event returned with error code 255

If i do composer dump-autoload -o and then run update or install commands then

Script php artisan clear-compiled handling the pre-update-cmd event returned with an error




[RuntimeException]                                                           
  Error Output: PHP Fatal error:  Uncaught Error: Class 'Illuminate\Foundation\Application' not found in /osmall/trunk/bootstrap/app.php:14                                                                         
  Stack trace:                                                                 
  #0 /osmall/trunk/artisan(18): require_once()                
  #1 {main}                                                                    
    thrown in /osmall/trunk/bootstrap/app.php on line 14

Additional Information
1. My composer version is 1.0.0-beta2
2. I have both php 5.6 and 7 installed.
3. I am running ubuntu

Can somebody help me please.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 Vue3 大型图片数据拖动排序
    • ¥15 划分vlan后不通了
    • ¥15 GDI处理通道视频时总是带有白色锯齿
    • ¥20 用雷电模拟器安装百达屋apk一直闪退
    • ¥15 算能科技20240506咨询(拒绝大模型回答)
    • ¥15 自适应 AR 模型 参数估计Matlab程序
    • ¥100 角动量包络面如何用MATLAB绘制
    • ¥15 merge函数占用内存过大
    • ¥15 使用EMD去噪处理RML2016数据集时候的原理
    • ¥15 神经网络预测均方误差很小 但是图像上看着差别太大