3

I followed the official documentation from this url https://magento-research.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'
  • It would be great if you can post the whole command line errors. – Asheem Patro Jan 15 at 9:45
  • 1
    @ramesh please check my ans. – Aasim Goriya Jan 21 at 12:13
3

if error like this then run following command : lerna ERR! npm run build -s exited 1 in '@magento/venia-concept'

 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

  • Thanks a lot, it works now but I can't use other backends url, only can use the default backend URL – Ramesh KR Jan 22 at 5:01
  • 1
    I'm working on same thing, I will let you know when I got solution. – Aasim Goriya Jan 22 at 5:07
  • thanks a lot. I will be waiting for your solution – Ramesh KR Jan 22 at 5:10
  • Thanks @AasimGoriya – HIren Kadivar Jan 22 at 5:32
0

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-research.github.io/pwa-studio

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

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