
> carage-erp@ build C:\Users\LOQ\Desktop\workspace\carage-erp
> turbo run build

node.exe : ظت turbo 2.8.20
At C:\Users\LOQ\AppData\Roaming\npm\pnpm.ps1:24 char:5
+     & "node$exe"  "$basedir/node_modules/pnpm/bin/pnpm.cjs" $args
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (ظت turbo 2.8.20:String) [], Remo 
   teException
    + FullyQualifiedErrorId : NativeCommandError
 

   ظت Packages in scope: @garage/api, @garage/dashboard, @repo/eslint-config, @repo/typescript-config, @repo/ui
   ظت Running build in 5 packages
   ظت Remote caching disabled

@garage/api:build: cache hit, replaying logs 6549437e28eb3743
@garage/api:build: [6n[?9001h[?1004h[m]0;C:\WINDOWS\system32\cmd.exe[?25h[?25l
@garage/api:build: > @garage/api@0.0.0 build C:\Users\LOQ\Desktop\workspace\carage-erp\packages\api
@garage/api:build: > pnpm run generate[5;1H[?25h[?25l
@garage/api:build: > @garage/api@0.0.0 generate C:\Users\LOQ\Desktop\workspace\carage-erp\packages\api
@garage/api:build: > pnpm run generate:openapi && pnpm run generate:types[9;1H[?25h[?25l
@garage/api:build: > @garage/api@0.0.0 generate:openapi C:\Users\LOQ\Desktop\workspace\carage-erp\packages\api
@garage/api:build: > pnpm run prepare:dirs && node scripts/generate-openapi.cjs[13;1H[?25h[?25l
@garage/api:build: > @garage/api@0.0.0 prepare:dirs C:\Users\LOQ\Desktop\workspace\carage-erp\packages\api
@garage/api:build: > node -e "const fs=require('fs');fs.mkdirSync('open-api',{recursive:true});fs.mkdirSync('types',{recursive:true});"[17;1H[?25hOpenAPI schema written to open-api/schema.json
@garage/api:build: 
@garage/api:build: > @garage/api@0.0.0 generate:types C:\Users\LOQ\Desktop\workspace\carage-erp\packages\api
@garage/api:build: > node scripts/generate-types.cjs
@garage/api:build: 
@garage/api:build: ]0;npm]0;npm exec openapi-typescript open-api/schema.json -o types/index.tsظبآ
@garage/api:build: [Kظ£ذ [1mopenapi-typescript 7.13.0
@garage/api:build: [22m
@garage/api:build: ≡اأ [32mopen-api/schema.json ظْ [1mtypes/index.ts[m [2m[709.4ms]
@garage/api:build: [22m
@garage/api:build: ظبآ
@garage/api:build: [K[?9001l[?1004l
@garage/dashboard:build: cache miss, executing 472e30615a0f1369
@garage/dashboard:build: 
@garage/dashboard:build: > @garage/dashboard@0.0.1 prebuild C:\Users\LOQ\Desktop\workspace\carage-erp\apps\dashboard
@garage/dashboard:build: > pnpm --filter @garage/api run generate
@garage/dashboard:build: 
@garage/dashboard:build: 
@garage/dashboard:build: > @garage/api@0.0.0 generate C:\Users\LOQ\Desktop\workspace\carage-erp\packages\api
@garage/dashboard:build: > pnpm run generate:openapi && pnpm run generate:types
@garage/dashboard:build: 
@garage/dashboard:build: 
@garage/dashboard:build: > @garage/api@0.0.0 generate:openapi C:\Users\LOQ\Desktop\workspace\carage-erp\packages\api
@garage/dashboard:build: > pnpm run prepare:dirs && node scripts/generate-openapi.cjs
@garage/dashboard:build: 
@garage/dashboard:build: 
@garage/dashboard:build: > @garage/api@0.0.0 prepare:dirs C:\Users\LOQ\Desktop\workspace\carage-erp\packages\api
@garage/dashboard:build: > node -e "const fs=require('fs');fs.mkdirSync('open-api',{recursive:true});fs.mkdirSync('types',{recursive:true});"
@garage/dashboard:build: 
@garage/dashboard:build: OpenAPI schema written to open-api/schema.json
@garage/dashboard:build: 
@garage/dashboard:build: > @garage/api@0.0.0 generate:types C:\Users\LOQ\Desktop\workspace\carage-erp\packages\api
@garage/dashboard:build: > node scripts/generate-types.cjs
@garage/dashboard:build: 
@garage/dashboard:build: npm warn Unknown env config "recursive". This will stop working in the next major version of npm.
@garage/dashboard:build: ظ£ذ openapi-typescript 7.13.0
@garage/dashboard:build: ≡اأ open-api/schema.json ظْ types/index.ts [685.1ms]
@garage/dashboard:build: 
@garage/dashboard:build: > @garage/dashboard@0.0.1 build C:\Users\LOQ\Desktop\workspace\carage-erp\apps\dashboard
@garage/dashboard:build: > next build
@garage/dashboard:build: 
@garage/dashboard:build: ظû▓ Next.js 16.1.7 (Turbopack)
@garage/dashboard:build: - Environments: .env
@garage/dashboard:build: 
@garage/dashboard:build:   Creating an optimized production build ...
@garage/dashboard:build: ظ£ô Compiled successfully in 7.6s
@garage/dashboard:build:   Running TypeScript ...
@garage/dashboard:build: Failed to compile.
@garage/dashboard:build: 
@garage/dashboard:build: ./modules/payment-mades/payment-made-form.tsx:60:5
@garage/dashboard:build: Type error: Type 'string' is not assignable to type 'number'.
@garage/dashboard:build: 
@garage/dashboard:build: [0m [90m 58 |[39m     payment_mode[33m:[39m [36mnull[39m[33m,[39m
@garage/dashboard:build:  [90m 59 |[39m     payment_for[33m:[39m [32m"bill"[39m[33m,[39m
@garage/dashboard:build: [31m[1m>[22m[39m[90m 60 |[39m     amount[33m:[39m [32m""[39m[33m,[39m
@garage/dashboard:build:  [90m    |[39m     [31m[1m^[22m[39m
@garage/dashboard:build:  [90m 61 |[39m     payment_number[33m:[39m [32m""[39m[33m,[39m
@garage/dashboard:build:  [90m 62 |[39m     payment_reference[33m:[39m [32m""[39m[33m,[39m
@garage/dashboard:build:  [90m 63 |[39m     payment_date[33m:[39m getTodayDate()[33m,[39m[0m
@garage/dashboard:build: Next.js build worker exited with code: 1 and signal: null
@garage/dashboard:build: ظëELIFECYCLEظë Command failed with exit code 1.
 ERROR  @garage/dashboard#build: command 
(C:\Users\LOQ\Desktop\workspace\carage-erp\apps\dashboard) 
C:\Users\LOQ\AppData\Local\pnpm\.tools\pnpm\9.0.0\bin\pnpm.CMD run build 
exited (1)

 Tasks:    1 successful, 2 total
Cached:    1 cached, 2 total
  Time:    37.7s 
Failed:    @garage/dashboard#build

 ERROR  run failed: command  exited (1)
ظëELIFECYCLEظë Command failed with exit code 1.
