Solucionado (ver solução)
Solucionado
(ver solução)
2
respostas

Dúvida no Ex. 2 da Aula 1 - Novo projeto com Laravel

Olá

Estou tendo o seguinte problema ao executar o comando no Ubuntu:

"laravel new estoque"

Mensagem de erro:

PHP Fatal error:  Uncaught Error: Class 'ZipArchive' not found in /home/vinicius/.composer/vendor/laravel/installer/src/NewCommand.php:128
Stack trace:
#0 /home/vinicius/.composer/vendor/laravel/installer/src/NewCommand.php(50): Laravel\Installer\Console\NewCommand->extract('/home/vinicius/...', '/home/vinicius/...')
#1 /home/vinicius/.composer/vendor/symfony/console/Command/Command.php(256): Laravel\Installer\Console\NewCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#2 /home/vinicius/.composer/vendor/symfony/console/Application.php(791): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#3 /home/vinicius/.composer/vendor/symfony/console/Application.php(186): Symfony\Component\Console\Application->doRunCommand(Object(Laravel\Installer\Console\NewCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\Cons in /home/vinicius/.composer/vendor/laravel/installer/src/NewCommand.php on line 128

Abraço

2 respostas
solução!

Vinicius você deve precisar da extensão zip do php. Tente baixá-la

Consegui configurar o zip. Obrigado