Comment on The Previous Update Broke Our Bot And I Don't Know Why

<- View Parent
BakedCatboy@lemmy.ml ⁨3⁩ ⁨months⁩ ago

Hmm maybe it’s not that simple then. It doesn’t look like the JWT is stored so it’s probably trying to get a new one when started. The other possible culprit would be if you need to use lemmy-js-library with a major version matching the Lemmy server version.

Assuming the server updated to 0.19.0, the version used by the bot is 0.18.0. You would just need to edit package.json so that the lemmy-js-client line reads:

“lemmy-js-client”: “^0.19.0”,

Then running npm install or yarn install (or whatever command you used to install dependencies previously)

source
Sort:hotnewtop