NoahCardoza / CloudProxy

Proxy server to bypass Cloudflare protection.
MIT License
525 stars 66 forks source link

Docker Build Fails #48

Closed thebetauser closed 3 years ago

thebetauser commented 3 years ago

Describe the bug

To Reproduce

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context src/captcha/anti-captcha.ts(3,53): error TS2339: Property 'userAgent' does not exist on type 'SolverOptions'. src/captcha/anti-captcha.ts(3,64): error TS2339: Property 'proxy' does not exist on type 'SolverOptions'. src/captcha/anti-captcha.ts(3,71): error TS2339: Property 'apiKey' does not exist on type 'SolverOptions'. npm notice npm notice New minor version of npm available! 7.0.8 -> 7.13.0 npm notice Changelog: https://github.com/npm/cli/releases/tag/v7.13.0 npm notice Run npm install -g npm@7.13.0 to update! npm notice npm ERR! code 2 npm ERR! path /home/node/cloudproxy npm ERR! command failed npm ERR! command sh -c tsc

npm ERR! A complete log of this run can be found in: npm ERR! /home/node/.npm/_logs/2021-05-14T16_13_36_622Z-debug.log The command '/bin/sh -c npm install && npm run build && rm -rf src tsconfig.json && npm prune --production' returned a non-zero code: 2

Unfortunately I'm not familiar with TS to recommend a fix.

NoahCardoza commented 3 years ago

Don't have much time at the moment but thankfully someone was able to find a solution #49