inevolin / DiscordEarsBot

A speech-to-text framework and bot for Discord. Take control of your Discord server using speech and voice commands. Can also be useful for hearing impaired and deaf people.
MIT License
65 stars 332 forks source link

Node.js just released v21.6.0 and it's breaking the build/compile. Fix listed. #11

Open jakeloftis opened 5 months ago

jakeloftis commented 5 months ago

Node.js just released v21.6.0 and it's breaking the build/compile. Fix listed. #11

Change the following:

DiscordEarsBot > package.json > "node": "<21.6.0"

Now, the build log successfully completed. Output:

-----> Installing binaries
       engines.node (package.json):  <21.6.0
       engines.npm (package.json):   unspecified (use default)

       Resolving node version <21.6.0...
       Downloading and installing node 21.5.0...
       Using default npm version: 10.2.4

I think the issue is ffi-napi compatibility with the new node.js version.