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

在第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 drone 推送镜像时候 purge: true 推送完毕后没有删除对应的镜像,手动拷贝到服务器执行结果正确在样才能让指令自动执行成功删除对应镜像,如何解决?
    • ¥15 求daily translation(DT)偏差订正方法的代码
    • ¥15 js调用html页面需要隐藏某个按钮
    • ¥15 ads仿真结果在圆图上是怎么读数的
    • ¥20 Cotex M3的调试和程序执行方式是什么样的?
    • ¥20 java项目连接sqlserver时报ssl相关错误
    • ¥15 一道python难题3
    • ¥15 牛顿斯科特系数表表示
    • ¥15 arduino 步进电机
    • ¥20 程序进入HardFault_Handler