jeyroik / extas-alice-example

Usage alice-extas example
6 stars 1 forks source link

PHP Fatal error: Uncaught TypeError: Argument 1 passed to Dotenv\Dotenv::create() #1

Open max-sparker opened 4 years ago

max-sparker commented 4 years ago

Здравствуйте! При попытке выполнить

vendor/bin/extas i

Возникает ошибка:

PHP Fatal error: Uncaught TypeError: Argument 1 passed to Dotenv\Dotenv::create() must be an instance of Dotenv\Repository\RepositoryInterface, string given, called in /.../extas-alice-example/vendor/jeyroik/extas-installer/src/bin/extas on line 6 and defined in /.../extas-alice-example/vendor/vlucas/phpdotenv/src/Dotenv.php:62 Stack trace:

0 /.../extas-alice-example/vendor/jeyroik/extas-installer/src/bin/extas(6): Dotenv\Dotenv::create('/...')

1 {main}

thrown in /.../extas-alice-example/vendor/vlucas/phpdotenv/src/Dotenv.php on line 62

MongoDB version v3.6.3

Подскажите пожалуйста, что может быть?

dmitryskachkov90 commented 4 months ago

"vlucas/phpdotenv" : "3.4.*" попробуйте добавить в composer.json