That problem is related with large files in your project.
I’m using create-react-app, and I got that error, after doing some search, it seems one solution is this.
Put in .env file:
GENERATE_SOURCEMAP=false
More Related Contents:
- React-router with BrowserRouter / browserHistory doesn’t work on refresh
- Error message “error:0308010C:digital envelope routines::unsupported”
- How to make the webpack dev server run on port 80 and on 0.0.0.0 to make it publicly accessible?
- Webpack how to build production code and how to use it
- Why are cookies not sent to the server via getServerSideProps in Next.js?
- ‘npm start’ returns error: “There might be a problem with the project dependency tree”
- How to Polyfill node core modules in webpack 5
- Node cannot find module “fs” when using webpack
- npm ERR! code UNABLE_TO_GET_ISSUER_CERT_LOCALLY
- Next.js: How to get static assets from within getStaticProps
- How to build a production version of React without minification?
- How to send email from my react web application
- Webpack for back-end?
- Next.js: document is not defined
- Jest gives `Cannot find module` when importing components with absolute paths
- Gatsby Failed Build – error “window” is not available during server side rendering
- React app error: Failed to construct ‘WebSocket’: An insecure WebSocket connection may not be initiated from a page loaded over HTTPS
- Material-UI Rendering Bugs in production / build
- Module build failed (from ./node_modules/babel-loader/lib/index.js): Error: Cannot find module ‘babel-preset-react’
- Can’t resolve ‘fs’ using webpack and react
- Get version number from package.json in React Redux (create-react-app)
- Webpack 4 “size exceeds the recommended limit (244 KiB)”
- How to organise file structure of backend and frontend in MERN
- React + Material-UI – Warning: Prop className did not match
- Access to XMLHttpRequest at ‘…’ from origin ‘localhost:3000’ has been blocked by CORS policy
- One project with multiple package.json files
- How to resolve fs.existsSync is not a function
- How to get SCSS variables into react
- Invalid options object. Dev Server has been initialized using an options object that does not match the API schema
- How to deploy reactapp with heroku-22?