Comment on The Previous Update Broke Our Bot And I Don't Know Why
MMARefugee@lemmy.world 8 months agoAfter change:
PS C:\Users***********\Botlt> npm install
npm ERR! code EJSONPARSE
npm ERR! path C:\Users\Josh\Botlt/package.json
npm ERR! JSON.parse Unexpected token ““” (0x201C) in JSON at position 976 while parsing near “… "lemmy-js-client": “^0.19.0”,\r\n "lin…”
npm ERR! JSON.parse Failed to parse JSON data.
npm ERR! JSON.parse Note: package.json must be actual JSON, not just JavaScript.
I get the same error just running npm run build as well.
BakedCatboy@lemmy.ml 8 months ago
I think that’s part of the solution, I skimmed some of the forks and found one that updated the lemmy-js-client to 0.19.2-alpha.3 but they made some code changes too to the authentication code. So maybe trying that fork is worth a shot: github.com/thepaperpilot/BotIt
Last changes were last month on that fork
MMARefugee@lemmy.world 8 months ago
Thanks so much for your help.
I don’t program, and I didn’t even realize there was a fork. Let me root around in there and see what I can find out tomorrow.
Thanks again.