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

相关推荐
ai_coder_ai15 分钟前
编写自动化脚本,在自己后端服务中使用Open Api进行设备相关操作
java·运维·自动化
硕风和炜33 分钟前
【LeetCode: 2492. 两个城市间路径的最小分数 + DFS】
java·算法·leetcode·深度优先·dfs·bfs·并查集
格子软件1 小时前
2026年GEO贴牌代理:分布式多级分账状态机源码深度解构
java·vue.js·分布式·vue·geo
我是一颗柠檬2 小时前
【Java项目技术亮点】加权轮询负载均衡算法
java·算法·负载均衡
灯厂码农2 小时前
C语言动态内存分配完全指南(malloc、calloc、realloc、free)
java·c语言·算法
梦梦代码精3 小时前
电商系统不是技术堆叠:LikeShop如何用分层Hold住复杂业务?
java·docker·代码规范
负责的蛋挞3 小时前
异步HttpModule的实现方式
java·服务器·前端
AC赳赳老秦3 小时前
防火墙规则批量配置实战:OpenClaw 自动生成模板、批量下发与合规性校验全解析
java·开发语言·人工智能·python·github·php·openclaw
Tian_Hang3 小时前
Eclipse Ditto 物模型相关代码
java·运维·服务器·ide·eureka·eclipse
Mr-Wanter4 小时前
wsl2 jdk管理工具之sdkman
java·开发语言·sdkman