ERROR Failed to compile with 2 errors 12 : 00 : 33 error in ./src/ App.vue Module build failed: Error: No parser and no file path given, couldn ' t infer a parser. at normalize (C:\Users\admin\Desktop\ 222 \demo\node_modules\prettier\index.js: 7051 : 13 ) at formatWithCursor (C:\Users\admin\Desktop\ 222 \demo\node_modules\prettier\index.js: 10370 : 12 ) at C:\Users\admin\Desktop\ 222 \demo\node_modules\prettier\index.js: 31115 : 15 at Object.format (C:\Users\admin\Desktop\ 222 \demo\node_modules\prettier\index.js : 31134 : 12 ) at Object.module.exports (C:\Users\admin\Desktop\ 222 \demo\node_modules\vue-loader\lib\template-compiler\index.js: 80 : 23 ) @. /Src/App.vue 11 : 0 - 354 @. / Src / main.js @ multi (webpack) -dev-server/client?http: // localhost:8081 webpack/hot/dev-server ./src/main.js error in ./src/components/ HelloWorld.vue Module build failed: Error: No parser and no file path given, couldn ' t infer a parser. at normalize (C:\Users\admin\Desktop\ 222 \demo\node_modules\prettier\index.js: 7051 : 13 ) at formatWithCursor (C:\Users\admin\Desktop\ 222 \demo\node_modules\prettier\index.js: 10370 : 12 ) at C:\Users\admin\Desktop\ 222 \demo\node_modules\prettier\index.js: 31115 : 15 at Object.format (C:\Users\admin\Desktop\ 222 \demo\node_modules\prettier\index.js : 31134 : 12 ) at Object.module.exports (C:\Users\admin\Desktop\ 222 \demo\node_modules\vue-loader\lib\template-compiler\index.js: 80 : 23 ) @. /Src/components/HelloWorld.vue 11 : 0 - 366 @. / Src / Router / index.js @. /src/ main.js @ multi (webpack) -dev-server/client?http: // localhost:8081 webpack/hot/dev-server ./src/main.js
Ways to resolve consciousness:
npm i prettier@~ 1.12 . 0
Re-run:
npm run dev
Read More:
- [Solved] App.vue{ parser: “babylon“ } is deprecated; we no 95% emitting
- Vue Report Error #NULL! :no such file or directory,chmod….. [email protected] **\css- Beautify.js
- How to Solve args = parser.parse_args() error
- [Solved] SAP GUI Error: Error in Parser-Thread
- [Solved] webpack.config.js configuration encountered Error: Cannot find module’@babel/core’&&Cannot find module’@babel/plugin-transform-react-jsx’
- [Solved] Win10 Warning: ModuleNotFoundError: No module named ‘win32con‘ and No module named ‘antlr4‘
- [Solved] No module named ‘pywt‘ or ModuleNotFoundError: No module named ‘skimage.metrics‘
- Vue Error reported after introduction of path: Already included file name ‘××ב differs from file name ‘××ב only in casing.
- NPM run dev Error Module build failed: Error: Cannot find module ‘node-sass’
- How to Solve Import antd Error: Module build failed
- [Solved] open failed: ENOENT (No such file or directory)
- Webpack Error: Module build failed: TypeError: this.getOptions is not a function
- Jenkins uses NPM to build Vue error, and the manual build is normal
- [Solved] ionic Build Error: Cannot load gulp tasks: Error: Error in module: .\gulpfile.js:
- jitpack.io ERROR: No build artifacts found [How to Solve]
- Module build failed: Error: Node Sass version 6.0.0 is incompatible with ^4.0.0
- [Solved] Linux Start jar Error: nohup: failed to run command ‘java‘: No such file or directory
- [Solved] K8s cluster build error: error: kubectl get csr No resources found.
- [Solved] ERROR: Could not open requirements file: [Errno 2] No such file or directory : ‘requirments.txt‘