Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected token ':' in Angular Project #82

Open
agholipour opened this issue Jan 20, 2022 · 2 comments
Open

Unexpected token ':' in Angular Project #82

agholipour opened this issue Jan 20, 2022 · 2 comments

Comments

@agholipour
Copy link

agholipour commented Jan 20, 2022

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
Copy link
Author

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

@sergiuwaxmann
Copy link

@agholipour

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants