soccerloway / quill-better-table

Module for better table in Quill, more useful features are supported.
MIT License
319 stars 121 forks source link

Unexpected token ':' in Angular Project #82

Open agholipour opened 2 years ago

agholipour commented 2 years ago

Hi I am receiving the following error when the angular app starts

Uncaught SyntaxError: Unexpected token ':' at Object../node_modules/quill-delta/dist/Op.js (:4200/vendor.js:61536:9) at nested_webpack_require_732 (:4200/vendor.js:59021:27) at eval (webpack://Quill/./node_modules/quill-delta/dist/Delta.js?:9:28) at Object../node_modules/quill-delta/dist/Delta.js (:4200/vendor.js:61504:9) at nested_webpack_require_732 (:4200/vendor.js:59021:27) at eval (webpack://Quill/./core/quill.js?:6:69) at Module../core/quill.js (:4200/vendor.js:59876:9) at __nested_webpack_require_732__ (:4200/vendor.js:59021:27) at eval (webpack://Quill/./core.js?:2:69) at Module../core.js (:4200/vendor.js:59780:9)

"dependencies": { "ngx-quill": "^16.1.1", "quill": "^2.0.0-dev.4", "quill-better-table": "^1.2.10", "@angular/cli": "^13.0.3", "@angular/core": "^13.0.2", "primeflex": "^3.1.0", "primeicons": "^5.0.0", "primeng": "^13.0.4",** ..... } how can I fix this ? Thanks

agholipour commented 2 years ago

I downgraded angular to version 12 and now it is working,

sergiuwaxmann commented 2 years ago

@agholipour

Can you share your package.json? I downgraded to version 12.2.0 but I still have this issue...