Skip to content

V7: TypeError: (0 , react_hook_form__WEBPACK_IMPORTED_MODULE_0__.set) is not a function #4652

Answered by jorisre
stephent asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @stephent

Have you tried to remove your node_modules and re-install your project ? It seems you're using RHF 6 (the set function is not exported in the v6 while version 7 exports it)

The code looks good, can you share a codesandbox or repository with your problem please ?

Replies: 10 comments 13 replies

Comment options

You must be logged in to vote
4 replies
@stephent
Comment options

@domhede
Comment options

@stephent
Comment options

@shabbirumrali
Comment options

Answer selected by jorisre
Comment options

You must be logged in to vote
2 replies
@vitgrocha
Comment options

@vitgrocha
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@studiodamiro
Comment options

@studiodamiro
Comment options

Comment options

You must be logged in to vote
2 replies
@zenismaharjan
Comment options

@dennisbart
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@craigmcc
Comment options

@AWAhmad
Comment options

@AWAhmad
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet