vue start the project when an error This dependency was not found:! * !! vue-style-loader css-loader { "sourceMap":? Solution

beginner

Thanks @  Honey edge Muyu  large share of God: https://blog.csdn.net/dt1991524/article/details/83413211

Start vue project, reported in the above chart error

This is because when css resolved a problem, the solution is:

First, look at what you are using CSS language is in normal or less or sass.

If the conventional, performing npm install stylus-loader css-loader style-loader --save-dev mounted reliance on the line.
If it is less, and performs npm install less less-loader --save- dev mounted reliance on the line.
If sass performs npm install sass sass-loader --save- dev mounted reliance on the line. Or ($ npm intall sass-loader --save ; $ npm install node-sass --save)

Guess you like

Origin blog.csdn.net/weixin_42389328/article/details/91413537