During netlify deoploy it's giving "build.command" failed error. please help

-my netlify.toml
[build]
command = “next build”
functions = “netlify/functions”
publish = “.next”

“scripts”: {
“dev”: “next dev”,
“build”: “next build”,
“start”: “next start”,
“lint”: “next lint”
},

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’

The better the post - the faster the answer.

Hi @ZaubayerAhammedTolon,

Thanks for reaching out! Sorry you are having trouble with your build.

This Support Guide contains a ton of useful debugging tips that can likely help you solve your problem. 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, what your build settings are, your package.json, etc. Additionally, if you could let us know the Netlify site you’re having issues on. Providing the site name (such as example.netlify.app) would help us find the site and review the full deploy logs. Thanks!