This template creates a responsive React App with built-in navigation using React 17.0.2 and react-router-dom 6.1.1.
There are some issues with some of the node pmodules requiring vulnerable versions of certain modules and you may encounter a similar error as this:
Compiled with problems:
ERROR in ./node_modules/history/index.js
and a stack trace through multiple files ending up with webpack compiling with an error. Right now the workaround is to run npm audit fix --force to install the breaking changes and vulnerable modules.
requires create-react-app v5.0.0 to force your system to use create-react-app v5 append '@5.0.0' to the create-react-app
yarn create react-app <app-name> --template duke
force v5:
yarn create [email protected] <app-name> --template duke
npm init react-app <app-name> --template duke
force v5:
npm init [email protected] <app-name> --template duke
npx create-react-app <app-name> --template duke
force v5:
npx [email protected] <app-name> --template duke
Global installation no longer supported.
"@emotion/react": "^11.7.1", "@emotion/styled": "^11.6.0", "@mui/icons-material": "^5.0.5", "@mui/material": "^5.2.4", "dotenv": "^10.0.0", "prop-types": "^15.7.2", "react": "^17.0.2", "react-dom": "^17.0.2", "react-is": "^17.0.2", "react-quill": "^1.3.5", "react-router-dom": "^6.1.1", "react-scripts": "^5.0.0", "sass": "^1.45.0", "styled-components": "^5.3.3"