mpvue报错:This dependency was not found,怎么解决呀?
发布于 6 年前 作者 jie65 9891 次浏览 来自 官方Issues

在mpvue中进行构建的时候,报如下错误:

This dependency was not found:
 
* !!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{"omit":1,"remove":true}!vue-style-loader!css-loade
r?{"minimize":false,"sourceMap":false}!../../../node_modules/mpvue-loader/lib/style-compiler/index?{"vue":true,"id":"dat
a-v-5b9f713e","scoped":true,"hasInlineConfig":false}!px2rpx-loader?{"baseDpr":1,"rpxUnit":0.5}!postcss-loader?{"sourceMa
p":true}!less-loader?{"sourceMap":false}!../../../node_modules/mpvue-loader/lib/selector?type=styles&index=0!./index.vue
 in ./src/pages/cart/index.vue
 
To install it, you can run: npm install --save !!../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{"omit
":1,"remove":true}!vue-style-loader!css-loader?{"minimize":false,"sourceMap":false}!../../../node_modules/mpvue-loader/l
ib/style-compiler/index?{"vue":true,"id":"data-v-5b9f713e","scoped":true,"hasInlineConfig":false}!px2rpx-loader?{"baseDp
r":1,"rpxUnit":0.5}!postcss-loader?{"sourceMap":true}!less-loader?{"sourceMap":false}!../../../node_modules/mpvue-loader
/lib/selector?type=styles&index=0!./index.vue

怎么解决呢?

回到顶部