botman / studio

Ready to use BotMan + Laravel framework
331 stars 90 forks source link

Warnings on installation #98

Open chimit opened 4 years ago

chimit commented 4 years ago

At the end of the installation process, I get this:

Generating optimized autoload files
Deprecation Notice: Class Egulias\EmailValidator\Exception\ExpectedQPair located in ./vendor/egulias/email-validator/EmailValidator/Exception/ExpectingQPair.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
> php -r "file_exists('.env') || copy('.env.example', '.env');"
Generating optimized autoload files
Deprecation Notice: Class Egulias\EmailValidator\Exception\ExpectedQPair located in ./vendor/egulias/email-validator/EmailValidator/Exception/ExpectingQPair.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201

Similar on Telegram driver installation:

composer require botman/driver-telegram                                                                            
Using version ^1.6 for botman/driver-telegram
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
  - Installing botman/driver-telegram (1.6): Downloading (100%)         
Package jakub-onderka/php-console-color is abandoned, you should avoid using it. Use php-parallel-lint/php-console-color instead.
Package jakub-onderka/php-console-highlighter is abandoned, you should avoid using it. Use php-parallel-lint/php-console-highlighter instead.
Writing lock file
Generating optimized autoload files
Deprecation Notice: Class Egulias\EmailValidator\Exception\ExpectedQPair located in ./vendor/egulias/email-validator/EmailValidator/Exception/ExpectingQPair.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
HVSoftware commented 3 years ago

I also was not able to install the default project. Only some steps helped me. Have you tried a composer upgradein the project folder?

HVSoftware commented 3 years ago

I also had to run php artisan key:generate because i recieved the No application encryption key has been specified message

HVSoftware commented 3 years ago

The .env file is not creaed.

copy('.env.example', '.env');"

Just make a copy of '.env.example' and rename it to '.env'