emqx/MQTT-Client-Examples

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"

sssdhjh opened this issue · 4 comments

该项目不支持 node 18.16.0 最新版?需要降低版本才能用?
image

使用yarn尝试编译mqtt-client-Vue.js出现这个问题

我不太清楚Readme.md文件中为什么推荐使用yarn工具,但我用npm install即可解决。在使用npm编译过程中同样遇到了问题,会出现“Error: error:0308010C:digital envelope routines::unsupported”提示digital envelope routines库不支持。而我在package.json文件中修改build与serve属性才解决了问题。
image

该项目不支持 node 18.16.0 最新版?需要降低版本才能用? image

Yes, the project is quite outdated. you should downgrade Node.js version.

You can create an additional Vue 2 project on your own, as the key code for establishing a connection remains the same.