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

相关推荐
y = xⁿ4 分钟前
【从零开始学习Redis|第七篇】Redis 进阶原理篇:消息队列、分布式锁、缓存击穿与事务实现
java·redis·学习·缓存
深蓝轨迹41 分钟前
SpringBoot YAML配置文件全解析:语法+读取+高级用法
java·spring boot·后端·学习
深蓝轨迹1 小时前
乐观锁 vs 悲观锁 含面试模板
java·spring boot·笔记·后端·学习·mysql·面试
东离与糖宝1 小时前
AI 智能体安全踩坑记:Java 为 OpenClaw 添加权限控制与审计日志实战
java·人工智能
晓晓hh1 小时前
JavaSe学习——基础
java·开发语言·学习
phltxy1 小时前
算法刷题|模拟思想高频题全解(Java版)
java·开发语言·算法
wuyikeer1 小时前
Java进阶(ElasticSearch的安装与使用)
java·elasticsearch·jenkins
C雨后彩虹2 小时前
深入探索Java Stream:6个复杂业务场景下的高效实现方案
java·多线程·stream·同步·异步
挠头猴子2 小时前
c++中常用的运算符优先级
java·开发语言·c++
清空mega2 小时前
第3章:JSP 基础语法——<% %>、<%= %>、<%! %> 到底怎么用
java·开发语言