ahmadawais / create-guten-block

📦 A zero-configuration #0CJS developer toolkit for building WordPress Gutenberg block plugins.
https://Awais.dev/cgb-post
MIT License
3.16k stars 327 forks source link

Start works, but Build Fails #288

Open anteksiler opened 4 years ago

anteksiler commented 4 years ago

Getting this error:

❌   Failed to compile build. 

👉  ./dist/blocks.build.js from UglifyJs
Unexpected token: name (result) [./dist/blocks.build.js:37363,6]

My dependencies:

"dependencies": {
    "@wordpress/components": "^10.2.0",
    "@wordpress/data-controls": "^1.17.1",
    "@wordpress/element": "^2.17.1",
    "@wordpress/icons": "^2.6.0",
    "@wordpress/url": "^2.18.0",
    "@woocommerce/components": "^5.1.2",
    "cgb-scripts": "1.23.1"
  }
verystack commented 3 years ago

Also getting this.

khokan-cn commented 3 years ago

Also facing the same issues when run build

gvojtko commented 3 years ago

Same issue!