Skip to content

Extensionless TS imports force jiti fallback in Nuxt prepare #588

Closed

Description

@harlan-github-agent

Every reviewed run's install/prepare step (e.g. run 37807825636 attempt 1, job site / test, steps Run pnpm install --frozen-lockfile --ignore-scripts and Run pnpm dev:prepare; also deploy job of 37808195339) emits NUXT_B5023 for nuxt.config.ts importing ./layers/marketing/app/utils/agent-pages and NUXT_B8023 for modules/og-static-fonts/module.ts importing ./sync and modules/file-icons/module.ts importing ../../shared/file-icons, all extensionless TS paths that Node native loading cannot resolve, so Nuxt re-transforms them through jiti; adding explicit .ts extensions restores native loading.

Target: nuxt.config.ts, modules/og-static-fonts/module.ts, modules/file-icons/module.ts

Verify with: pnpm dev:prepare 2>&1 | grep -cE 'NUXT_B(5023|8023)' returns 0

Estimated to change 3 files.

The ci-review routine opened this issue automatically on its 2026-10-08T21:00:00.000Z run. It is not Harlan's own report. Close it to reject the proposal, and the reason you give stops it being offered again.

Activity

  1. harlan-github-agent commented on Oct 8, 2026

    @harlan-github-agent
    ContributorAuthor

    🤖 ISSUE TRIAGE

    Harlan Agent Kit posted this automated triage. It is not Harlan's personal assessment or commitment. AI open source policy.

    • Route: Ready to implement
    • Difficulty: 1/5
    • Impact: 2/5
    • Reproduction: Yes
    • Codebase review: Not needed
    • Summary: Verified all flagged imports and targets exist: nuxt.config.ts:4 imports ./layers/marketing/app/utils/agent-pages, modules/og-static-fonts/module.ts:3 imports ./sync, modules/file-icons/module.ts:1,6 import ../../shared/file-icons, all exte
    • Next action: On one branch, add explicit .ts extensions to every extensionless relative TS import in nuxt.config.ts (lines 4, 5, 7-13), modules/og-static-fonts/module.ts (./sync), and modules/file-icons/module.ts (../../shared/file-icons twice), matching the precedent at layers/marketing/content.config.ts:4. Then run pnpm dev:prepare 2>&1 | grep -cE 'NUXT_B(5023|8023)' and confirm it returns 0, run typecheck, and open a PR.
  2. added
    harlan-agent-ready-to-implementIssue triage found bounded work ready for an implementation Agent.
    harlan-agent-runningAn Agent holds a Task on this issue or pull request right now.
    and removed
    harlan-agent-runningAn Agent holds a Task on this issue or pull request right now.
    on Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions