Revadike / epicgames-freebies-claimer

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

npm install error #90

Closed limoruirui closed 3 years ago

limoruirui commented 3 years ago

system:debian 10 I have installed git, downloaded and decompressed the source code, installed node.js using apt, run npm install error, prompting that the npm command does not exist. I installed it using apt install npm and it was successful. npm start email passwora 2fa, prompts that the npm version may be incompatible, epicgame-client is not found, and the script fails to run. run install npm

Revadike commented 3 years ago

It says node_modules is missing, so you don't seem to have installed the dependencies correctly.

limoruirui commented 3 years ago

I installed node.js by another method and followed the steps. It prompted that the browser could not be run. I installed chrome-current, and then prompted that I could not open X-diplay. I solved it through online teaching, and the following appeared again. Should it be a login timeout? I want to ask if this project needs to have a GUI interface to display 2fa. I am trying to run it on an Ubuntu system without a GUI interface.Thanks. 2021-03-17 | 10:18:53.609 | WARN | Invalid captcha! 2021-03-17 | 10:18:53.612 | WARN | Failed to login as EMAIL, please attempt manually. 2021-03-17 | 10:19:33.845 | ERROR | TimeoutError: waiting for selector "#login:not(:disabled)" failed: timeout 30000ms exceeded at new WaitTask (/home/ubuntu/epicgames-freebies-claimer-master/node_modules/puppeteer/lib/DOMWorld.js:549:28) at DOMWorld._waitForSelectorOrXPath (/home/ubuntu/epicgames-freebies-claimer-master/node_modules/puppeteer/lib/DOMWorld.js:478:22) at DOMWorld.waitForSelector (/home/ubuntu/epicgames-freebies-claimer-master/node_modules/puppeteer/lib/DOMWorld.js:432:17) at Frame.waitForSelector (/home/ubuntu/epicgames-freebies-claimer-master/node_modules/puppeteer/lib/FrameManager.js:627:47) at Frame. (/home/ubuntu/epicgames-freebies-claimer-master/node_modules/puppeteer/lib/helper.js:112:23) at Page.waitForSelector (/home/ubuntu/epicgames-freebies-claimer-master/node_modules/puppeteer/lib/Page.js:1122:29) at Function.authenticate (/home/ubuntu/epicgames-freebies-claimer-master/node_modules/epicgames-client-login-adapter/index.js:119:38) at processTicksAndRejections (node:internal/process/task_queues:94:5) at async Function.init (/home/ubuntu/epicgames-freebies-claimer-master/node_modules/epicgames-client-login-adapter/index.js:204:7) at async /home/ubuntu/epicgames-freebies-claimer-master/claimer.js:110:28

Revadike commented 3 years ago

Sorry, it does need a GUI for manual 2fa solving.