edgedb-ui
edgedb-ui copied to clipboard
Error while building EdgeDB UI web app
I got an error while running the EdgeDB build instructions. I reduced it to the following sequence of commands:
-
git clone https://github.com/edgedb/edgedb-ui.git
-
cd edgedb-ui/web
-
yarn
-
yarn build
The last command fails with:
Creating an optimized production build...
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
Failed to compile.
Error: error:0308010C:digital envelope routines::unsupported
at Generator.next (<anonymous>)
at new Promise (<anonymous>)
Updating caniuse-lite (by running npx browserslist@latest --update-db
in the parent directory) make the Browserslist warning go away, but didn’t solve the issue.
I’m running node 16.18.0 and yarn 3.2.0.
Hey @manueljacob did you manage to fix this issue? I've tried to build with different node versions (with 16.18.0 too) and it worked in every case.
There are many solutions online provided by other people suggesting that the problem was that some node versions used OpenSSL version that had breaking changes (but they said this happened for node versions greater than 17).
I believe this problem should be fixed by now.