vogler / free-games-claimer

Automatically claims free games on the Epic Games Store, Amazon Prime Gaming and GOG.
GNU Affero General Public License v3.0
2.46k stars 149 forks source link

GoG Giveaway fails with Cannot read properties of null #198

Closed yoshimo closed 1 year ago

yoshimo commented 1 year ago

Right now you can grab a free copy of https://www.gog.com/en/game/hero_of_the_kingdom_ii for 65h but it does give me only:

TypeError: Cannot read properties of null (reading '1')
    at file:///fgc/gog.js:95:43
KairuByte commented 1 year ago

Are you ensuring you're running latest? The mentioned game was successfully grabbed on two accounts this morning at about 16:05am UTC.

vogler commented 1 year ago

Works for me. Feel free to reopen.

romquenin commented 1 month ago

Hello, i've just installed FGC on docker (synology) and i'm getting the same error

2024-08-26 16:29:13.853 started checking gog
Signed in as usermodified
--- Exception:
TypeError: Cannot read properties of null (reading '1')
    at file:///fgc/gog.js:102:62

Note that the first time i ran the GOG's node, it claimed the available game properly

vogler commented 1 month ago

Works for me: image

Is 'usermodified' really your user name or did something with the login not work? Can you run it with RECORD=1 to see what's going on?