An error occurred when using the third-party library async-validator
in Nextjs
#55933
Closed
1 task done
async-validator
in Nextjs
#55933
Verify canary release
Provide environment information
Which example does this report relate to?
with-turbo
What browser are you using? (if relevant)
Chrome 117.0.5938.92
How are you deploying your application? (if relevant)
vercel
Describe the Bug
I created a project using the turbo example
design-system
, in the ui module. I introduced the third-party libraryasync-validator
, but I got an error when using it.Expected Behavior
I hope
async-validator
can be used normally in nextJsTo Reproduce
I tried many ways, but in the end I found that after adding the following configuration to package.json under the ui module, this error will appear. If I delete it, everything will be normal.
Currently, this problem is only found in nextjs, but not in vite.
repo: https://github.com/shaxutang/next-asynv-validator-bug
The text was updated successfully, but these errors were encountered: