During to deploy on Netlify it's giving "build.command" failed error

10:03:00 AM: “build.command” failed
10:03:00 AM: ────────────────────────────────────────────────────────────────
10:03:00 AM: ​
10:03:00 AM: Error message
10:03:00 AM: Command failed with exit code 1: next build (Search results for '"non-zero exit code: 1"' - Netlify Support Forums)
10:03:00 AM: ​
10:03:00 AM: Error location
10:03:00 AM: In build.command from netlify.toml:
10:03:00 AM: next build
10:03:00 AM: ​
10:03:00 AM: Resolved config
10:03:00 AM: build:
10:03:00 AM: command: next build
10:03:00 AM: commandOrigin: config
10:03:00 AM: environment:
10:03:00 AM: - NEXT_PRIVATE_TARGET
10:03:00 AM: publish: /opt/build/repo/.next
10:03:00 AM: publishOrigin: config
10:03:00 AM: functionsDirectory: /opt/build/repo/netlify/functions
10:03:00 AM: plugins:
10:03:00 AM: - inputs: {}
10:03:00 AM: origin: ui
10:03:00 AM: package: ‘@netlify/plugin-nextjs’

Hi @ZaubayerAhammedTolon,

Thanks for reaching out and welcome to Netlify’s Support Forums!

I’ve responded to your other post here:

As this looks to be the same issue, please respond to the other post (linked above). Also, to better help us out, please don’t open multiple post for the same issues as it can cause confusion. Thanks!