Error reporting environment
After creating Vue scaffolding,
-
- Modify/SRC/app.vue to delete code we don’t need
<template>
<div id="app">
my_ui
</div>
</template>
<script>
export default {
}
</script>
<style lang="scss">
</style>
Start project: NPM run serve
error: error more than 1 blank line not allowed no multiple empty lines
Screenshot of error report
Error reporting translation
Error more than 1 blank line not allowed no multiple empty lines
Error reporting solution
Method 1:
According to the error prompt, find the relevant module. Here is the app. Vue
we modified earlier. Delete the redundant blank lines in it
Method 2:
Close eslint
Read More:
- [Solved] Error:Plugin/Preset files are not allowed to export objects, only functions
- CSS text more than 2 lines hidden and show ellipsis
- How to Fix “HTTP 405 method not allowed” Error
- “Failed to load resource: net::ERR_FILE_NOT_FOUND” error. The project created by vue-cli 3.0 can run under dev, and an error is reported after packaging, and the page is blank.
- How to Test whether the property value of each property in the object is not empty
- [Solved] Cnpm installation -g@ view/cli Error: error: eperm: operation not allowed…
- [Weex]Error in creating project NPM: unable to load file D:\program files\nodejs\node_ global\ weex.ps1 Because scripts are not allowed to run on this system.
- Golang: How to determine structure whether it is empty
- [Solved] PDF.js Error: Cannot use the same canvas during multiple render()
- Vue project change directory run error:Multiple assets emit different content to the same filename index.html
- Method of adding operation button for each line of data in DataGrid of easyUI
- Vue a page is mounted to send multiple requests at the same time, and the loading is processed uniformly
- ERROR Error: [@ant-design/icons-angular]:the icon XXX does not exist or is not registered.
- [Solved] Uncaught SyntaxError: The requested module does not provide an export named
- Vue Dynamic Display Picture Error 404: Not Found [How to Solve]
- [Solved] Error: Node Sass does not yet support your current environment
- [Solved] Vue3.0 Error: The component has been registered but not used vue/no-unused-components, Close eslint
- [Solved] “npm WARN logfile could not be created: Error: EPERM: operation not permitted,…”
- [Solved] Vue Import swiper.css Error: Module not found…
- Vuepress build error: window is not defined [How to Solve]