Terkwood / BUGOUT

AI-driven, Multiplayer Go/Weiqi/Baduk for the web 🐛🤖🦀♟
https://go.terkwood.farm
MIT License
76 stars 8 forks source link

browser run watch & build report no loaders error #560

Closed jenqz closed 2 years ago

jenqz commented 2 years ago
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 2 years ago

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 2 years ago

Thank you for reply!This problem has been fixed by fixing the js library version.

Terkwood commented 2 years ago

Good! Thanks for fiddling with it 😁