Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js)
时间: 2023-09-28 18:04:25 浏览: 219
根据引用,你提到的错误信息 "Module build failed (from ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js)" 是在使用HBuilderX工具运行vue开发的微信小程序时出现的。这个错误通常是由于代码中的ifdef和endif不匹配引起的。你需要检查你的代码,确保每个ifdef语句都有对应的endif语句,并且语法没有错误。根据引用中提到的解决方案,你可能需要查找你的代码中是否有缺少endif的情况。检查并修复这些错误可以解决这个问题。<span class="em">1</span><span class="em">2</span>
#### 引用[.reference_title]
- *1* [开源版发卡小程序源码 云盘发卡微信小程序源码带PC端 云盘发卡系统源码.rar](https://download.csdn.net/download/winkexin/88236712)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [模板编译错误Module build failed (from ./node_modules/@dcloudio/webpack-uni-mp-loader/lib/](https://blog.csdn.net/weixin_51614564/article/details/120616160)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文