What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hello guys, if I try to build the zed in production mode (--prod) then i get the following error: `

giovanni.piemontese
giovanni.piemontese Technical Lead @ Löffelhardt Spryker Solution Partner Posts: 871 🧑🏻‍🚀 - Cadet

Hello guys,

if I try to build the zed in production mode (--prod) then i get the following error:

ERROR in ./js/spryker-zed-content-item.js from UglifyJs
Unexpected token: punc ()) [./js/spryker-zed-content-item.js:10663,8]
✘ build failed

in development mode it works fine.

• spryker/oryx 1.40
• spryker/oryx-for-zed 2.5.2
• webpack 4.27.0
• uglifyjs-webpack-plugin ~1.2.4
Has anyone the same problem? I use the b2b-demo-shop version of spryker with original package.json and nodejs version 11.x

Thanks a lot in advance

Comments