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

相关推荐
白杨尚青25 分钟前
C++入门篇(十):string(上)——认识string:构造与三大遍历(一条龙讲透operator[]、迭代器、auto、范围for)
java·开发语言·c++·笔记·stl
anew___38 分钟前
《从零手写操作系统 (11):文件系统初探——initrd与VFS抽象层》
java·javascript·算法
天天向上29141 分钟前
Spring AI 实战:14 个踩坑记录,其中一个让我的测试全绿但产品是坏的
java·开源
正在走向自律1 小时前
从只写接口到独立交付前后端,飞算JavaAI能给Java后端工程师多少溢价?
java·springboot·ai编程·全栈开发·java求职·飞算javaai·金九银十
a努力。1 小时前
LangChain Agent消息链路全解析
java·前端·javascript
SL_staff1 小时前
物模型是设备的数字身份证:属性、事件、服务如何决定IoT系统扩展性
java·物联网·全栈
资深技术分享员2 小时前
Geejing WebBuilder 日志、在线用户、系统监控,出问题时的三个第一现场
java·运维·数据库
卓怡学长2 小时前
w202springboot基于B_S架构的图书信息管理系统
java·spring boot·spring·intellij-idea
走到天涯海角2 小时前
用springBoot写几个简单的接口
java·spring boot·intellij-idea
troy1282 小时前
Java 技术栈全景指南:从基础到微服务的完整知识体系
java·开发语言·微服务