я новичок в усадьбе и laravel, я пытаюсь установить усадьбу и запустить новый проект laravel, я следую инструкциям по следующей ссылке, https://www.youtube.com/watch?v=Il08--droNI, кажется, что я Успешно установить hometead, затем я запустил vargant и установил laravel в своей папке Homestead с помощью следующей команды composer global require laravel / installer. Теперь я пытаюсь запустить новый проект с помощью следующей команды laravel new blog, но это дает мне следующие ошибки
Crafting application...
PHP Warning: file_put_contents(/home/vagrant/code/laravel_816486aaffc1239c550dccbdbf28f281.zip): failed to open stream: Permission denied in /home/vagrant/.composer/vendor/laravel/installer/src/NewCommand.php on line 147
Warning: file_put_contents(/home/vagrant/code/laravel_816486aaffc1239c550dccbdbf28f281.zip): failed to open stream: Permission denied in /home/vagrant/.composer/vendor/laravel/installer/src/NewCommand.php on line 147
PHP Warning: ZipArchive::extractTo(): Permission denied in /home/vagrant/.composer/vendor/laravel/installer/src/NewCommand.php on line 169
Warning: ZipArchive::extractTo(): Permission denied in /home/vagrant/.composer/vendor/laravel/installer/src/NewCommand.php on line 169
PHP Warning: ZipArchive::close(): Invalid or uninitialized Zip object in /home/vagrant/.composer/vendor/laravel/installer/src/NewCommand.php on line 171
Warning: ZipArchive::close(): Invalid or uninitialized Zip object in /home/vagrant/.composer/vendor/laravel/installer/src/NewCommand.php on line 171
You should verify that the "storage" and "bootstrap/cache" directories are writable.
In Process.php line 332:
The provided cwd "/home/vagrant/code/myproject" does not exist.
new [--dev] [--auth] [-f|--force] [--] [<name>]
vagrant@homestead:~/code$ ^C
вот мой файл .yaml
---
ip: "192.168.10.10"
memory: 2048
cpus: 2
provider: virtualbox
folders:
- map: C:\Users\hit-ham\laravel-apps
to: /home/vagrant/code
type: "nfs"
sites:
- map: myproject.test
to: /home/vagrant/code/myproject/public
databases:
- homestead
features:
- mariadb: false
- ohmyzsh: false
- webdriver: false
# ports:
# - send: 50000
# to: 5000
# - send: 7777
# to: 777
# protocol: udp
моя папка Homestead находится в папке users / myname
edit: я пытался удалить все и настройте новый windows, и начните все с самого начала, установив бродягу, виртуальный ящик, composer, но у меня теперь новая ошибка
Crafting application...
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for league/flysystem 1.0.67 -> satisfiable by league/flysystem[1.0.67].
- league/flysystem 1.0.67 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
Problem 2
- league/flysystem 1.0.67 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
- laravel/framework v7.6.2 requires league/flysystem ^1.0.8 -> satisfiable by league/flysystem[1.0.67].
- Installation request for laravel/framework v7.6.2 -> satisfiable by laravel/framework[v7.6.2].
To enable extensions, verify that they are enabled in your .ini files:
- C:\php7\php.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.