Uncaught TypeError: Object(...) is not a function - @emotion
See original GitHub issueDescribe the bug
When updating @storybook/react to 4.0.7, we are receiving the following error:

To Reproduce Steps to reproduce the behavior:
- Go to https://github.com/IBM/carbon-charts
- Update
@storybook/reactversion inpackages/react/package.jsonto4.0.7 - Run
npm installon the root folder of the repo - Run
npm run storybookinpackages/react
Issue Analytics
- State:
- Created 5 years ago
- Reactions:18
- Comments:45 (11 by maintainers)
Top Results From Across the Web
Emotion - imported into project and getting errors TypeError ...
Similar to Runtime error 'Object(...) is not a function' when consuming component package leveraging emotion/react.
Read more >Uncaught TypeError: Object(...) is not a function - @emotion
1. Go to https://github.com/IBM/carbon-charts · 2. Update @storybook/react version in packages/react/package.json to 4.0.7 · 3. Run npm install on ...
Read more >uncaught typeerror: (0 , react__ ...
When trying to edit a record I get the Error "navigator.block is not a function". Steps to reproduce: 1- User the Form Component...
Read more >@emotion/cache - npm
@emotion/cache. TypeScript icon, indicating that this package has built-in type declarations · Keywords.
Read more >Understanding the "Objects are not valid as a react child" Error ...
Although the error doesn't make it very clear what mistake was made, it states a clear rule: You can't use JavaScript Objects as...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I’m seeing this issue.
Using react 16.6.3, @storybook/react 4.0.9 and @emotion/core 10.0.0
cheers
Support for Emotion 10 is part of Storybook 5.0, which hasn’t reached alpha yet. I’ll post here when it’s ready to try out – ETA next week.