question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Module parse error: node_modules\quill\dist\quill.snow.css Unexpected token (7:0)

See original GitHub issue

Why am I getting this error? I’m using default laravel 5.3 setup

Module parse failed: C:\laragon\www\projectname\node_modules\quill\dist\quill.snow.css Unexpected token (1:0) You may need an appropriate loader to handle this file type. | .ql-container { | box-sizing: border-box; | font-family: Helvetica, Arial, sans-serif; @ ./~/buble-loader!./~/vue-loader/lib/selector.js?type=script&index=0!./~/vue-quill-editor/editor.vue 6:0-36 @ ./~/vue-quill-editor/editor.vue @ ./~/vue-quill-editor/index.js @ ./assets/src/js/admin/main.js./~/quill/dist/quill.bubble.css

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
crow1796commented, Jan 5, 2017

It worked! but another warning appeared

[Vue warn]: Failed to mount component: template or render function not defined. (found in component <quill-editor>)

EDIT: Please disregard this issue, fixed it using Vue.component('quill-editor', VueQuillEditor.quillEditor);

Thank you so much 👍

0reactions
zainulmutaqincommented, Jan 7, 2021
import { quillEditor } from 'vue-quill-editor'  
components: { 
      VueQuillEditor: quillEditor
}

what file to located this syntax ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Module parse failed: Unexpected token - Stack Overflow
Apparently it happened because you have two module properties in the webpack config object. Given JS objects can only hold one value per...
Read more >
Odyssey Lift-off I: "Module parse failed: Unexpected token" Error
Hello, I am on the “useQuery hook” step attempting to implement the grid. Here is my code that I think is problematic: const...
Read more >
error in loading leaflet css under pbi-visuals-tools 3.0.x
error in ./node_modules/leaflet/dist/leaflet.css. Module parse failed: Unexpected token (3:0) You may need an appropriate loader to handle ...
Read more >
039;t build with webpack - Material Design for Bootstrap
js 11:0-35 ERROR in ./node_modules/bootstrap-css-only/css/bootstrap.min.css 6:3 Module parse failed: Unexpected token (6:3) You may need an appropriate loader ...
Read more >
Module parse failed: Unexpected token (1:0) - Laracasts
Hello , After running npm run watch I see this error : ERROR in ./resources/js/components/irp/admin/EditGroup.vue 1:0 Module parse failed: Unexpected token ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found