Type error: Type 'Status' is not assignable to type '"trialing" | "active" | "canceled" | "incomplete" | "incomplete_expired" | "past_due" | "unpaid" | null | undefined'.
[17:05:35.074] Running build in Washington, D.C., USA (East) – iad1
[17:05:35.204] Cloning github.com/dannylnz/asmr-b (Branch: main, Commit: b9c0b97)
[17:05:35.219] Skipping build cache, deployment was triggered without cache.
[17:05:35.979] Cloning completed: 774.252ms
[17:05:36.270] Running "vercel build"
[17:05:36.709] Vercel CLI 34.1.9
[17:05:37.075] Installing dependencies...
[17:06:04.091]
[17:06:04.092] added 731 packages in 27s
[17:06:04.092]
[17:06:04.092] 175 packages are looking for funding
[17:06:04.092] run `npm fund` for details
[17:06:04.128] Detected Next.js version: 14.0.4
[17:06:04.135] Detected `package-lock.json` generated by npm 7+
[17:06:04.135] Running "npm run build"
[17:06:04.875]
[17:06:04.875] > [email protected] build
[17:06:04.876] > next build
[17:06:04.876]
[17:06:05.452] Attention: Next.js now collects completely anonymous telemetry regarding usage.
[17:06:05.453] This information is used to shape Next.js' roadmap and prioritize features.
[17:06:05.454] You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
[17:06:05.454] https://nextjs.org/telemetry
[17:06:05.454]
[17:06:05.556] ▲ Next.js 14.0.4
[17:06:05.557]
[17:06:05.557] Creating an optimized production build ...
[17:06:22.396] ✓ Compiled successfully
[17:06:22.397] Linting and checking validity of types ...
[17:06:31.446] Failed to compile.
[17:06:31.447]
[17:06:31.447] ./src/features/account/controllers/upsert-user-subscription.ts:37:5
[17:06:31.448] Type error: Type 'Status' is not assignable to type '"trialing" | "active" | "canceled" | "incomplete" | "incomplete_expired" | "past_due" | "unpaid" | null | undefined'.
[17:06:31.448] Type '"paused"' is not assignable to type '"trialing" | "active" | "canceled" | "incomplete" | "incomplete_expired" | "past_due" | "unpaid" | null | undefined'.
[17:06:31.448]
[17:06:31.448] �[0m �[90m 35 |�[39m user_id�[33m:�[39m userId�[33m,�[39m�[0m
[17:06:31.448] �[0m �[90m 36 |�[39m metadata�[33m:�[39m subscription�[33m.�[39mmetadata�[33m,�[39m�[0m
[17:06:31.448] �[0m�[31m�[1m>�[22m�[39m�[90m 37 |�[39m status�[33m:�[39m subscription�[33m.�[39mstatus�[33m,�[39m�[0m
[17:06:31.449] �[0m �[90m |�[39m �[31m�[1m^�[22m�[39m�[0m
[17:06:31.449] �[0m �[90m 38 |�[39m price_id�[33m:�[39m subscription�[33m.�[39mitems�[33m.�[39mdata[�[35m0�[39m]�[33m.�[39mprice�[33m.�[39mid�[33m,�[39m�[0m
[17:06:31.449] �[0m �[90m 39 |�[39m cancel_at_period_end�[33m:�[39m subscription�[33m.�[39mcancel_at_period_end�[33m,�[39m�[0m
[17:06:31.449] �[0m �[90m 40 |�[39m cancel_at�[33m:�[39m subscription�[33m.�[39mcancel_at �[33m?�[39m toDateTime(subscription�[33m.�[39mcancel_at)�[33m.�[39mtoISOString() �[33m:�[39m �[36mnull�[39m�[33m,�[39m�[0m
[17:06:31.930] Error: Command "npm run build" exited with 1
[17:06:32.532]