Open S-G-Codes opened 2 years ago
Mine got solved but it wasn't from web pack it was just some typo.
Use the following to install material UI npm install '@mui/material' npm install '@emotion/react' npm install '@emotion/styled'
Then replace this import import { styled } from "@material-ui/core"
with this import styled from 'styled-components'
Hello im also facing this issue it's happening because of Webpack issue i have no idea how to fix this it gives this warnings after running yarn start (Use
node --trace-deprecation ...
to show where the warning was created) (node:5384) [DEP_WEBPACK_DEV_SERVER_ON_BEFORE_SETUP_MIDDLEWARE] DeprecationWarning: 'onBeforeSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.