I tried to switch to version 7.12.0, but got errors which I don't understand.
ERROR in ./node_modules/chessground/chessground.js 1:0-30
Module not found: Error: Can't resolve './api' in '/home/mliebelt/priv/dev/chess/PgnViewerJS/modules/pgn-viewer/node_modules/chessground'
Did you mean 'api.js'?
BREAKING CHANGE: The request './api' failed to resolve only because it was resolved as fully specified
(probably because the origin is a '*.mjs' file or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
I have to fix the current version of Chessground to 7.11.1, to avoid build errors.
The PGN viewer is currently using version 7.11.1
I tried to switch to version 7.12.0, but got errors which I don't understand.
I have to fix the current version of Chessground to 7.11.1, to avoid build errors.