style-resources icon indicating copy to clipboard operation
style-resources copied to clipboard

styles-loader v4+ not supported

Open Venegrad opened this issue 3 years ago • 2 comments

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 avatar Nov 03 '20 13:11 Venegrad

image

Venegrad avatar Nov 03 '20 13:11 Venegrad

https://github.com/vuejs/vue-cli/issues/5947

Downgrading solved it for me.

galaczi avatar Nov 17 '20 12:11 galaczi