Complete BLoC with Clean Architecture (group chat) Discount !! E-commerce App With Backend Source Code Video and Voice Chatting App Firebase Chatting App Source Code Complete Gym App BLoC State Management Source Code Complete Study App Buy Ticket Booking App Source Code Buy Travel App With Backend Source Code Complete Chat App Udemy Course Special Offer Discount !! Online Learning Course App (BLoC) Online Learning Course App (Riverpod) Online Learning Course App (Getx) Discount !! Shopping App (Provider) Cool Flutter Game Flutter Nodejs Chat App Flutter Nodejs Api And Firebase Chat App Riverpod Task Management App
Here we will address the issues we are facing and I am listing the problems are solution to them.
1. Install laravel via composer
If you try to install laravel using composer and if the below error occurs
Here to solve this you might need to reinstall your Composer. To do that you may run below command
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
In my case the above url in the command points to the nearest repository for downloading Composer. In your case, you may need to change the url according to your locations nearest url for composer.
You may also run the above command without changing anything. But it's better you find the nearest repository url and run it.
2. LoginController path issue
As we are importing Controller with LoginController we need to import the path of the Controller. Let's see the picture below.
Here we need to import the path correct. To correct it, above the class import a line for the class
If you import the above line, the error would be gone.
3. Google login issue
As you try to login with Google account, you may encounter issues from Google and Firebase. There are four major reasons for these issues.
In the link I have explained the steps to login, if you can not login. Go to this link for firebase login issue.
4. Login issue
Unhandled Exception: type 'String' is not a subtype of type 'Map<String, dynamic>'
Here we will take a look at the below error.
Watch the video to solve the error