Answer the question
In order to leave comments, you need to log in
How to fix composer dependency packages errors?
During the installation of dependency packages, an error occurs at the last stage, what is it connected with and how to fix it?
Carbon 1 is deprecated, see how to migrate to Carbon 2.
https://carbon.nesbot.com/docs/#api-carbon-2
You can run './vendor/bin/upgrade-carbon' to get help in updating carbon and other frameworks and libraries that depend on it.
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover
In Parser.php line 120:
Dotenv values containing spaces must be surrounded by quotes.
Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1
Answer the question
In order to leave comments, you need to log in
An old version of one of the packages you are using in your project uses an outdated Carbon. Set in the composer.json file to download the latest packages. Next, run composer update and the error with Carbon will be resolved.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question