error Unexpected ‘debugger‘ statement no-debugger

eslint

D:\System File\Desktop\后台\test\test\src\components\HelloWorld.vue

19:5 error Unexpected 'debugger' statement no-debugger

✖ 1 problem (1 error, 0 warnings)

You may use special comments to disable some warnings.

Use // eslint-disable-next-line to ignore the next line.

Use /* eslint-disable */ to ignore all warnings in a file.

ERROR in eslint

D:\System File\Desktop\后台\test\test\src\components\HelloWorld.vue

19:5 error Unexpected 'debugger' statement no-debugger

✖ 1 problem (1 error, 0 warnings)

webpack compiled with 1 error

解决方案:

debugger前写上 /* eslint-disable */

debugger

相关推荐
小七在进步6 分钟前
C++入门(3)
android·java·c++
前端 贾公子9 分钟前
Milvus使用指南 (下)
java·服务器·前端
步行cgn24 分钟前
OCP开闭原则:面向对象设计的核心原则
java·开发语言·开闭原则
落木萧萧82533 分钟前
MyBatis 启动的时候都在干什么:从 MappedStatement 说起
java·数据库·后端
en.en..34 分钟前
Linux wait()函数(预防僵尸进程)
java·大数据·开发语言
扬大平仔1 小时前
小深:用 AgentScope Java 2.0 Harness 做私人助手(上)
java·开发语言
captain3761 小时前
网络编程(1)
java·网络·ide·java-ee
李少兄1 小时前
JavaScript 运算符完全指南
java·开发语言·javascript
极客互动API1 小时前
企业微信 AI 智能客服实战:Spring Boot+Vue 接入豆包、扣子、DeepSeek
java·人工智能·微信·企业微信
今天AI了吗1 小时前
Codex使用技巧:深度解析 Plan Mode 与 Goal Mode
java·网络·人工智能·架构·java-ee