ConfigErrorConfig "antfu/javascript/rules"Key "rules"Key "accessor-pairs"structuredClone is not defined

2024-12-10 16:15:11

一. 问题

再进行项目开发过程中,eslint 时遇到错误信息:ConfigError: Config "antfu/javascript/rules": Key "rules": Key "accessor-pairs": structuredClone is not defined。

ESLint: 9.1.1

二. 解决方案

切换 node 至 17 版本及以上。

经实验,node 16 版本以下,会出现以上错误。

目录

相关推荐
关于调用微软Bing API推送链接时,报:errorcode 3 message ERROR!!! InvalidApiKey如何调用百度和微软必应链接收录APIMac安装nvm时,各种问题总结react-app-rewired中如何设置ant-design主题,以及不生效问题Variable @primary-color-hover is undefinedAnt-Design-Vue Form 中,对于多选下拉表表单时,重置时,表单未正确展示