Cannot load application after upgrade from 0.1.1 -> 1.0.1
See original GitHub issueI receive the following error when loading up my React application when using 1.0.1:
Uncaught Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. Check the render method of
t.
I didn’t change any of my JSX, simply just upgraded the package. Any help on this would be greatly appreciated.
Thanks
Issue Analytics
- State:
- Created 8 years ago
- Comments:30 (10 by maintainers)
Top Results From Across the Web
My flutter app not able to start after upgrade flutter version ...
My flutter app not able to start after upgrade flutter version. Gradle build failed to produce an .apk file. It's likely that this...
Read more >Cannot update new version of application with installshield ...
When I build with app version 1.0.0.2, the installation cannot update application. If I change "Product Code" and create a new "Upgrade ......
Read more >javascript - npm start error with create-react-app - Stack Overflow
It just means something went wrong when dependencies were installed the first time. I suggest doing these three steps: npm install -g npm@latest ......
Read more >Updating Patched Sur to v1.0.1 on an Unsupported Big Sur Mac
Patched Sur has moved it's GitHub Repo. This video is a step-by-step tutorial on how to Update Patched Sur to v1.0.1 + Update...
Read more >Upgrading to a new version of Datacap - IBM
Upgrade database schemas, upgrade customized Datacap applications and screen panels. ... You cannot upgrade from a later version to an earlier version.
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
Here’s an alternative to @davinchia’s solution:
Received the same error. It was fixed when I used
import Dropdown, { DropdownTrigger, DropdownContent } from ‘react-simple-dropdown’;
instead of
var Dropdown = require(‘react-simple-dropdown’); var DropdownTrigger = Dropdown.DropdownTrigger; var DropdownContent = Dropdown.DropdownContent;
as on the README.
Not sure why…