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

相关推荐
老毛肚17 小时前
黑马头条 云岚到家
java
江不清丶17 小时前
垃圾收集算法深度解析:从标记-清除到分代收集的演进之路
java·jvm·算法
码农爱学习17 小时前
使用cJosn读写配置文件
java·linux·网络
庞轩px17 小时前
【无标题】
java·开发语言·jvm
Lyyaoo.17 小时前
【JAVA基础面经】JAVA中的泛型
java
自然常数e17 小时前
预处理讲解
java·linux·c语言·前端·visual studio
大数据新鸟17 小时前
设计模式详解——模板方法模式
java·tomcat·模板方法模式
无籽西瓜a17 小时前
【西瓜带你学设计模式 | 第四期 - 抽象工厂模式】抽象工厂模式 —— 定义、核心结构、实战示例、优缺点与适用场景及模式区别
java·后端·设计模式·软件工程·抽象工厂模式
always_TT17 小时前
内存泄漏是什么?如何避免?
android·java·开发语言
白鸽梦游指南17 小时前
docker仓库的工作原理及搭建仓库
java·docker·eureka