Skip to content

[agent] Failed to update @typescript/native-preview #170

@claude

Description

@claude

Failed dependency update

Package: @typescript/native-preview
From: 7.0.0-dev.20260303.1To: 7.0.0-dev.20260310.1

Error

Step 2a (Linting / typecheck) failed:

eslint.config.ts(11,47): error TS2339: Property 'dirname' does not exist on type 'ImportMeta'.

The new version of tsgo (7.0.0-dev.20260310.1) no longer resolves import.meta.dirname from @types/node in the workspace root tsconfig, despite @types/node/web-globals/importmeta.d.ts defining it. The previous version (7.0.0-dev.20260303.1) worked correctly.

What was tried

  • Confirmed the error is in tsgo (the native TypeScript preview compiler), not in standard tsc
  • Verified @types/node/web-globals/importmeta.d.ts correctly declares ImportMeta.dirname
  • Reverted to previous version as the fix requires investigation of tsgo internals

Workflow run

https://github.com/workleap/wl-telemetry/actions/runs/22907051147

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions