DuckySoLucky / hypixel-discord-chat-bridge

A two-way chat bridge between Hypixel guild chat and a Discord channel. The application utilizes discord.js v14 for communicating with Discord, and mineflayer for communicating with Hypixel.
45 stars 32 forks source link

updating node image from 16 to 21 and fixed syncing package.json and package-lock.json #235

Closed kwissss closed 4 months ago

kwissss commented 5 months ago

npm ERR! npm ci can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with npm install before continuing.

kwissss commented 5 months ago

also tested higher node image version. 21 seems to be compatible as long as canvas is higher:

0 12.35 npm ERR! node-pre-gyp http GET https://github.com/Automattic/node-canvas/releases/download/v2.10.1/canvas-v2.10.1-node-v120-linux-glibc-x64.tar.gz

0 12.35 npm ERR! node-pre-gyp ERR! install response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.10.1/canvas-v2.10.1-node-v120-linux-glibc-x64.tar.gz

0 12.35 npm ERR! node-pre-gyp WARN Pre-built binaries not installable for canvas@2.10.1 and node@21.6.1 (node-v120 ABI, glibc) (falling back to source compile with node-gyp)

0 12.35 npm ERR! node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.10.1/canvas-v2.10.1-node-v120-linux-glibc-x64.tar.gz