fabian-hiller / valibot

The modular and type safe schema library for validating structural data 🤖
https://valibot.dev
MIT License
5.67k stars 170 forks source link

Build error #594

Closed chertik77 closed 1 month ago

chertik77 commented 1 month ago

hey, i updated to the new version and after push i got a build error -

SyntaxError: [commonjs--resolver] Invalid flags supplied to RegExp constructor 'v' in /vercel/path0/node_modules/valibot/dist/index.js

fabian-hiller commented 1 month ago

I know what the problem is. What build system and JavaScript runtime (name and version) are you using?

chertik77 commented 1 month ago

I use Vercel and Chrome browser

fabian-hiller commented 1 month ago

Please try to switch to Node.js v20

fabian-hiller commented 1 month ago

You can stick to your current runtime. This is fixed in v0.31.0-rc.4.