Skip to content

module not found: @astrojs/starlight/utils/git.ts #2302

@if1eight0sty

Description

@if1eight0sty

What version of starlight are you using?

^0.27.0

What version of astro are you using?

^4.15.3

What package manager are you using?

npm

What operating system are you using?

Widows

What browser are you using?

Chrome

Describe the Bug

I am getting an error that says the module /node_modules/@astrojs/starlight/utils/git.ts' imported from 'virtual:starlight/git-info' not found.
I had created a new starlight project with npm create astro@latest -- --template starlight and when i try running then app, i am getting this error.
I also have tried downloading the starter project from https://starlight.astro.build/getting-started/ (stackblitz) and https://github.com/withastro/starlight/tree/main/examples/tailwind github. both of these gives me the same error.
NOTE: I could not reproduce the problem, since its an broken build for windows(according to maintainers in discord). The stackblitz link provided below works fine, which I shared to prevent auto closing the issue.

Link to Minimal Reproducible Example

https://stackblitz.com/github/withastro/starlight/tree/main/examples/basics?file=README.md&on=stackblitz

Participation

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

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