I'm trying to deploy a mini-app styled using Tailwind. It's my first time and I've spent the last two days trying to figure it out. This is the closest I got it to deploying per the error log below. When I test it on my local machine, I'm using commands "npm run build-css" and "live-server public". Using these commands it runs on my local machine just fine but when it comes to deploying to Heroku, I'm getting an error. Per my error log, the status goes from "State changed from starting to crashed" and leaves a code H=10 error. I tried several fixes online via googling what others have done with this type of error but I have had no luck. Any help is much appreciated. Thank you.
In the package.json, this is my script.
"scripts": {
"start": "npm run build:css",
"build:css": "tailwindcss build src/styles.css -o public/styles.css"
}
├── README.md
├── node_modules
├── package-lock.json
├── package.json
├── public
│ ├── index.html
│ ├── index.js
│ └── styles.css
└── src
└── styles.css
error log: