Command failed with exit code 1: CI='' npm run build

I need some help. I am getting this error and i think is related to the build settings but i don’t know how to fixe it:
1:26:53 PM: 1. Build command from Netlify app
1:26:53 PM: ────────────────────────────────────────────────────────────────
1:26:53 PM: ​
1:26:53 PM: $ CI=‘’ npm run build
1:26:53 PM: > book-search@0.1.0 build
1:26:53 PM: > react-scripts build
1:26:54 PM: Creating an optimized production build…
1:26:55 PM: Failed to compile.
1:26:55 PM:
1:26:55 PM: Module not found: Error: Can’t resolve ‘./App’ in ‘/opt/build/repo/src’
1:26:55 PM: ​
1:26:55 PM: ────────────────────────────────────────────────────────────────
1:26:55 PM: “build.command” failed
1:26:55 PM: ────────────────────────────────────────────────────────────────
1:26:55 PM: ​
1:26:55 PM: Error message
1:26:55 PM: Command failed with exit code 1: CI=‘’ npm run build (Search results for '"non-zero exit code: 1"' - Netlify Support Forums)
1:26:55 PM: ​
1:26:55 PM: Error location
1:26:55 PM: In Build command from Netlify app:
1:26:55 PM: CI=‘’ npm run build
1:26:55 PM: ​
1:26:55 PM: Resolved config
1:26:55 PM: build:
1:26:55 PM: command: CI=‘’ npm run build
1:26:55 PM: commandOrigin: ui
1:26:55 PM: environment:
1:26:55 PM: publish: /opt/build/repo/build
1:26:55 PM: publishOrigin: ui

There is my package.json:

It’s my first time using netlify and i know what is wrong

Hiya, sorry you are having trouble with your build. Have you tried reading any related posts in the Forums related to exit code one? There is a link to them shared in your deploy log.

This Support Guide contains a ton of useful debugging tips that can likely help you solve your problem :slight_smile: Additionally, this Support Guide houses all of our resources for debugging build and deploy issues.

We also recommend trying to search the forums with the build error you encountered - it’s likely your question was already asked by someone else!

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