error @achrinza/node-ipc@9.2.5: The engine “node“ is incompatible with this module. 解决node.js版本不兼容问题

作者 : admin 本文共269个字,预计阅读时间需要1分钟 发布时间: 2024-06-10 共1人阅读

error @achrinza/node-ipc@9.2.5: The engine “node“ is incompatible with this module. 解决node.js版本不兼容问题插图

目录

很多人运行项目的时候会出现报错信息:

解决方案

然后再次运行就好了:

此时,我点击链接就可以看到了:


很多人运行项目的时候会出现报错信息:

error @achrinza/node-ipc@9.2.5: The engine “node“ is incompatible with this module. 解决node.js版本不兼容问题插图(1)


  • 这个错误是因为你的项目中使用了一个模块 @achrinza/node-ipc,它要求 Node.js 版本在 8 到 18 之间,但你的 Node.js 版本是 20.10.0。你需要降低 Node.js 版本以解决这个问题。 

解决方案

  • 更新@achrinza/node-ipc到兼容的版本
npm install @achrinza/node-ipc@latest
然后再次运行就好了:
 npm run dev 

error @achrinza/node-ipc@9.2.5: The engine “node“ is incompatible with this module. 解决node.js版本不兼容问题插图(2)

此时,我点击链接就可以看到了:

error @achrinza/node-ipc@9.2.5: The engine “node“ is incompatible with this module. 解决node.js版本不兼容问题插图(3)

本站无任何商业行为
个人在线分享 » error @achrinza/node-ipc@9.2.5: The engine “node“ is incompatible with this module. 解决node.js版本不兼容问题
E-->