Step 1
How to fix product image URLs for PWA Studio in Windows?
Step 2
Run in cmd as an administrator:
takeown /f <path to the Magento's backend> /r /d y
icacls <path to the Magento's backend> /grant:r <user>:F /t
E.g.:
takeown /f C:\work\clients\pwa\studio\2021-01-14\backend\code /r /d y
icacls C:\work\clients\pwa\studio\2021-01-14\backend\code /grant:r dmitry:F /t
Step 3
Locate the following line in the .env file of the root folder:
IMAGE_OPTIMIZING_ORIGIN=auto
Replace it with:
IMAGE_OPTIMIZING_ORIGIN=backend


magento.github.io/pwa-studio/pwa-buildpack/reference/environment-variables/core-definitions/#image_optimizing_origin