facebook / create-react-app

Set up a modern web app by running one command.
https://create-react-app.dev
MIT License
102.79k stars 26.87k forks source link

Heroku Error: R14 (Memory quota exceeded) - Create React App #13601

Open andrewaclark248 opened 5 months ago

andrewaclark248 commented 5 months ago

I have a created a app with create-react-app, however when I deploy the app on Heroku I keep getting memory leaks. For reference am using the below. Link to my app is below. Any idea what is going on?

https://github.com/andrewaclark248/SafeTexting

client/package.json

  "scripts": {
    "start": "react-dotenv && react-scripts start",
    "build": "react-dotenv && react-scripts build",
    "test": "react-scripts test",
    "eject": "react-scripts eject",
    "deploy": "npx serve -s build"
  },

package.json

  "scripts": {
    "start": "cd client && npm run start",
    "install": "cd client && npm i",
    "build": "cd client && npm run build",
    "install:build": "npm run install && npm run build",
    "deploy": "npm run install:build && cd client && npm run deploy"
  },

Procfile web: npm run deploy