Version react0.142
Error in environment Chrome browser:
Uncaught error: invariant vibration:_ registerComponent(…): Target container is not a DOM element.
Solution:
The “reason” error is that the browser’s DOM cannot be found when creating reactdom. Render()
“Solve” will & lt; script> Put the reference below to solve the problem
Similar Posts:
- Uncaught Error: _registerComponent(…): Target container is not a DOM element
- How to console.log in React application using JSX ?
- React Run Error: Uncaught TypeError: Cannot read property ‘forEach‘ of undefined
- Uncaught type error: create-react-app and electronfs.existsSync is not a function
- Qiankun Error: Target container with #container not existed while xxx mounting!
- [Solved] React Project Start Error: Uncaught TypeError: Cannot read property ‘forEach‘ of undefined
- Uncaught SyntaxError: The requested module ‘/node_modules/.vite/react-router……Switch
- ERROR in ./~/[email protected]@element-ui/lib/element-ui.common.js Module not found: Error: Can’t re
- [Vue warn]:Error in render: “TypeError: Cannot read property ‘0’ of undefined”