import { Chessground as ChessgroundApi } from 'chessground';
^^^^^^^^^^^
SyntaxError: The requested module 'chessground' does not provide an export named 'Chessground'
Running into this issue when trying to import @react-chess/chessground. I've checked through for some of the possible explanations for this (e.g. checking to see if chessground itself has an export (it does) and checking to see if chessground has type: module in the its package.json (it does)).
Any idea what might be causing this problem? Noob mistake?
Running into this issue when trying to import
@react-chess/chessground
. I've checked through for some of the possible explanations for this (e.g. checking to see ifchessground
itself has an export (it does) and checking to see ifchessground
hastype: module
in the its package.json (it does)).Any idea what might be causing this problem? Noob mistake?
Thanks!