ERROR Failed to compile with2Errors A:xx: -Errorinch./src/App.vuemodule Build failed:Error:No parser and NofilePath given, couldn'T infer a parser.At Normalize (C:\Users\admin\Desktop\222\demo\node_modules\prettier\index.js:7051: -) at Formatwithcursor (C:\Users\admin\Desktop\222\demo\node_modules\prettier\index.js:10370: A) at C:\Users\admin\Desktop\222\demo\node_modules\prettier\index.js:31115: theAt Object.format (C:\Users\admin\Desktop\222\demo\node_modules\prettier\index.js:31134: A) at Object.module.exports (C:\Users\admin\Desktop\222\demo\node_modules\vue-loader\lib\template-compiler\index.js: the: at) @ ./src/app.vue One:0-354 @ ./src/main.js @ multi (webpack)-dev-server/client?http://localhost:8081 webpack/hot/dev-server./src/main.jsErrorinch./src/components/Helloworld.vuemodule Build failed:Error:No parser and NofilePath given, couldn'T infer a parser.At Normalize (C:\Users\admin\Desktop\222\demo\node_modules\prettier\index.js:7051: -) at Formatwithcursor (C:\Users\admin\Desktop\222\demo\node_modules\prettier\index.js:10370: A) at C:\Users\admin\Desktop\222\demo\node_modules\prettier\index.js:31115: theAt Object.format (C:\Users\admin\Desktop\222\demo\node_modules\prettier\index.js:31134: A) at Object.module.exports (C:\Users\admin\Desktop\222\demo\node_modules\vue-loader\lib\template-compiler\index.js: the: at) @ ./src/components/helloworld.vue One:0-366 @ ./src/router/index.js @./src/main.js @ multi (webpack)-dev-server/client?http://localhost:8081 webpack/hot/dev-server./src/main.js
Jie Jue Method:
NPM I [email protected]~1.12. 0
Re-run:
NPM Run Dev
Vue.js Error: Module build failed:Error:No Parser and No file path given, couldn ' t infer a parser.