score:1
Accepted answer
it looks like there is a typo in the docs, as you can check your node_modules
folder and you should see babel-plugin-transform-redom-jsx
. so your .rc
should look like:
{
"plugins": [
"babel-plugin-transform-redom-jsx",
["@babel/plugin-transform-react-jsx", {
"pragma": "el"
}]
]
}
Source: stackoverflow.com
Related Query
- How to fix this error : " Module not found :can't resolve popper.js "
- How to fix Next.js Vercel deployment module not found error
- How to fix - Module not found: Can't resolve '@babel/runtime/helpers/objectWithoutPropertiesLoose'
- How to fix `TypeError: document.createRange is not a function` error while testing material ui popper with react-testing-library?
- cannot evaluate module 'react-native-maps' : Configuration with name 'default' not found
- How to fix TypeError is not a function (testing promises with Jest)
- How to fix `data-rbd-draggable-context-id` did not match. Server: "1" Client: "0"' with react-beautiful-dnd and next.js
- How to fix "TypeError: items.map is not a function" when working with React and APIs?
- How to resolve module not found error in webpack/reactjs app?
- How to Fix "export 'React' (imported as 'React') was not found in 'react'" Error in React js
- How to create React App including Web3 using create-react-app? I am getting Module not found Error. BREAKING CHANGE: webpack < 5 used
- How to fix "Objects are not valid as a React child (found: object with keys {})
- Import: module not found by compiler, works with Visual Code, DefinitelyTyped
- how to solve the error that fs module is not found when used react and next.js
- How to fix Module not found: Can't resolve '@heroicons/react/solid' in react app?
- how to use facebook jest to test .jsx file, module can not be found
- How to fix Do not mutate state directly. Use setState() with array?
- React-Hook Form with useFieldArray: TextField value does not show up in the console. How can I fix it?
- How do I fix a React TypeScript error with the return value of useHotkeys hook not matching the type of the div element ref prop
- React module not found - how to import modules in react
- How to fix issue with state not equal to current state
- How to fix "TypeError: Object(...) is not a function" when using a wrap function on React Component to authenticate user login with Browser Router
- How to fix "Response to preflight request doesn't pass access control check: It does not have HTTP ok status" error in react app with nodejs api
- Babel with .babelrc how to fix MODULE_NOT_FOUND?
- Babel-loaders module not found in npm start with react js
- Module not found with corresponding type declarations using Typescript with Next.js
- Module not found in npm own package with React
- while compiling my react project am facing the issue with module not found
- How to fix 'Objects are not valid as a React child (found: object with keys )'
- How to redirect route with id to not found if id doesn't exist in react router
More Query from same tag
- Jest: tests can't fail within setImmediate or process.nextTick callback
- while importing reacttable-6, I am getting this error "Attempted import error: 'ReactTable' is not exported from 'react-table-6'."
- React props being mutated before setState called (react-beautiful-dnd)
- Updating isLoading field on a redux store
- Do not execute second then() if condition is met in promise
- How can I get my input to render in a paragraph, using React?
- How to dynamically render JSX component X times?
- How do you set a event listener/handler if someone types in the address bar?
- Working of push in react while using redux to update the state
- react - declare global variable inside of a react component
- Applying span on a string in react returns [object Object] instead of giving me the spanned text
- ReactDom createPortal child components not working
- Not implemeted window errors in react-testing-library
- Components duplicate, triples, quadruple onClick React
- Bootstrap trigger Dropdown inside a div give an error
- CRA, Node.js, nginx in Docker?
- How to push data (currentTime and duration of a song) to redux state?
- Getting an error "TypeError: Cannot read property 'split' of undefined"
- Format output date using date-fns with ReactJs
- React TypeScript Change route programmatically with BrowserRouter
- Redirecting automatically to another site in javascript
- Is it possible to change a part of text styling of ChoiceGroupOption (office-ui-fabric)?
- How to pass a number as a prop to a styled component?
- How to import svg saved as js file in react
- how to render an element n number of times in react
- React Axios Service Class
- How to pass a state from a child to a parent in React?
- JSON strings not displaying in JSX
- ReactJS - Props & Components out of sync
- I tried to format my sportsPerson like first letter alone in caps