安装layui报错Module parse failed: Unexpected token (95:59) You may need an appropriate loader to handle this file type.
时间: 2023-10-14 11:03:59 浏览: 133
根据引用内容,这个报错是因为vue-loader版本过高,需要下载低版本的vue-loader来解决。你可以使用以下命令来安装低版本的vue-loader:
npm i vue-loader@13.0.0 --save-dev
同时,你可以参考这篇文章来获取更多信息:https://www.freesion.com/article/87781082538/
对于引用内容,报错"Module parse failed: Unexpected token (95:59) You may need an appropriate loader to handle this file type."是因为在你安装layui时遇到了问题。这个错误通常发生在模块解析阶段,可能是因为缺少适当的加载器来处理该文件类型。你可以尝试安装相应的加载器来解决这个问题。<span class="em">1</span><span class="em">2</span>
#### 引用[.reference_title]
- *1* [Module parse failed: Unexpected token (135:0) You may need an appropriate loader to handle this file](https://blog.csdn.net/YI_Zyd/article/details/115726208)[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_2"}}] [.reference_item style="max-width: 50%"]
- *2* [Module parse failed: Unexpected token](https://download.csdn.net/download/weixin_38535221/14886682)[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_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文
相关推荐


















