3

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'
  • It would be great if you can post the whole command line errors. – Asheem Patro Jan 15 '19 at 9:45
  • 1
    @ramesh please check my ans. – Aasim Goriya Jan 21 '19 at 12:13
5

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

| improve this answer | |
  • 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 '19 at 5:01
  • 1
    I'm working on same thing, I will let you know when I got solution. – Aasim Goriya Jan 22 '19 at 5:07
  • thanks a lot. I will be waiting for your solution – Ramesh KR Jan 22 '19 at 5:10
1

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

| improve this answer | |

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.