/home/runner/work/juejin-helper/juejin-helper/node_modules/node-fetch/lib/index.js:273
return Body.Promise.reject(new FetchError(invalid json response body at ${_this2.url} reason: ${err.message}, 'invalid-json'));
^
FetchError: invalid json response body at https://juejin-game.bytedance.com/game/sea-gold/game/over?uid=xx&time=xxx reason: Unexpected token < in JSON at position 0
at /home/runner/work/juejin-helper/juejin-helper/node_modules/node-fetch/lib/index.js:273:32
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Seagold.request (/home/runner/work/juejin-helper/juejin-helper/node_modules/juejin-helper/dist/juejin-helper.cjs.js:45:37)
at async SeaGold.gameOver (/home/runner/work/juejin-helper/juejin-helper/scripts/seaGold.js:104:26)
at async runGame (/home/runner/work/juejin-helper/juejin-helper/scripts/seaGold.js:338:16)
at async SeaGold.run (/home/runner/work/juejin-helper/juejin-helper/scripts/seaGold.js:361:7)
at async run (/home/runner/work/juejin-helper/juejin-helper/scripts/seaGold.js:414:5) {
type: 'invalid-json'
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Process completed with exit code 1.
/home/runner/work/juejin-helper/juejin-helper/node_modules/node-fetch/lib/index.js:273 return Body.Promise.reject(new FetchError(
invalid json response body at ${_this2.url} reason: ${err.message}
, 'invalid-json')); ^ FetchError: invalid json response body at https://juejin-game.bytedance.com/game/sea-gold/game/over?uid=xx&time=xxx reason: Unexpected token < in JSON at position 0 at /home/runner/work/juejin-helper/juejin-helper/node_modules/node-fetch/lib/index.js:273:32 at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Seagold.request (/home/runner/work/juejin-helper/juejin-helper/node_modules/juejin-helper/dist/juejin-helper.cjs.js:45:37) at async SeaGold.gameOver (/home/runner/work/juejin-helper/juejin-helper/scripts/seaGold.js:104:26) at async runGame (/home/runner/work/juejin-helper/juejin-helper/scripts/seaGold.js:338:16) at async SeaGold.run (/home/runner/work/juejin-helper/juejin-helper/scripts/seaGold.js:361:7) at async run (/home/runner/work/juejin-helper/juejin-helper/scripts/seaGold.js:414:5) { type: 'invalid-json' } error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. Error: Process completed with exit code 1.