Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
1 task
if1eight0sty opened this issue Sep 8, 2024 · 0 comments · Fixed by #2303
Closed
1 task

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

if1eight0sty opened this issue Sep 8, 2024 · 0 comments · Fixed by #2303

Comments

@if1eight0sty
Copy link

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant