Try the following:
create these folders under storage/framework:
sessions
views
cache
Now it should work
Try this:
php artisan cache:clear
php artisan config:clear
php artisan view:clear
So apparently what happened was when I was duplicating my project the framework folder inside my storage folder was not copied to the new directory, this cause my error.