ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

npm 下载一个VueLazyload之后,swipwe报错

2021-09-22 14:34:14  阅读:44  来源: 互联网

标签:npm node index modules js 报错 VueLazyload css swiper


问题:
1、npm 下载一个VueLazyload之后,
2、报错
index.js?bed3:161 [WDS] Errors while compiling. Reload prevented.
errors @ index.js?bed3:161
index.js?bed3:167 ./node_modules/css-loader??ref--5-1!./node_modules/postcss-loader/lib??ref--5-2!./node_modules/_swiper@5.4.5@swiper/css/swiper.css
Module build failed: Error: ENOENT: no such file or directory, open 'H:\Html\操作脚本\移动端小米商城\mi-shop-stu\node_modules_swiper@5.4.5@swiper\css\swiper.css'
@ ./node_modules/_swiper@5.4.5@swiper/css/swiper.css 4:14-119 13:3-17:5 14:22-127
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js
errors @ index.js?bed3:167
index.js?bed3:167 ./node_modules/_swiper@5.4.5@swiper/js/swiper.esm.bundle.js
Module build failed: Error: ENOENT: no such file or directory, open 'H:\Html\操作脚本\移动端小米商城\mi-shop-stu\node_modules_swiper@5.4.5@swiper\js\swiper.esm.bundle.js'
@ ./node_modules/vue-awesome-swiper/dist/vue-awesome-swiper.js 9:80-97
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js

解决:重新编译
Errors while compiling. Reload prevented.(而编译。重新加载了)

标签:npm,node,index,modules,js,报错,VueLazyload,css,swiper
来源: https://www.cnblogs.com/ouou-good/p/15319745.html

专注分享技术,共同学习,共同进步。侵权联系[admin#icode9.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有