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

相关推荐
Han.miracle3 分钟前
Redis 全套笔记:基础 API + 三大架构 + 缓存三大问题
java·windows·redis
zzb15805 分钟前
Fragment 生命周期深度图解:从 onAttach 到 onDetach 完整流程(面试必备)
android·java·面试·安卓
银色火焰战车26 分钟前
浅析golang中的垃圾回收机制(GC)
java·jvm·golang
zhangjw3427 分钟前
第4篇:Java数组与字符串:从基础用法到面试高频考点
java·java基础知识
俺爱吃萝卜35 分钟前
Spring Boot 3 + JDK 17:新一代微服务架构最佳实践
java·spring boot·架构
曹牧40 分钟前
Spring :component-scan
java·后端·spring
下地种菜小叶1 小时前
定时任务系统怎么设计?一次讲清任务注册、分布式调度、幂等执行与失败补偿
java·开发语言·数据库·oracle·rabbitmq
做个文艺程序员1 小时前
Spring Boot 项目集成 OpenClAW【OpenClAW + Spring Boot 系列 第1篇】
java·人工智能·spring boot·开源
withelios1 小时前
Java泛型全面理解指南
java
withelios1 小时前
Java枚举全解析:从基础到高级使用技巧
java·后端