Revadike / epicgames-freebies-claimer

Claim available free game promotions from the Epic Games Store.
MIT License
2.23k stars 361 forks source link

Can't fix this problem. Before the update, it worked #141

Closed fsLelush closed 2 years ago

fsLelush commented 2 years ago

C:\NodeJS packages>git clone https://github.com/Revadike/epicgames-freebies-claimer.git Cloning into 'epicgames-freebies-claimer'... remote: Enumerating objects: 513, done. remote: Counting objects: 100% (57/57), done. remote: Compressing objects: 100% (35/35), done. remote: Total 513 (delta 18), reused 48 (delta 18), pack-reused 456 Receiving objects: 100% (513/513), 139.30 KiB | 466.00 KiB/s, done. Resolving deltas: 100% (259/259), done.

C:\NodeJS packages>cd epicgames-freebies-claimer

C:\NodeJS packages\epicgames-freebies-claimer>npm install npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142 npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142

added 324 packages, and audited 325 packages in 8s

43 packages are looking for funding run npm fund for details

2 high severity vulnerabilities

To address all issues (including breaking changes), run: npm audit fix --force

Run npm audit for details.

C:\NodeJS packages\epicgames-freebies-claimer>npm audit fix --force npm WARN using --force Recommended protections disabled. npm WARN audit Updating pushbullet to 2.0.0,which is a SemVer major change.

added 16 packages, removed 7 packages, changed 2 packages, and audited 334 packages in 7s

43 packages are looking for funding run npm fund for details

found 0 vulnerabilities

C:\NodeJS packages\epicgames-freebies-claimer>npm start

epicgames-freebies-claimer@1.5.5 start node claimer.js

node:internal/modules/cjs/loader:936 throw err; ^

Error: Cannot find module 'C:\NodeJS packages\epicgames-freebies-claimer/data/device_auths.json' Require stack:

Node.js v17.0.0

Revadike commented 2 years ago

Please follow the instructions and generate device_auth.json and place it in the data folder.

fsLelush commented 2 years ago

Thanks, I'll try tomorrow. I added the old generated file, apparently it no longer fits. ⊙﹏⊙

fsLelush commented 2 years ago

Generated a new file and replaced. Did not help image image

jackblk commented 2 years ago

@fsLelush you need to put it in /data folder as we updated it from v1.5.4

fsLelush commented 2 years ago

@jackblk thank you. It's worked again :D