Unable to build project from stackblitz

I need advice to debug deploy https://app.netlify.com/sites/cranky-thompson-bfcc8e/deploys/5edd046e3846e00cf5a230fa

hi there, we were unable to complete building your site as there is some kind of configuration error, most likely:

8:15:49 AM: $ npm run build
8:15:49 AM: > react@0.0.0 build /opt/build/repo
8:15:49 AM: > react-scripts build
8:15:50 AM: Could not find a required file.
8:15:50 AM:   Name: index.html
8:15:50 AM:   Searched in: /opt/build/repo/public
8:15:50 AM: npm
8:15:50 AM: ERR!
8:15:50 AM: code
8:15:50 AM:  ELIFECYCLE
8:15:50 AM: npm
8:15:50 AM:  ERR! errno
8:15:50 AM:  1
8:15:50 AM: npm
8:15:50 AM:  ERR!
8:15:50 AM:  react@0.0.0 build: `react-scripts build`
8:15:50 AM: npm
8:15:50 AM:  ERR!
8:15:50 AM:  Exit status 1
8:15:50 AM: npm
8:15:50 AM:  ERR!
8:15:50 AM: npm
8:15:50 AM: ERR!
8:15:50 AM:  Failed at the react@0.0.0 build script.
8:15:50 AM: npm
8:15:50 AM: ERR!
8:15:50 AM:  This is probably not a problem with npm. There is likely additional logging output above.
8:15:50 AM: npm
8:15:50 AM: ERR!
8:15:50 AM:  A complete log of this run can be found in:
8:15:50 AM: npm
8:15:50 AM: ERR!
8:15:50 AM:      /opt/buildhome/.npm/_logs/2020-06-07T15_15_50_845Z-debug.log
8:15:50 AM: ​
8:15:50 AM: ┌─────────────────────────────┐
8:15:50 AM: │   "build.command" failed    │
8:15:50 AM: └─────────────────────────────┘
8:15:50 AM: ​
8:15:50 AM:   Error message
8:15:50 AM:   Command failed with exit code 1: npm run build
8:15:50 AM: ​
8:15:50 AM:   Error location
8:15:50 AM:   In Build command from settings:
8:15:50 AM:   npm run build
8:15:50 AM: ​
8:15:50 AM:   Resolved config
8:15:50 AM:   build:
8:15:50 AM:     command: npm run build
8:15:50 AM:     publish: /opt/build/repo/build

This Support Guide contains a ton of useful debugging tips that can likely help you solve your problem :slight_smile:

If you are still having problems, please provide as much information as you can on what you have already tried, what your build settings are, your package.json, etc. Thanks!