[solved] Laravel 7 Swift_TransportException Cannot send message without a sender address
Laravel

[solved] Laravel 7 Swift_TransportException Cannot send message without a sender address

If you are getting “Swift_TransportException Cannot send message without a sender address” while trying to send email notifications using the mailtrap email testing tool. Then please make sure you added right settings of the mailtrap login details inside the .env file Add from email address and encryption. Then you have to clear config using following commands…

Laravel php artisan make:auth command is not defined
Laravel

Laravel php artisan make:auth command is not defined

If you are trying to run the command php artisan make:auth on laravel verson 6+ and you are getting command is not defined error. Then this is happening because this command is removed in Laravel version 6. Because laravel development team extracted Laravel view(UI) generation from laravel core application. So this change was done to Laravel(Views)…

[SOLVED] zsh: command not found laravel
Laravel

[SOLVED] zsh: command not found laravel

If you receive this error then there is issue with the path.You have to edit the .zshrc file and add this line To edit the file run following command from terminal then enter this line inside that file To save press Control + X buttons. Then press Y to save and hit enter. If you receive…

[SOLVED] Illuminate\Database\QueryException SQLSTATE[HY000] [2002] Connection refused (SQL: select count(*) as aggregate from `products`) LARAVEL 6 MAMP
Laravel

[SOLVED] Illuminate\Database\QueryException SQLSTATE[HY000] [2002] Connection refused (SQL: select count(*) as aggregate from `products`) LARAVEL 6 MAMP

If you are using mysql from mamp for your laravel application and getting following error while displaying the data inside your application Illuminate\Database\QueryException SQLSTATE[HY000] [2002] Connection refused (SQL: select count(*) as aggregate from `products`) Then you can solve this issue by just adding following line inside your .env file below the connection settings DB_SOCKET=/Applications/MAMP/tmp/mysql/mysql.sock It will…

React Native: Could not parse the simulator list output
React

React Native: Could not parse the simulator list output

I started learning react native. After installing all the things which are required for running react-native. 1. Update xCode to latest version. Or Install if not installed. 2. brew install watchman 3. npm install -g react-native-cli 4. react-native init HelloWorld 5. cd HelloWorld 6. react-native run-ios Then I created a simple app called HelloWorld But after…