Vue-awesome-swiper: This dependency was not found: * !!vue-style-loader!css-loader?{

Created on 19 Jun 2017  ·  14Comments  ·  Source: surmon-china/vue-awesome-swiper

This dependency was not found:

  • !!vue-style-loader!css-loader?{"minimize":false,"sourceMap":false}!../.[email protected]@vue-loader/lib/style-compiler/index?{"vue":true,"id":"data-v-6d1be154","scoped":false,"hasInlineConfig":false}!node_modules/swiper/dist/css/swiper.css in ./~/vue-awesome-swiper/swiper.vue

To install it, you can run: npm install --save !!vue-style-loader!css-loader?{"minimize":false,"sourceMap":false}!../.[email protected]@vue-loader/lib/style-compiler/index?{"vue":true,"id":"data-v-6d1be154","scoped":false,"hasInlineConfig":false}!node_modules/swiper/dist/css/swiper.css

Most helpful comment

npm install node-sass sass-loader

All 14 comments

41

npm install node-sass sass-loader

Thanks @a459295360 :)

why isn't this installed by default?

Edit:
It's not installed by default as not everyone uses sass, however it would be nice to have an option to select a pre-processor (can be skipped)

@lau-a Agree. When initializing a project with the CLI, the question "add a css pre-processor [scss, less, stylus]?" would be nice

Thank @a459295360

to excute “npm install node-sass sass-loader” can do, but why there was error "!vue-style-loader!css-loader"?

@lazycece npm i vue-style-loader css-loader

make sure the directory names don't contain '!' it will throw this error

hey, if you want to use stylus, please:

npm install stylus stylus-loader --save-dev

I got error in version sass-loader: 8.x

I do reinstall and work for me.
npm uninstall sass-loader
npm install [email protected] --save-dev

add below in your webpack
Screenshot_112319_120628_AM

I got error in version sass-loader: 8.x

I do reinstall and work for me.
npm uninstall sass-loader
npm install [email protected] --save-dev

add below in your webpack
Screenshot_112319_120628_AM

Thank you.... I hate those NPM versions........ hateeeeeee but still using...

It still not work...

Was this page helpful?
0 / 5 - 0 ratings