Nig*_*ICU 2 laravel composer-php laravel-5 artisan artisan-migrate
随机我无法php artisan通过Vagrant SSH 运行项目.它在Vegrant SSH(常规终端会话)之外工作.我收到以下错误:
[ErrorException]
file_put_contents(/home/vagrant/cvahimt/vendor/services.json): failed to open stream: Protocol error
Run Code Online (Sandbox Code Playgroud)
我已经尝试了我能想到的一切 - php artisan clear-compiled,并且再次composer dump-autoload移除vendor和运行composer install.
我注意到它services.json存在于我的生产环境中,但在本地不存在.我无法创建它,因为它vendor是只读的.
此外,运行时composer update(有或没有sudo)我收到此错误:
[ErrorException]
file_put_contents(/home/vagrant/cvahimt/vendor/composer/autoload_namespaces.php): failed to open stream: Operation not permitted
Run Code Online (Sandbox Code Playgroud)
有点问题,我需要运行php artisan migrate,只能通过Vagrant运行.
| 归档时间: |
|
| 查看次数: |
1467 次 |
| 最近记录: |