VUE运行是报错These dependencies were not found: * @/components/upload/multiUpload in ./node_modules/babel-loader/lib!..These dependencies were not found:
首先这个我这边报错的信息:
These dependencies were not found:
* @/components/upload/multiUpload in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0&bustCache!./src/views/modules/product/spuadd.vue
* @/components/upload/singleUpload in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0&bustCache!./src/views/modules/coupon/homesubject-add-or-update.vue, ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0&bustCache!./src/views/modules/coupon/coupon-add-or-update.vue and 1 other
To install them, you can run: npm install --save @/components/upload/multiUpload @/components/upload/singleUpload
These dependencies were not found:找不到依赖项
下面写的都是具体的信息,比如
* @/components/upload/multiUpload in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0&bustCache!./src/views/modules/product/spuadd.vue
@/components/upload/multiUpload 这个地址在./src/views/modules/product/spuadd.vue文件中被引用了
检查这个引用的地址是否有错, 我这边是因为对应的文件没有复制过来…所以补充对应目录下文件
个人遇到的问题记录一下,免得以后重新找,也许对你有用.