browser run watch & build report no loaders error
jenqz opened this issue · 3 comments
jenqz commented
npm run watch
then found below error
ERROR in ./node_modules/@sabaki/shudan/src/Goban.js 49:41
Module parse failed: Unexpected token (49:41)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| clearAnimatedVerticesHandler: null,
| });
> }, this.props.animationDuration ?? 200),
| });
| }
@ ./node_modules/@sabaki/shudan/src/main.js 1:0-31 4:0-31
@ ./src/components/Goban.js
@ ./src/components/MainView.js
@ ./src/components/App.js
I don't know which loader is missed
Terkwood commented
This is a new one to me. It's been a long time since I've been able to maintain this code base, due to being busy with a lot of other things. Something has probably gone out of date since I last touched it
jenqz commented
Thank you for reply!This problem has been fixed by fixing the js library version.
Terkwood commented
Good! Thanks for fiddling with it 😁