I am trying to install Magento with pwa,but when i run in terminal command yarn create @magento/pwa, and after answer of the question- Im getting an error-- Invalid directory path; contains illegal characters

1 Answer 1


The yarn create @magento/pwa command does not work in Windows, and the Magento's team does not want to fix it: github.com/magento/pwa-studio/issues/2342#issuecomment-620161213
A workaround is to use the npx @magento/pwa-buildpack create-project command, e.g.:

npx @magento/pwa-buildpack create-project . \
    --author "Dmitry Fedyuk" \
    --backend-url "https://localhost.com:2205" \
    --braintree-token "sandbox_8yrzsvtm_s2bg8fs563crhqzk" \
    --name "pwa_studuo_2021_01_14" \
    --npm-client "npm" \
    --template "venia-concept"

How do I install Magento PWA Studio to Windows?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.