无法打开输入文件:C:/ Users / snowflex / AppData / Local / Programs / Git / app / artisan

时间:2017-03-24 22:57:54

标签: php git heroku laravel-5 artisan-migrate

使用artisan命令

时,我的heroku laravel 5总是会出现此错误
$ heroku run php /app/artisan
Running php C:/Users/snowflex/AppData/Local/Programs/Git/app/artisan on elvote... starting, run.2723 (Free)
Running php C:/Users/snowflex/AppData/Local/Programs/Git/app/artisan on elvote... connecting, run.2723 (Free)
Running php C:/Users/snowflex/AppData/Local/Programs/Git/app/artisan on elvote... up, run.2723 (Free)
Could not open input file: C:/Users/snowflex/AppData/Local/Programs/Git/app/artisan

1 个答案:

答案 0 :(得分:0)

请尝试运行:

composer update

如果没有,请检查this here,这可能有所帮助: