An error is reported when using react app rewired to start the react project
The error contents are as follows:
The “injectbabelplugin” helper has been deprecated as of v2.0
The new version of react app rewired removes the injectbabelplugin, and these methods are moved to a new package called ‘Customize CRA’
Solution:
reduce react app rewired to version 2.0
npm uninstall react-app-rewired
Delete the original react app rewired with the above statement
npm i [email protected]
Then reinstall the lower version of react app rewired
Read More:
- When react devtools is enabled, an error is reported for the project
- Failed to load plugin react: cannot find module ‘eslint plugin react’ appears when running Vue project‘
- webstorm npm install –save –save-exact –loglevel error react react-dom react-scripts has failed.
- Error code 1 error resolution (NPX create react app my app execution reports an error)
- react Error: Unable to resolve module mobx-react
- [W xx:xx:xx.xxx NotebookApp] 404 GET/static/components/react/react-dom.production.min.js (::1)
- Start react-native after updating Xcode11 and report an error: Unknown argument type ‘_attribute_’ in method -[RCTAppState getCurren
- Error: connect econnreused 0.0.0.0:443 is reported when executing the trunk unbox react
- react Error: Objects are not valid as a React child (found: object with keys {username, password})
- Mobile app development: installation and configuration of react native
- 【react】 tsconfig.json Configuration of react JSX error reporting solution in
- React Error: Minified React error #119
- To solve the problem of NPM run eject error in react
- React bootstrap loading and how to use modules
- ./src/App.js Line 13:11: Parsing error: Unterminated JSX contents (react)
- The echo introduced in react reports an error: xaxis “0” not found
- When using idea to start a project, an error is reported: Error:java : Compilation failed: internal java compiler error
- Error reported in react events.js:160 throw er; // Unhandled’error’ event
- React create project error
- An error is reported when an android phone visits the app webpage: net::ERR_PROXY_CONNECTION_FAILED