Cannot find module frappe-bench/apps/cmd/esbuild

I ran this command

bench build --app cms

and get this error:

  throw err;

Error: Cannot find module '/Users/omit/frappe-bench-2/apps/cms/esbuild'
    at Module._resolveFilename (node:internal/modules/cjs/loader:995:15)
    at Module._load (node:internal/modules/cjs/loader:841:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:23:47 {
  requireStack: []

Node.js v18.12.1
error Command failed with exit code 1.
info Visit for documentation about this command.
Error: Command failed: yarn build
    at checkExecSyncError (node:child_process:871:11)
    at execSync (node:child_process:943:15)
    at run_build_command_for_apps (/Users/omit/frappe-bench-2/apps/frappe/esbuild/esbuild.js:433:5)
    at /Users/omit/frappe-bench-2/apps/frappe/esbuild/esbuild.js:88:35
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  status: 1,
  signal: null,
  output: [ null, null, null ],
  pid: 71300,
  stdout: null,
  stderr: null

how i solve this error?

Trun out that i’ve "script" inside my package.json so i had to remove it. since i just copy and paste from package.json inside frappe folder