• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

小程序项目编译失败问提解决

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

控制台输出

[广告] 14:33:02.092 开源不易,需要鼓励。去给 uni-app 项目 点个 star 吧 [不再提示]
[广告] 14:33:02.093 DCloud 2020新春招聘开启,欢迎前端、Android、C++/QT来投简历! 详情点击
14:33:02.133 项目 'huixiaoer-joy-mp' 开始编译...
14:33:04.020 请注意运行模式下,因日志输出、sourcemap以及未压缩源码等原因,性能和包体积,均不及发行模式。若要正式发布,请点击发行菜单或使用cli发布命令进行发布
14:33:04.021 小程序各家浏览器内核及自定义组件实现机制存在差异,可能存在样式布局兼容问题,参考:https://uniapp.dcloud.io/matter?id=mp
14:33:04.042 正在编译中...
14:33:11.816 Browserslist: caniuse-lite is outdated. Please run:
14:33:11.817 npx browserslist@latest --update-db
14:33:21.961 Browserslist: caniuse-lite is outdated. Please run the following command: `npm update`
14:33:26.600 Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
14:33:26.600 ModuleBuildError: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
14:33:26.606 SassError: File to import not found or unreadable: uview-ui/theme.scss.
14:33:26.614        Parent style sheet: D:/myfolder/code/huixiaoer-joy-mp/uni.scss
14:33:26.614         on line 86 of ../../../../../code/huixiaoer-joy-mp/uni.scss
14:33:26.624 >> @import 'uview-ui/theme.scss';
14:33:26.624    ^
14:33:26.635     at runLoaders (D:\myfolder\software\HBilderX\HBuilderX\plugins\uniapp-cli\node_modules\webpack\lib\NormalModule.js:301:20)
14:33:26.636     at D:\myfolder\software\HBilderX\HBuilderX\plugins\uniapp-cli\node_modules\loader-runner\lib\LoaderRunner.js:367:11
14:33:26.650     at D:\myfolder\software\HBilderX\HBuilderX\plugins\uniapp-cli\node_modules\loader-runner\lib\LoaderRunner.js:233:18
14:33:26.650     at context.callback (D:\myfolder\software\HBilderX\HBuilderX\plugins\uniapp-cli\node_modules\loader-runner\lib\LoaderRunner.js:111:13)
14:33:26.661     at Object.render [as callback] (D:\myfolder\software\HBilderX\HBuilderX\plugins\uniapp-cli\node_modules\sass-loader\dist\index.js:73:7)
14:33:26.662     at Object.done [as callback] (D:\myfolder\software\HBilderX\HBuilderX\plugins\uniapp-cli\node_modules\sass-loader\node_modules\neo-async\async.js:8067:18)
14:33:26.673     at options.error (D:\myfolder\software\HBilderX\HBuilderX\plugins\compile-node-sass\node_modules\node-sass-china\lib\index.js:294:32)
14:33:26.673 文件查找失败:'luch-request' at utils\fetch.js:1
14:33:26.686 文件查找失败:'uview-ui' at main.js:10
14:33:26.687 文件查找失败:'uview-ui/components/u-action-sheet/u-action-sheet.vue' at pagesBusiness\inputPage\uploadLogo.vue:8
14:33:26.699 文件查找失败:'uview-ui/components/u-avatar/u-avatar.vue' at components\joy\joy-hotelGrade.vue:8
14:33:26.709 文件查找失败:'uview-ui/components/u-avatar/u-avatar.vue' at pagesBusiness\myCompany\memberList.vue:8
14:33:26.710 文件查找失败:'uview-ui/components/u-avatar/u-avatar.vue' at pages\invite\inviteCompany.vue:3
14:33:26.722 文件查找失败:'uview-ui/components/u-cell-group/u-cell-group.vue' at components\joy\joy-selectedCell.vue:3
14:33:26.723 文件查找失败:'uview-ui/components/u-cell-group/u-cell-group.vue' at pagesBusiness\applyOrder\applyOrder.vue:8
14:33:26.733 文件查找失败:'uview-ui/components/u-cell-group/u-cell-group.vue' at pagesBusiness\hotelApply\applyPrice.vue:8
14:33:26.733 文件查找失败:'uview-ui/components/u-cell-group/u-cell-group.vue' at pagesBusiness\inputPage\inputPage.vue:18
14:33:26.743 文件查找失败:'uview-ui/components/u-cell-group/u-cell-group.vue' at pagesBusiness\myCompany\companyInfo.vue:3
14:33:26.744 文件查找失败:'uview-ui/components/u-cell-group/u-cell-group.vue' at pagesBusiness\openMember\openMember.vue:3
14:33:26.758 文件查找失败:'uview-ui/components/u-cell-group/u-cell-group.vue' at pages\guide\guideList.vue:8
14:33:26.758 文件查找失败:'uview-ui/components/u-cell-item/u-cell-item.vue' at components\joy\joy-selectedCell.vue:8
14:33:26.769 文件查找失败:'uview-ui/components/u-cell-item/u-cell-item.vue' at pagesBusiness\applyOrder\applyOrder.vue:13
14:33:26.769 文件查找失败:'uview-ui/components/u-cell-item/u-cell-item.vue' at pagesBusiness\hotelApply\applyPrice.vue:13
14:33:26.778 文件查找失败:'uview-ui/components/u-cell-item/u-cell-item.vue' at pagesBusiness\inputPage\inputPage.vue:23
14:33:26.779 文件查找失败:'uview-ui/components/u-cell-item/u-cell-item.vue' at pagesBusiness\myCompany\companyInfo.vue:8
14:33:26.794 文件查找失败:'uview-ui/components/u-cell-item/u-cell-item.vue' at pagesBusiness\openMember\openMember.vue:8
14:33:26.795 文件查找失败:'uview-ui/components/u-cell-item/u-cell-item.vue' at pages\guide\guideList.vue:13
14:33:26.807 文件查找失败:'uview-ui/components/u-dropdown-item/u-dropdown-item.vue' at pagesBusiness\hotelApply\hotelApplyList.vue:28
14:33:26.808 文件查找失败:'uview-ui/components/u-dropdown-item/u-dropdown-item.vue' at pages\tabBar\joy\step1.vue:23
14:33:26.820 文件查找失败:'uview-ui/components/u-dropdown/u-dropdown.vue' at pagesBusiness\hotelApply\hotelApplyList.vue:23
14:33:26.836 文件查找失败:'uview-ui/components/u-dropdown/u-dropdown.vue' at pages\tabBar\joy\step1.vue:18
14:33:26.839 文件查找失败:'uview-ui/components/u-field/u-field.vue' at pagesBusiness\inputPage\inputPage.vue:3
14:33:26.859 文件查找失败:'uview-ui/components/u-field/u-field.vue' at pages\invite\inviteForm.vue:8
14:33:26.861 文件查找失败:'uview-ui/components/u-field/u-field.vue' at pages\invite\inviteCompany.vue:13
14:33:26.880 文件查找失败:'uview-ui/components/u-icon/u-icon.vue' at components\joy\joy-comHeader.vue:3
14:33:26.881 文件查找失败:'uview-ui/components/u-icon/u-icon.vue' at components\joy\joy-baseHotel.vue:3
14:33:26.900 文件查找失败:'uview-ui/components/u-icon/u-icon.vue' at components\joy\joy-step.vue:3
14:33:26.901 文件查找失败:'uview-ui/components/u-icon/u-icon.vue' at components\joy\joy-selectedCell.vue:13
14:33:26.917 文件查找失败:'uview-ui/components/u-icon/u-icon.vue' at components\joy\joy-signedItem.vue:3
14:33:26.918 文件查找失败:'uview-ui/components/u-icon/u-icon.vue' at components\joy\joy-tipBox.vue:3
14:33:26.933 文件查找失败:'uview-ui/components/u-icon/u-icon.vue' at pagesBusiness\hotelApply\hotelApplyList.vue:33
14:33:26.933 文件查找失败:'uview-ui/components/u-icon/u-icon.vue' at pages\tabBar\joy\step1.vue:28
14:33:26.943 文件查找失败:'uview-ui/components/u-icon/u-icon.vue' at pages\tabBar\personal\personal.vue:3
14:33:26.943 文件查找失败:'uview-ui/components/u-line-progress/u-line-progress.vue' at components\joy\joy-hotelGrade.vue:3
14:33:26.953 文件查找失败:'uview-ui/components/u-loadmore/u-loadmore.vue' at components\joy\joy-hotelGrade.vue:18
14:33:26.954 文件查找失败:'uview-ui/components/u-loadmore/u-loadmore.vue' at pagesBusiness\hotelApply\searchList.vue:13
14:33:26.962 文件查找失败:'uview-ui/components/u-loadmore/u-loadmore.vue' at pagesBusiness\hotelApply\hotelApplyList.vue:13
14:33:26.975 文件查找失败:'uview-ui/components/u-loadmore/u-loadmore.vue' at pagesBusiness\myCompany\memberList.vue:13
14:33:26.975 文件查找失败:'uview-ui/components/u-loadmore/u-loadmore.vue' at pages\tabBar\joy\step1.vue:38
14:33:26.985 文件查找失败:'uview-ui/components/u-mask/u-mask.vue' at pagesBusiness\openMember\openMember.vue:18
14:33:26.986 文件查找失败:'uview-ui/components/u-navbar/u-navbar.vue' at pages\editPay\editPay.vue:3
14:33:26.994 文件查找失败:'uview-ui/components/u-navbar/u-navbar.vue' at pages\guide\guide.vue:3
14:33:26.994 文件查找失败:'uview-ui/components/u-navbar/u-navbar.vue' at pages\guide\guideList.vue:3
14:33:27.007 文件查找失败:'uview-ui/components/u-navbar/u-navbar.vue' at pages\order\order.vue:3
14:33:27.007 文件查找失败:'uview-ui/components/u-navbar/u-navbar.vue' at pages\orderList\orderList.vue:3
14:33:27.018 文件查找失败:'uview-ui/components/u-picker/u-picker.vue' at pagesBusiness\openMember\openMember.vue:28
14:33:27.023 文件查找失败:'uview-ui/components/u-rate/u-rate.vue' at components\joy\joy-gradeAction.vue:8
14:33:27.036 文件查找失败:'uview-ui/components/u-rate/u-rate.vue' at components\joy\joy-hotelGrade.vue:13
14:33:27.037 文件查找失败:'uview-ui/components/u-search/u-search.vue' at pagesBusiness\hotelApply\searchList.vue:3
14:33:27.045 文件查找失败:'uview-ui/components/u-search/u-search.vue' at pagesBusiness\inputPage\inputPage.vue:13
14:33:27.046 文件查找失败:'uview-ui/components/u-search/u-search.vue' at pagesBusiness\myCompany\memberList.vue:3
14:33:27.057 文件查找失败:'uview-ui/components/u-select/u-select.vue' at pagesBusiness\hotelApply\applyPrice.vue:33
14:33:27.069 文件查找失败:'uview-ui/components/u-select/u-select.vue' at pagesBusiness\myCompany\companyInfo.vue:13
14:33:27.069 文件查找失败:'uview-ui/components/u-select/u-select.vue' at pagesBusiness\openMember\openMember.vue:33
14:33:27.077 文件查找失败:'uview-ui/components/u-tabs-swiper/u-tabs-swiper.vue' at pagesBusiness\hotelApply\hotelApplyList.vue:3
14:33:27.078 文件查找失败:'uview-ui/components/u-tabs/u-tabs.vue' at pagesBusiness\hotelApply\applyPrice.vue:3
14:33:27.091 文件查找失败:'uview-ui/components/u-tabs/u-tabs.vue' at pages\tabBar\joy\step1.vue:8
14:33:27.092 文件查找失败:'uview-ui/libs/function/md5' at utils\sign.js:1
14:33:27.103  ERROR  Build failed with errors.

解决方法:

cmd进入项目跟目录,执行npm i 命令

 

 PS:npm命令找不到时需要先安装node.js

END


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
小程序之支付(前端)发布时间:2022-07-18
下一篇:
N 个小程序开发视频免费下载发布时间:2022-07-18
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap