There can be many reasons
- Check the PHP version the project is using
- Please check the .env is there or not. You may forget to copy that file. Usually, dotfiles are not visible on MAC PC.
So if you are using MAC device, use command + shift + . to show hidden files
