Skip to content

Instantly share code, notes, and snippets.

@l4u
Created June 15, 2015 01:37
Show Gist options
  • Save l4u/a3dde88356cffe5a3786 to your computer and use it in GitHub Desktop.
Save l4u/a3dde88356cffe5a3786 to your computer and use it in GitHub Desktop.
Warning: owner-based and parent-based contexts differ (values: `undefined` vs `[object Object]`) for key (muiTheme) while mounting Paper (see: http://fb.me/react-context-by-parent)
es6.promise.js:131 Unhandled promise rejection TypeError: Cannot read property 'component' of undefined
at getStyles (webpack:///./~/material-ui/lib/paper.js?:37:47)
at render (webpack:///./~/material-ui/lib/paper.js?:58:23)
at ReactCompositeComponentMixin._renderValidatedComponentWithoutOwnerOrContext (webpack:///./~/react/lib/ReactCompositeComponent.js?:789:34)
at ReactCompositeComponentMixin._renderValidatedComponent (webpack:///./~/react/lib/ReactCompositeComponent.js?:816:14)
at ReactPerf.measure.wrapper (webpack:///./~/react/lib/ReactPerf.js?:70:21)
at ReactCompositeComponentMixin.mountComponent (webpack:///./~/react/lib/ReactCompositeComponent.js?:237:30)
at ReactPerf.measure.wrapper [as mountComponent] (webpack:///./~/react/lib/ReactPerf.js?:70:21)
at Object.ReactReconciler.mountComponent (webpack:///./~/react/lib/ReactReconciler.js?:38:35)
at ReactDOMComponent.ReactMultiChild.Mixin.mountChildren (webpack:///./~/react/lib/ReactMultiChild.js?:192:44)
at ReactDOMComponent.Mixin._createContentMarkup (webpack:///./~/react/lib/ReactDOMComponent.js?:289:32)
@l4u
Copy link
Author

l4u commented Jun 15, 2015

Remove the extra react modules inside node_modules/material-ui/node_modules

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment