从Magento 2.3开始执行以下步骤以在以下位置安装pwa studio: Ubuntu 18.04.1 LTS(仿生),
git clone https://github.com/magento-research/pwa-studio.git
然后切换pwa-studio并运行
yarn install
如果错误是
Command 'yarn' not found, but can be installed with:
sudo apt install cmdtest
然后执行以下操作
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-get update && sudo apt-get install yarn