Pwa-studio: Unexpected token error

Created on 3 Dec 2018  路  7Comments  路  Source: magento/pwa-studio

We are trying to build the project by using "npm run build" command. We are getting following error

from root folder :
image

from pwa-studio-release-2.0\pwa-studio-release-2.0\packages\venia-concept folder:

screenshot

bug sustaining

Most helpful comment

I've also ran into this exact issue, although i forgot how i've fixed it. I will try to reproduce and fix again.

All 7 comments

I've also ran into this exact issue, although i forgot how i've fixed it. I will try to reproduce and fix again.

@Jordaneisenburger Do you have a solution?

@sharkySharks , Could you please have a look on it as well in order to put it on work to Devops queque ?

For now i can't reproduce it anymore, but a word of advice is to not run it on a windows machine for now. Try linux based systems or what i prefer macOS. Also make sure you run the right NodeJs versions.

For now i can't reproduce it anymore, but a word of advice is to not run it on a windows machine for now. Try linux based systems or what i prefer macOS. Also make sure you run the right NodeJs versions.

Thank you for ur comment.

We are getting same error in macOS. Please let us know your config details.(NodeJs version, npm)

Valet+ 1.0.21 (make sure you don't use a higher version because it will break on certificate)
NodeJS v8.12.0
Npm 6.4.1

Hope this helps

Valet+ 1.0.21 (make sure you don't use a higher version because it will break on certificate)
NodeJS v8.12.0
Npm 6.4.1

Hope this helps

Thank you @Jordaneisenburger It's working fine in macOS

Was this page helpful?
0 / 5 - 0 ratings