Uncaught Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
I'm using wp-env start to kick up a docker server. Uncertain if it's related.
How to recreate:
- Set up this project using
"@wordpress/dataviews": "^4.4.0"
npm i to install that newer version
- Visit that option page
http://localhost:8888/wp-admin/upload.php?page=add-media-from-third-party-service
- Click on the 3 dots under Actions.
- The app crashes and the error appears in devtools console.
The current project is using @wordpress/dataviews 4.2.0, and that version works.
I'm using
wp-env startto kick up a docker server. Uncertain if it's related.How to recreate:
"@wordpress/dataviews": "^4.4.0"npm ito install that newer versionhttp://localhost:8888/wp-admin/upload.php?page=add-media-from-third-party-serviceThe current project is using @wordpress/dataviews 4.2.0, and that version works.