I followed the official documentation from this url https://magento.github.io/pwa-studio/venia-pwa-concept/setup/
But when I run npm run build
I get the following error
lerna ERR! npm run build -s exited 1 in '@magento/venia-concept'
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityI followed the official documentation from this url https://magento.github.io/pwa-studio/venia-pwa-concept/setup/
But when I run npm run build
I get the following error
lerna ERR! npm run build -s exited 1 in '@magento/venia-concept'
If error like this : lerna ERR! npm run build -s exited 1 in '@magento/venia-concept', then run following commands
sudo npm restart
sudo npm run stage:venia
sudo npm cache clean -f
sudo npm install -g n
sudo n stable / sudo n latest (depends on version)
sudo npm i @magento/pwa-buildpack
sudo npm i @magento/upward-js
sudo npm i @magento/venia-concept
then after run sudo npm run build command
Since PWA studio is not released yet, I would recommend to join the slack channel to be up to date on current development and / or issues.
You find the link to join in the documentation at magento.github.io/pwa-studio