This repository was archived by the owner on Dec 19, 2023. It is now read-only.

Description
When trying to run underreact start on one of my projects, the build step failed with the following error:
[17:48:47 underreact] Starting underreact in development mode. Wait ...
[17:48:47 underreact] Using an external Babel config babel.config.js
ℹ 「wds」: Project is running at http://0.0.0.0:8080/
ℹ 「wds」: webpack output is served from /admin
ℹ 「wds」: Content not from webpack is served from /opt/app
ℹ 「wds」: 404s will fallback to /admin
Browserslist: caniuse-lite is outdated. Please run next command `npm update caniuse-lite browserslist`
[17:48:48 underreact] ERROR: Compilation error.
./node_modules/@mapbox/underreact/polyfill/index.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
BrowserslistError: [BABEL] /opt/app/node_modules/@mapbox/underreact/polyfill/index.js: Unknown version 79 of chrome (While processing: "base$0$0")
at Array.reduce (<anonymous>)
at Array.reduce (<anonymous>)
As recommended in the error message, I ran npm update caniuse-lite browserslist, but no updates were installed.
I then ran npm install browserslist@latest caniuse-lite@latest, and afterwards running underreact start successfully built and started my project.