When one of the engine lines is to place a knight on a square, it shows a king instead of a knight. For example, plug in the FEN
rnb1kb1r/pppp1ppp/8/4q3/3N4/5P1P/PPPPPKP1/R1BQ1B1R[NPn] b kq - 0 8
and turn on the engine.
I believe the issue will be fixed when chessgroundx is upgraded to the latest version. However, whenever I try to upgrade it, I always get the error Uncaught Error [ERR_REQUIRE_ESM]: Must use import to load ES and I can't seem to figure out how to fix that. Figuring out how to import the different types of Javascript modules has been driving me a little bit crazy.
When one of the engine lines is to place a knight on a square, it shows a king instead of a knight. For example, plug in the FEN
rnb1kb1r/pppp1ppp/8/4q3/3N4/5P1P/PPPPPKP1/R1BQ1B1R[NPn] b kq - 0 8and turn on the engine.
I believe the issue will be fixed when chessgroundx is upgraded to the latest version. However, whenever I try to upgrade it, I always get the error
Uncaught Error [ERR_REQUIRE_ESM]: Must use import to load ESand I can't seem to figure out how to fix that. Figuring out how to import the different types of Javascript modules has been driving me a little bit crazy.