1. 程式人生 > >vue.js報錯:Module build failed: Error: No parser and no file path given, couldn't infer a parser.

vue.js報錯:Module build failed: Error: No parser and no file path given, couldn't infer a parser.

npm run dev  時報錯

解決方式:npm i [email protected]~1.12.0

然後在npm run dev

參考:https://www.cnblogs.com/wntd/p/9100077.html