emqx / MQTT-Client-Examples

MQTT Client Examples
https://www.emqx.com
MIT License
832 stars 680 forks source link

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" #105

Closed sssdhjh closed 1 year ago

sssdhjh commented 1 year ago

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

sssdhjh commented 1 year ago

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

sssdhjh commented 1 year ago

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

0721Betty commented 1 year ago

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

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

0721Betty commented 1 year ago

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