Deploy error, how can i fix that
4:47:09 PM:
4:47:09 PM: “build.command” failed
4:47:09 PM: ────────────────────────────────────────────────────────────────
4:47:09 PM:
4:47:09 PM: Error message
4:47:09 PM: Command failed with exit code 1: npm run build
4:47:09 PM:
4:47:09 PM: Error location
4:47:09 PM: In Build command from Netlify app:
4:47:09 PM: npm run build
4:47:09 PM:
4:47:09 PM: Resolved config
4:47:09 PM: build:
4:47:09 PM: command: npm run build
4:47:09 PM: commandOrigin: ui
4:47:09 PM: environment:
4:47:09 PM: - NEXT_PRIVATE_TARGET
4:47:09 PM: publish: /opt/build/repo/.next
4:47:09 PM: publishOrigin: ui
4:47:09 PM: plugins:
4:47:09 PM: - inputs: {}
4:47:09 PM: origin: ui
4:47:09 PM: package: “@netlify/plugin-nextjs”
4:47:10 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
4:47:10 PM: Failing build: Failed to build site
4:47:10 PM: Finished processing build request in 1m47.836s