When I enable the production mode everything works perfectly.
But when i run this command
php bin / magento setup: upgrade
All static files from
pub/static are automatically deleted (no .htaccess) but They are not regenerated
Consequently the screen appears: Unable to retrieve deployment of static files from the file system.
I always have to generate static files every time!! There is a solution?
Is a magento 2.2.2 bug.