Skip to content

前端的代码和nodejs最新稳定版不兼容,安装依赖报错:error @achrinza/node-ipc@9.2.2: The engine "node" is incompatible with this module. Expected version "8 || 10 || 12 || 14 || 16 || 17". Got "18.16.0" #8

@dong-lufei

Description

@dong-lufei
# dong @ lufei in E:\test\chat\ui on git:main x [21:42:14]
$ yarn
yarn install v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
error @achrinza/node-ipc@9.2.2: The engine "node" is incompatible with this module. Expected version "8 || 10 || 12 || 14 || 16 || 17". Got "18.16.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

# dong @ lufei in E:\test\chat\ui on git:main x [21:47:18] C:1
$ node -v
v18.16.0

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