ngx-quill: Module parse failed: You may need an appropriate loader to handle this file typ

Uncaught Error: Module parse failed: /app/node_modules/tslint-loader/index.js!/app/node_modules/ngx-quill/src/quill.module.ts Unexpected character '@' (5:0) You may need an appropriate loader to handle this file type. | import { QuillEditorComponent } from './quill-editor.component'; | | @NgModule({ | declarations: [ | QuillEditorComponent at eval (eval at <anonymous> (app.js:1712), <anonymous>:1:7) at Object.<anonymous> (app.js:1712) at __webpack_require__ (polyfills.js:53) at eval (eval at <anonymous> (app.js:1290), <anonymous>:2:76) at Object.<anonymous> (app.js:1290) at __webpack_require__ (polyfills.js:53) at eval (eval at <anonymous> (app.js:1045), <anonymous>:35:19) at Object.<anonymous> (app.js:1045) at __webpack_require__ (polyfills.js:53) at eval (eval at <anonymous> (app.js:976), <anonymous>:5:20) at Object.<anonymous> (app.js:976) at __webpack_require__ (polyfills.js:53) at Object.<anonymous> (app.js:1728) at __webpack_require__ (polyfills.js:53) at webpackJsonpCallback (polyfills.js:24) at app.js:1

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 15 (8 by maintainers)

Most upvoted comments

Glad You solved it 😉. In most cases You would know that the Error comes from webpack so i would search im the webpack issues or Something Like that. But Not asking in repos with different Tech Stack. 😉

Or asking in Stack overflow.

Am So., 16. Dez. 2018, 22:47 hat vivacenontroppo notifications@github.com geschrieben:

@KillerCodeMonkey https://github.com/KillerCodeMonkey oh, sorry. I didn’t know I should not do that. I asked here because it’s the most similar problem that I found. And I’m pretty new here, really sorry. But your comment actually helped me! I checked and I was pointing to .ts files in webpack and karma configs, which is stupid because I use typescript compiler and then running tests from the .js files. So I changed that and it works, thank you. And sorry again ^^

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/KillerCodeMonkey/ngx-quill/issues/85#issuecomment-447679049, or mute the thread https://github.com/notifications/unsubscribe-auth/ACKOYOpcTw0JiQ09AsmhvGBTHq0YaM61ks5u5r9-gaJpZM4RDSBb .