We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Just call chessAPI.getGameByID(gameId).then((res) => console.log(res));
Get data
Error: TypeError: Chess is not a constructor https://prnt.sc/112ie25
The text was updated successfully, but these errors were encountered:
Our current test suite is passing so this is curious.
We recently added this endpoint along with chess.js as a needed dependency. Can you check that chess.js was installed to your node_modules?
chess.js
Sorry, something went wrong.
https://prnt.sc/1138w38 - package.json https://prnt.sc/1138wjk - node modules
No branches or pull requests
chess-web-api version: 1.1.0
Steps to reproduce
Just call chessAPI.getGameByID(gameId).then((res) => console.log(res));
Expected behavior
Get data
Actual behavior
Error: TypeError: Chess is not a constructor
https://prnt.sc/112ie25
The text was updated successfully, but these errors were encountered: