Skip to content

Astro v6.1.1 issue - @astrojs/check@0.9.8 requires typescript@^5.0.0 #16112

@laukstein

Description

@laukstein

Astro Info

Astro                    v6.1.1
Vite                     v7.3.1
Node                     v25.8.2
System                   Windows (x64)
Package Manager          npm
Output                   static
Adapter                  none
Integrations             build-static-assets

If this issue only occurs in one browser, which browser is a problem?

No response

Describe the Bug

The conflict is @astrojs/check@0.9.8 requires typescript@^5.0.0 but the project uses typescript@^6.0.2.

npm error While resolving: @astrojs/check@0.9.8
npm error Found: typescript@6.0.2
npm error node_modules/typescript
npm error   dev typescript@"^6.0.2" from the root project
npm error   peer typescript@"*" from @volar/kit@2.4.28
npm error   node_modules/@volar/kit
npm error     @volar/kit@"~2.4.28" from @astrojs/language-server@2.16.6
npm error     node_modules/@astrojs/language-server
npm error       @astrojs/language-server@"^2.16.5" from @astrojs/check@0.9.8
npm error       node_modules/@astrojs/check
npm error         dev @astrojs/check@"^0.9.8" from the root project
npm error   1 more (cosmiconfig)
npm error
npm error Could not resolve dependency:
npm error peer typescript@"^5.0.0" from @astrojs/check@0.9.8
npm error node_modules/@astrojs/check
npm error   dev @astrojs/check@"^0.9.8" from the root project
npm error
npm error Conflicting peer dependency: typescript@5.9.3
npm error node_modules/typescript
npm error   peer typescript@"^5.0.0" from @astrojs/check@0.9.8
npm error   node_modules/@astrojs/check
npm error     dev @astrojs/check@"^0.9.8" from the root project

What's the expected result?

Support typescript >= 6.0.0

Link to Minimal Reproducible Example

about:blank

Participation

  • I am willing to submit a pull request for this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    - P2: has workaroundAn edge case that only affects very specific usage, but has a trivial workaround (priority)pkg: language-toolsRelated to language-tooling (scope)pkg: ts-pluginFixes to the TS plugin are required to fix this issue (scope)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions