We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
astro
1.0.6
None
npm
Mac
If the filename of one of the files read by Astro.glob contains an apostrophe ', everything crashes.
Astro.glob
'
--- const posts = await Astro.glob('../content/**/*.md') console.log(posts); --- <main> </main>
You can see the error in the reproducible example.
The biggest issue is, it just crashes. There wasn't any clear error message telling me it was a filename issue. It took trial and error to figure out.
https://stackblitz.com/edit/github-mjfepe-lwngmi?file=src%2Fpages%2Findex.astro
The text was updated successfully, but these errors were encountered:
This is a bug upstream in Vite. I submitted vitejs/vite#9729 which should fix this. Will close the PR when we update the Vite version used.
Sorry, something went wrong.
Fantastic, thank you for the quick turnaround
Fixed upstream!
bluwy
No branches or pull requests
What version of
astro
are you using?1.0.6
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
npm
What operating system are you using?
Mac
Describe the Bug
If the filename of one of the files read by
Astro.glob
contains an apostrophe'
, everything crashes.You can see the error in the reproducible example.
The biggest issue is, it just crashes. There wasn't any clear error message telling me it was a filename issue. It took trial and error to figure out.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-mjfepe-lwngmi?file=src%2Fpages%2Findex.astro
Participation
The text was updated successfully, but these errors were encountered: