Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't import io-ts resolvers since 2.9.7 #703

Open
FlorianBurgevin opened this issue Jul 15, 2024 · 1 comment
Open

Can't import io-ts resolvers since 2.9.7 #703

FlorianBurgevin opened this issue Jul 15, 2024 · 1 comment

Comments

@FlorianBurgevin
Copy link

Describe the bug
Hello.

I am not able to import the library since version 2.9.6
I got the following error

Error: Directory import '/Users/xxx/node_modules/fp-ts/Either' is not supported resolving ES modules imported from /Users/xxx/node_modules/@hookform/resolvers/io-ts/dist/io-ts.mjs
Did you mean to import fp-ts/lib/Either.js?

I have the same problem in my tests for example or when i build a library with your lib. If i don't fix the version to 2.9.6 it is broken.

Is it something known ?
Thanks

@FlorianBurgevin
Copy link
Author

UP ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant