cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2 - PWA Installation error in WSL

Magento 2 - PWA Installation error in WSL

If i run the command,

 

npx u/magento/create-pwa

I am getting following error,

abc@RJDQIS5G:/var/www/html/pwa$ npx @magento/create-pwa
@magento/create-pwa v2.5.7
Creating a PWA Studio project
? Project root directory (will be created if it does not exist)
>> Please enter a directory path 

 

I am trying to install PWA in Windows WSL.

 

 

1 REPLY 1

Re: Magento 2 - PWA Installation error in WSL

Hi @Jeeva Rathinam 

 

It seems like you haven't added directory path

 

Please refer screenshots and steps over here: https://developer.adobe.com/commerce/pwa-studio/tutorials/setup-storefront/

 

You need to specify directory path like /var/www/html/pwa-studio

 

Problem Solved? Accept as Solution!

 

Thanks,

Ankit

Ankit Jasani