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

styles-loader v4+ not supported #128

Open
Venegrad opened this issue Nov 3, 2020 · 2 comments
Open

styles-loader v4+ not supported #128

Venegrad opened this issue Nov 3, 2020 · 2 comments

Comments

@Venegrad
Copy link

Venegrad commented Nov 3, 2020

image

odule build failed (from ./node_modules/stylus-loader/dist/cjs.js):                                                                                                                    friendly-errors 15:01:16
ValidationError: Invalid options object. Stylus Loader has been initialized using an options object that does not match the API schema.
 - options has an unknown property 'import'. These properties are valid:
   object { stylusOptions?, sourceMap?, webpackImporter?, additionalData? }
    at validate (C:\Users\veneg\Desktop\qonversation\node_modules\stylus-loader\node_modules\schema-utils\dist\validate.js:104:11)
    at Object.stylusLoader (C:\Users\veneg\Desktop\qonversation\node_modules\stylus-loader\dist\index.js:24:29)
                                                                                                                                                                                        friendly-errors 15:01:16  
 @ ./node_modules/vue-style-loader??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--8-oneOf-1-2!./node_modules/stylus-loader/dist/cjs.js??ref--8-oneOf-1-3!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/frames/page-aside.vue?vue&type=style&index=0&lang=stylus& 4:14-452 14:3-18:5 15:22-460
 @ ./components/frames/page-aside.vue?vue&type=style&index=0&lang=stylus&
 @ ./components/frames/page-aside.vue
 @ ./layouts/default.vue
 @ ./.nuxt/App.js
 @ ./.nuxt/index.js
 @ ./.nuxt/client.js
 @ multi ./node_modules/@nuxt/components/lib/installComponents.js eventsource-polyfill webpack-hot-middleware/client?reload=true&timeout=30000&ansiColors=&overlayStyles=&path=%2F__webpack_hmr%2Fclient&name=client ./.nuxt/client.js
@Venegrad
Copy link
Author

Venegrad commented Nov 3, 2020

image

@galaczi
Copy link

galaczi commented Nov 17, 2020

vuejs/vue-cli#5947

Downgrading solved it for me.

@rchl rchl changed the title Nuxt gives error styles-loader v4+ not suppored Jun 1, 2021
@rchl rchl changed the title styles-loader v4+ not suppored styles-loader v4+ not supported Jun 1, 2021
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