Minimum requirements#
- Basic knowledge of React
- Node >= 10.14.1
- Yarn (recommended) or NPM
Before you can start developing with PWA Studio, make sure you meet the requirements listed on this page.
Note: You must have a version of NodeJS >=10.14.1, and Yarn >=1.13.0. The latest LTS versions of both are recommended.
Reference link: https://developer.adobe.com/commerce/pwa-studio/tutorials/
when checking the yarn version some time is an error below
kuldeep@8DYTVG3:~$ yarn -v
ERROR: There are no scenarios; must have at least one.
Solution:
Fix 'ERROR: There are no scenarios; must have at least one.' run the below command.
sudo apt remove yarn
In my case (Ubuntu 18.04) it was the following:
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt update && sudo apt install yarn
kuldeep@8DYTVG3:~$ yarn -v
1.22.18