cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to retrieve deployment version of static files from the file system

SOLVED

Re: Unable to retrieve deployment version of static files from the file system (losing style)

I had the same issue
I was in PRODUCTION mode Smiley LOL

$ php bin/magento deploy:mode:show
Current application mode: production. (Note: Environment variables may override this value.)


To use THIS command

$ php bin/magento dev:source-theme:deploy


I think you should be in DEVELOPER mode

$ php bin/magento deploy:mode:show
Current application mode: developer. (Note: Environment variables may override this value.)


To change YOUR LOCAL to developer mode use:

$ php bin/magento deploy:mode:set developer


Then run the commands

$ rm -rf ./generated/* ./var/view_preprocessed/* ./var/cache/* ./var/page_cache/* ./var/session/* ./pub/static/*

$ php bin/magento setup:upgrade

$ php bin/magento dev:source-theme:deploy

$ php bin/magento cache:flush


After this, all should be working fine Smiley Very Happy

Re: Unable to retrieve deployment version of static files from the file system (losing style)

OHHHHH  Thank You.