2023-01-13 Kozaneba now gives the following runtime error in the browser, even though it was built and deployed without error

  • Uncaught TypeError: use_force_update_1.default is not a function

cause - I re-created the environment for the first time in half a year by Create a development environment for Kozaneba.

Resolution (for Yarn1)

  • Downgraded use-force-update package.json
{
  "resolutions": {
    "use-force-update": "1.0.8"
  }
}
  • There are other solutions on Github.

ReactN use-force-update

This page is auto-translated from [/nishio/解決: Uncaught TypeError: use_force_update_1.default is not a function](https://scrapbox.io/nishio/解決: Uncaught TypeError: use_force_update_1.default is not a function) using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. I’m very happy to spread my thought to non-Japanese readers.