今天爱分享给大家带来Vue Module build failed: Error: No parser and no file path given, couldn’t infer a parser.【解决办法】,希望能够帮助到大家。
报错: 没有语法分析器和文件路径,无法推断解析器
原因: 依赖包出现问题,prettier 一个vue-cli的依赖,把一个feature 的移除当作次版本发布
解决: npm install –save-dev prettier@1.12.0(删除 node_modules下_prettier@1.13.0@prettier文件夹)
原文链接:http://blog.itblood.com/1258.html,转载请注明出处。

![极品采花郎V1.4.5 官方中文步兵版+存档[更新][电脑/9.2G]极品采花郎V1.4.5 官方中文步兵版 [3D互动SLG/中文/动态]](/wp-content/uploads/replace/2025/08/29/ac918edbd9dacc5edbbdc6b42a744ca9.webp)