-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
calling setProps causes "this.updater.enqueueCallback is not a function" #1199
Comments
FYI, by investigating this further I noticed that As a test, I manually deleted that React folder and the issue goes away. I tried to analyze the |
super weird. This problem seems to be with Yarn and the way they are handling peerDependencies. If I use |
If you file an issue on yarn, please link it here for posterity - thanks! |
Upgrading from yarn |
I had the same issue while upgrading an app from react 15 to 16. I had to manually override the transitive dependency in "resolutions": {
"enzyme-adapter-utils/react": "~16"
}, Hopefully this will help others :) |
@javierfernandes that doesn't sound like the right solution. You might not have the right dependency versions set up; overriding dependencies should never be required. |
Enzyme version: 3.0.0
React version: 16.0.0
Test
Error
Any ideas what could be causing this?
The text was updated successfully, but these errors were encountered: