I'm installing uxweb sweet alert for my Laravel project via composer. After downloading the necessary files it failed to install bringing me a message on command prompt. Guys please help me find out what the message means

Here is the screenshot

1 Answers

0
adilimudassir On

There is somewhere where you wrongly imported Carbon class. the correct namespace for Carbon in laravel is

Carbon\Carbon

you can search your codebase and find the error

OR

you can try deleting vendor folder and reinstall packages again