GithubHelp home page GithubHelp logo

chess.com's People

Contributors

mccallw23 avatar scaljeri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

chess.com's Issues

error TS2304: Cannot find name 'WrapWithPromise'

After I configure the ./packages/bot/src/frontend/environment.ts by comment out the two lines below //Pure browser engine and uncomment the single line below //Pure backend engine and then run the command: lerna run build, I got the following errors:

Task skipped, content unchanged (src/backend/main-di.ts)
Running: tsc -p tsconfig-backend.json
../../node_modules/webdriverio/webdriverio.d.ts(18,34): error TS2304: Cannot find name 'WrapWithPromise'.

../../node_modules/webdriverio/webdriverio.d.ts(29,34): error TS2304: Cannot find name 'WrapWithPromise'.

$ cp ./src/backend/worker-import.js ./dist/
Done in 14.70s.
lerna success run Ran npm script 'build' in 3 packages in 18.5s:
lerna success - @scaljeri/chess-com-bot
lerna success - @scaljeri/chess-engine
lerna success - @scaljeri/chess-shared

It looks like the build is declared success even with those errors in the middle. However, I could not run it. The command: lerna run start give some errors but not sure if they are related to the earlier errors in the build command:

juntang@Juns-Mac chess.com-master % lerna run start
info cli using local version of lerna
lerna notice cli v3.13.4
lerna info versioning independent
lerna info Executing command in 3 packages: "yarn run start"
lerna ERR! yarn run start exited 1 in 'statistics'
lerna ERR! yarn run start stdout:
yarn run v1.22.15
$ rm -r ./dist && tsc && cp ./src/index.html ./dist && browserify ./dist/www/main.js -o ./dist/www/main.js && ts-node ./src/server.ts
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

lerna ERR! yarn run start stderr:
rm: ./dist: No such file or directory
error Command failed with exit code 1.

lerna ERR! yarn run start exited 1 in 'statistics'
lerna WARN complete Waiting for 2 child processes to exit. CTRL-C to exit immediately.

Build fails on windows

Hi,

On windows I get

`lerna run build
info cli using local version of lerna
lerna notice cli v3.13.4
lerna info versioning independent
lerna info Executing command in 3 packages: "yarn run build"
lerna ERR! yarn run build exited 1 in '@scaljeri/chess-shared'
lerna ERR! yarn run build stdout:
yarn run v1.22.5
$ rm -rf ./dist && tsc
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

lerna ERR! yarn run build stderr:
'rm' n'est pas reconnu en tant que commande interne
ou externe, un programme ex�cutable ou un fichier de commandes.
error Command failed with exit code 1.

lerna ERR! yarn run build exited 1 in '@scaljeri/chess-shared'`

when building the project. The rm command is not recognized. What could I do to fix this?

Chrome closing instantly

The bot starts fine, open Chrome and start a match, but 10 seconds later it closes automatically.Im using macOS Big Sur.

lerna: command not found

Hey,

So I ran through the steps you included on how to run this...
Here's what I ran into:
$ lerna run start
bash: lerna: command not found

I installed git and yarn, made sure they were installed and up to date.. Just doesn't show up with the command "lerna"

Vulnerability report

We are a group of researchers from Leiden University, and we conduct research on vulnerabilities in open-source software. We have discovered and verified a high-severity vulnerability in your project(scaljeri/chess.com). Explaining the vulnerability further in this issue could allow malicious users to access details, so we recommend enabling private vulnerability reporting on GitHub to discuss this matter confidentially.
After you have enabled this feature, please add a comment to this issue so we can continue our discussion. If you have any questions, feel free to leave a reply here or send an email to: j.akhoundali [at] liacs.leidenuniv.nl

Can't download

Hey, I want to test your bot but I'm not able to understand how to install it. Could you simplify the process for me please? I'm not much familiar with using version control. I don't understand yarn and other commands.

Basically, I have downloaded the .zip file. Now what?
(Or now I have downloaded Github Desktop and Cloned it there. Now what?)

I'm on Windows 10 64-bit.

lerna run build failed

lerna notice cli v4.0.0
lerna info versioning independent
lerna info Executing command in 3 packages: "yarn run build"
lerna info run Ran npm script 'build' in '@scaljeri/chess-shared' in 4.5s:
yarn run v1.22.4
$ rm -rf ./dist && tsc
Done in 4.21s.
lerna ERR! yarn run build exited 1 in '@scaljeri/chess-com-bot'
lerna ERR! yarn run build stdout:
yarn run v1.22.4
$ rm -rf ./dist && yarn build:frontend && yarn build:backend && yarn copy-api-worker
$ di -d -c tsc -b ./src -i shared frontend/main.ts -- -p tsconfig-frontend.json && yarn build:browserify
Glob file search: src***.ts
Adding src/shared/environments/komodo.ts
Adding src/shared/game-play.ts
Adding src/shared/turn-observer.ts
Task skipped, content unchanged (src\frontend\main-di.ts)
Running: tsc -p tsconfig-frontend.json
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
lerna ERR! yarn run build stderr:
events.js:187
throw er; // Unhandled 'error' event
^

Error: spawn tsc ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)
at onErrorNT (internal/child_process.js:456:16)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
Emitted 'error' event on ChildProcess instance at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:270:12)
at onErrorNT (internal/child_process.js:456:16)
at processTicksAndRejections (internal/process/task_queues.js:80:21) {
errno: 'ENOENT',
code: 'ENOENT',
syscall: 'spawn tsc',
path: 'tsc',
spawnargs: [ '-p', 'tsconfig-frontend.json' ]
}
error Command failed with exit code 1.
error Command failed with exit code 1.
lerna ERR! yarn run build exited 1 in '@scaljeri/chess-com-bot'
lerna WARN complete Waiting for 1 child process to exit. CTRL-C to exit immediately.

Login not working

There are absolutely no errors, but it is not logging in with the provided credentials

Also is there a way to use this bot againsed players

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.