vue-shopping icon indicating copy to clipboard operation
vue-shopping copied to clipboard

运行时报错

Open Ljiawen opened this issue 7 years ago • 9 comments

ERROR in ./~/.6.2.5@babel-loader?presets[]=es2015&plugins[]=transform-runtime&comments=false!./~/.8.5.4@vue-loader/lib/selector.js?type=script&index=0!./src/views/goods/catedetail.vue Module not found: Error: Cannot resolve 'file' or 'directory' ../../../node_modules/vue-swipe/lib/vue-swipe.css in /Users/liujiawen/project/webProject/vue-shopping/src/views/goods @ ./~/.6.2.5@babel-loader?presets[]=es2015&plugins[]=transform-runtime&comments=false!./~/.8.5.4@vue-loader/lib/selector.js?type=script&index=0!./src/views/goods/catedetail.vue 7:0-60

ERROR in ./~/.6.2.5@babel-loader?presets[]=es2015&plugins[]=transform-runtime&comments=false!./~/.8.5.4@vue-loader/lib/selector.js?type=script&index=0!./src/views/timelimit/head.vue Module not found: Error: Cannot resolve 'file' or 'directory' ../../../node_modules/vue-swipe/lib/vue-swipe.css in /Users/liujiawen/project/webProject/vue-shopping/src/views/timelimit @ ./~/.6.2.5@babel-loader?presets[]=es2015&plugins[]=transform-runtime&comments=false!./~/.8.5.4@vue-loader/lib/selector.js?type=script&index=0!./src/views/timelimit/head.vue 7:0-60

ERROR in ./src/views/goods/swipe.vue Module not found: Error: Cannot resolve 'file' or 'directory' ../../../node_modules/vue-swipe/lib/vue-swipe.css in /Users/liujiawen/project/webProject/vue-shopping/src/views/goods @ ./src/views/goods/swipe.vue 3:0-154 Child html-webpack-plugin for "index.html": Asset Size Chunks Chunk Names index.html 22.7 kB 0

Ljiawen avatar Oct 08 '16 02:10 Ljiawen

后来怎么解决了?

mozengxiong avatar Nov 14 '16 06:11 mozengxiong

怎么解决的?

lfzj avatar Dec 09 '16 08:12 lfzj

跟我一样的错误。你后来解决了吗

william-xue avatar Dec 19 '16 05:12 william-xue

把所有文件中的../../../node_modules/vue-swipe/lib/vue-swipe.css 改为../../../node_modules/vue-swipe/dist/vue-swipe.css(一共有三个文件要改)全文搜索一下或者到错误提示的文件去找一下就ok了

pegtop avatar Dec 20 '16 05:12 pegtop

src-views-goods-catedetail.vue & swipe.vue src-views-timelimit-head.vue 为什么有这个坑😭

jiandandkl avatar Dec 31 '16 18:12 jiandandkl

解决办法楼上已经给了,可以把项目跑起来了

zhule avatar Mar 01 '17 07:03 zhule

感谢5L 已解决

HeathHsia avatar Dec 20 '17 03:12 HeathHsia

node_modules/vue-swipe/lib/vue-swipe.css 改为../../../node_modules/vue-swipe/dist/vue-swipe.css(

我查找出来就是dist这样的 还是运行不了呢

sueRimn avatar Feb 25 '19 03:02 sueRimn

感谢5L

SUNbrightness avatar Nov 21 '20 02:11 SUNbrightness