Skip to content

[bug] isNullOrUndefined 已弃用 #542

@iamapig120

Description

@iamapig120

What are you doing?
在最新版VSCode中尝试加载EIDE插件加载一个工作区项目时,报错

Describe the bug
[Error] [2026/06/04 01:20:37 GMT+0800] (0 , a.isNullOrUndefined) is not a function
TypeError: (0 , a.isNullOrUndefined) is not a function

To Reproduce
Steps to reproduce the behavior:

  1. VSC 1.123.0
    在该版本更新中,vsc将electron更新至了42,导致node版本更新至了v24
    isNullOrUndefined 在v23被移除
    https://nodejs.org/api/deprecations.html#dep0051-utilisnullorundefined

Expected behavior
应当正常启动EIDE

Desktop (please complete the following information):

  • OS: Win11 25H2
  • EIDE Version v3.27.0
  • VSCode Version 1.123.0

Additional context

import { isNullOrUndefined } from "util";

import { isNullOrUndefined } from "util";
该函数已弃用

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions