This prompt is often encountered in Vue projects
Solution:
This error is directly caused by the prettier version in the project:
cnpm install prettier@~1.12.0 -D
perhaps
cnpm install prettier@~1.12.0 --save-dev
Then npm run dev
It’s OK
Read More:
- [Solved] Vue.js error: Module build failed: Error: No parser and no file path given, couldn’t infer a parser.
- Yaml is installed, and the error YAMLLoadWarning is reported as soon as the code runs: calling yaml.load() without Loader=… is deprecated, as the default Loader is unsafe.
- [Solved] eggjs Error: Warning: Current Server Discovery and Monitoring engine is deprecated, and will be rem…
- [Solved] Vue cli version is @ Vue/cli 4.5.13, and sass is used to report an error
- Hash_map is deprecated and will be REMOVED. Please use unordered_map.
- app:kaptDebugKotlin no error message [How to Solve]
- Vue Report Error #NULL! :no such file or directory,chmod….. [email protected] **\css- Beautify.js
- [Solved] URIError: Failed to decode param ‘/%3C%=%20BASE_URL%20%3Estatic/index.%3C%=%20VUE_APP_INDEX_CSS_HASH%20%3E.css’
- ROS Error: warning: “deprecated pixel format used“
- [Solved] Android app development version update failed, Android – error: task execution failed ‘: app: com
- Solve the data transfer between vue irrelevant components error: this.$store.commit is not a function
- [Solved] Vue Install less Error: this.getOptions is not a function
- [How to Solve] Task :app:compileDebugKotlin FAILED
- [Solved] SAP GUI Error: Error in Parser-Thread
- How to Solve args = parser.parse_args() error
- Database App.config configurate file Error & Solution
- Eslint error “no undef” and eslint rule configuration in Vue cli3
- The browser is compatible with IE11 “ReferenceError: ‘Promise’ is not defined” “ReferenceError: ‘Promise’ is not defined”
- TensorFlow-gpu Error: failed call to cuInit: CUDA_ERROR_NO_DEVICE: no CUDA-capable device is detected
- Download and save uniapp pictures to Android error reporting app