🌿 ✨ [Scheduled] Upgrade Fern CLI #4
Open
Fern API / Preview Generation
failed
Jan 11, 2026 in 23s
Preview Generation Failed
Some preview generations failed. Please review the errors in the output below.
Details
Complete Generation Output
CLI (0.117.0 → 3.37.3) - ❌ FAILED
[2026-01-11T16:33:01.569Z] === Lambda Invocation Started ===
[2026-01-11T16:33:01.583Z] Request ID: undefined
[2026-01-11T16:33:01.583Z] Function: autopilot-prod-GitCommandExecutorLambda4C59063C-ZuNKIBG3KsKN
[2026-01-11T16:33:01.583Z] Node: v20.19.5
[2026-01-11T16:33:01.583Z] Platform: linux x64
[2026-01-11T16:33:01.583Z] Parsing Function URL body
[2026-01-11T16:33:01.584Z] Params: repoUrl=https://github.com/fern-demo/Intercom-OpenAPI.git, ref=upgrade-cli-latest-3, commands=["fern generate --group ts-sdk --preview --log-level warn --version AUTO"]
[2026-01-11T16:33:01.584Z] Git token: provided (40 chars)
[2026-01-11T16:33:01.584Z] Custom environment variables provided: FERN_TOKEN
[2026-01-11T16:33:01.584Z] Will execute 1 command(s)
[2026-01-11T16:33:01.588Z] Created temp directory: /tmp/git-executor-GAaB6j
[2026-01-11T16:33:01.588Z] Cloning repository: https://github.com/fern-demo/Intercom-OpenAPI.git
[2026-01-11T16:33:01.588Z] [executeCommand] Starting: git clone https://x-access-token:ghs_99Wllf0id5Ev6hgCYtoaTqYgoUCB4e3sRjhI@github.com/fern-demo/Intercom-OpenAPI.git /tmp/git-executor-GAaB6j
[2026-01-11T16:33:01.601Z] [stderr] Cloning into '/tmp/git-executor-GAaB6j'...
[2026-01-11T16:33:02.310Z] [executeCommand] Process exited with code: 0
[2026-01-11T16:33:02.310Z] Repository cloned successfully
[2026-01-11T16:33:02.310Z] Checking out ref: upgrade-cli-latest-3
[2026-01-11T16:33:02.310Z] [executeCommand] Starting: git checkout upgrade-cli-latest-3
[2026-01-11T16:33:02.329Z] [stderr] Switched to a new branch 'upgrade-cli-latest-3'
[2026-01-11T16:33:02.330Z] [stdout] branch 'upgrade-cli-latest-3' set up to track 'origin/upgrade-cli-latest-3'.
[2026-01-11T16:33:02.330Z] [executeCommand] Process exited with code: 0
[2026-01-11T16:33:02.330Z] Checked out ref: upgrade-cli-latest-3
[2026-01-11T16:33:02.330Z] Executing command 1/1: fern generate --group ts-sdk --preview --log-level warn --version AUTO
[2026-01-11T16:33:02.331Z] Spawning: fern with args: ["generate","--group","ts-sdk","--preview","--log-level","warn","--version","AUTO"]
[2026-01-11T16:33:02.331Z] [executeCommand] Starting: fern generate --group ts-sdk --preview --log-level warn --version AUTO
[2026-01-11T16:33:17.375Z] [stdout] Warnings for generators.yml:
[2026-01-11T16:33:17.375Z] [stdout] Using "api.path" is deprecated. Please use "api.specs[].openapi" or "api.specs[].asyncapi" instead.
[2026-01-11T16:33:23.058Z] [stdout] [api]: conversations.yml -> service -> endpoints -> convertToTicket -> examples[0] -> response
[2026-01-11T16:33:23.059Z] [stdout] conversations.yml
[2026-01-11T16:33:23.059Z] [stdout] [error] Expected example to be an object. Example is: "ticket"
[2026-01-11T16:33:23.059Z] [stdout] [api]: conversations.yml -> service -> endpoints -> convertToTicket -> examples[1] -> response
[2026-01-11T16:33:23.059Z] [stdout] conversations.yml
[2026-01-11T16:33:23.059Z] [stdout] [error] Expected example to be an object. Example is: "ticket"
[2026-01-11T16:33:23.059Z] [stdout] [api]: tickets.yml -> service -> endpoints -> create -> examples[0] -> response
[2026-01-11T16:33:23.059Z] [stdout] tickets.yml
[2026-01-11T16:33:23.059Z] [stdout] [error] Expected example to be an object. Example is: "ticket"
[2026-01-11T16:33:23.059Z] [stdout] [api]: tickets.yml -> service -> endpoints -> get -> examples[0] -> response
[2026-01-11T16:33:23.059Z] [stdout] tickets.yml
[2026-01-11T16:33:23.059Z] [stdout] [error] Expected example to be an object. Example is: "ticket"
[2026-01-11T16:33:23.059Z] [stdout] [api]: tickets.yml -> service -> endpoints -> search -> examples[0] -> response
[2026-01-11T16:33:23.059Z] [stdout] tickets.yml
[2026-01-11T16:33:23.059Z] [stdout] [error] Expected example to be an object. Example is: "ticket"
[2026-01-11T16:33:23.059Z] [stdout] [api]: tickets.yml -> service -> endpoints -> update -> examples[0] -> response
[2026-01-11T16:33:23.059Z] [stdout] tickets.yml
[2026-01-11T16:33:23.059Z] [stdout] [error] Expected example to be an object. Example is: "ticket"
[2026-01-11T16:33:23.059Z] [stdout] [api]: tickets.yml -> service -> endpoints -> update -> examples[1] -> response
[2026-01-11T16:33:23.059Z] [stdout] tickets.yml
[2026-01-11T16:33:23.059Z] [stdout] [error] Expected example to be an object. Example is: "ticket"
[2026-01-11T16:33:23.059Z] [stdout] [api]: tickets.yml -> service -> endpoints -> update -> examples[2] -> response
[2026-01-11T16:33:23.059Z] [stdout] tickets.yml
[2026-01-11T16:33:23.059Z] [stdout] [error] Expected example to be an object. Example is: "ticket"
[2026-01-11T16:33:23.059Z] [stdout] [api]: tickets.yml -> types -> Ticket -> properties -> type -> type
[2026-01-11T16:33:23.059Z] [stdout] tickets.yml
[2026-01-11T16:33:23.059Z] [stdout] [error] Default values are not supported for the named type
[2026-01-11T16:33:23.059Z] [stdout] [api]: Found 9 errors and 6 warnings in 1.412 seconds. Run fern check --warnings to print out the warnings not shown.
[2026-01-11T16:33:23.160Z] [stdout] [api]: Warnings for generators.yml:
[2026-01-11T16:33:23.160Z] [stdout] [api]: Using "api.path" is deprecated. Please use "api.specs[].openapi" or "api.specs[].asyncapi" instead.
[2026-01-11T16:33:23.272Z] [stderr] npm notice
[2026-01-11T16:33:23.272Z] [stderr] npm notice New major version of npm available! 10.8.2 -> 11.7.0
[2026-01-11T16:33:23.272Z] [stderr] npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.7.0
[2026-01-11T16:33:23.272Z] [stderr] npm notice To update run: npm install -g npm@11.7.0
[2026-01-11T16:33:23.272Z] [stderr] npm notice
[2026-01-11T16:33:23.324Z] [executeCommand] Process exited with code: 1
[2026-01-11T16:33:23.325Z] ERROR during execution: Command failed with exit code 1
[2026-01-11T16:33:23.325Z] Stack trace: Error: Command failed with exit code 1
at ChildProcess.<anonymous> (/var/task/index.js:197:23)
at ChildProcess.emit (node:events:524:28)
at maybeClose (node:internal/child_process:1104:16)
at ChildProcess._handle.onexit (node:internal/child_process:304:5)
[2026-01-11T16:33:23.325Z] Cleaning up temp directory: /tmp/git-executor-GAaB6j
[2026-01-11T16:33:23.333Z] Cleanup completed
[2026-01-11T16:33:23.333Z] === Lambda Completed with status 500 ===
Loading