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: - NETLIFY_GRAPH_TOKEN
1:26:55 PM: - ONEGRAPH_AUTHLIFY_TOKEN
1:26:55 PM: - REACT_APP_BOOK_GOOGLE_API
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