Closed mythral closed 2 years ago
Seeing the same error using Webpack with Storybook
Presumably fixed via #215.
Presumably fixed via #215.
Yep, this fixes it thanks. @niklasf Would it be possible to get a v8.1.8
version bump for this? It would be ideal to not have to reference this specific/commit or master.
Published. Thanks for patch!
Hi @niklasf !
This issue should have been fixed by #215 however one file was omitted.
error - Error [ERR_MODULE_NOT_FOUND]:
Cannot find module './chesspecker/node_modules/chessground/util'
imported from ./chesspecker/node_modules/chessground/autoPieces.js
8.2.0
Would it be possible to get a new bump in order to allow webpack 5 to compile correctly? Thanks!
@niklasf Do you have an ETA for this?
Sorry, forgot about this. Published v8.2.1.
Hey there,
I've started a new project using the new create-react-app 5, which updates create-react-app to use webpack 5. This appears to cause some issues when trying to build a project using chessground.
The full error is replicated below.
It looks like they made a breaking change that requires imports to explicitly specify the file extension. I'm not exactly sure how the build chain works here, but I'll look into it in the next few days and probably submit a pull request if I can isolate the issue.