You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
Calling getCollection('projects') for my "projects" collection returns
The collection "projects" does not exist or is empty. Ensure a collection directory with this name exists.
This occurred some time after using pnpm dlx @astrojs/upgrade to upgrade from Astro 4 to 5. The error was occurring for both of my collections, but it seems one of them started working again once I used pnpm run dev instead of pnpm dev
What's the expected result?
I expect to receive the collection since I have the scheme defined in content.config.ts and md files in my projects folder.
Link to Minimal Reproducible Example
NA
Participation
I am willing to submit a pull request for this issue.
The text was updated successfully, but these errors were encountered:
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
Calling
getCollection('projects')
for my "projects" collection returnsThis occurred some time after using
pnpm dlx @astrojs/upgrade
to upgrade from Astro 4 to 5. The error was occurring for both of my collections, but it seems one of them started working again once I usedpnpm run dev
instead ofpnpm dev
What's the expected result?
I expect to receive the collection since I have the scheme defined in
content.config.ts
andmd
files in myprojects
folder.Link to Minimal Reproducible Example
NA
Participation
The text was updated successfully, but these errors were encountered: