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

Webpack 2 breaks with quill #6

Open
Kuchiriel opened this issue May 16, 2017 · 3 comments
Open

Webpack 2 breaks with quill #6

Kuchiriel opened this issue May 16, 2017 · 3 comments

Comments

@Kuchiriel
Copy link

I have recently recoded vue-admin codebase to es6, and now i am running it with babel, no problems at all. But I don't no why, quill component is the only one that breaks. Webpack have all the needed loaders, I don't know what is causing it.

ERROR in ./client/views/components/Quill.vue
Module not found: Error: Can't resolve 'styl-loader' in '/home/trevor/Projects/front-end/client/views/components'
 @ ./client/views/components/Quill.vue 4:2-285
 @ ./client/views async ^\.\/.*\.vue$
 @ ./client/store/modules/menu/lazyLoading.js
 @ ./client/store/modules/menu/index.js
 @ ./client/store/index.js
 @ ./client/app.js
 @ ./client/index.js
 @ multi ./build/dev-client ./client/index.js

ERROR in ./~/vue-bulma-quill/src/Quill.vue
Module not found: Error: Can't resolve 'styl-loader' in '/home/trevor/Projects/front-end/node_modules/vue-bulma-quill/src'
 @ ./~/vue-bulma-quill/src/Quill.vue 4:2-253
 @ ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./client/views/components/Quill.vue
 @ ./client/views/components/Quill.vue
 @ ./client/views async ^\.\/.*\.vue$
 @ ./client/store/modules/menu/lazyLoading.js
 @ ./client/store/modules/menu/index.js
 @ ./client/store/index.js
 @ ./client/app.js
 @ ./client/index.js
 @ multi ./build/dev-client ./client/index.js
Child html-webpack-plugin for "index.html":
         Asset     Size  Chunks  Chunk Names
    index.html  26.5 kB       0  
webpack: Failed to compile.
@PawelDmochowski
Copy link

Changing lang="styl" to lang="stylus" after stylus-loader is installed fixes the issue. Any chance a patch or detailed installation information might be available soon?

@Kuchiriel
Copy link
Author

@fundon I am having the same experience as @dmocho, and 'solved', using the same approach. I don't know much about stylus, apparently there is 'stylus', and a successor 'styl'? They are different? Wouldn't be more reliable to use the most compatible one? Sorry if I am saying something dumb. I am kinda new with webdev.

@ashitvora-zz
Copy link

Looks like this issue still persists. :(

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

3 participants