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

Support Astro 5 #17

Open
nlnw opened this issue Dec 31, 2024 · 0 comments
Open

Support Astro 5 #17

nlnw opened this issue Dec 31, 2024 · 0 comments

Comments

@nlnw
Copy link

nlnw commented Dec 31, 2024

Now that Astro 5 is released, I tested it with this package, and I get this error:

[GenerateContentTypesError] `astro sync` command failed to generate content collection types: Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. Received protocol 'astro:'
  Hint:
    This error is often caused by a syntax error inside your content, or your content configuration file. Check your src/content.config.ts file for typos.

I tried a few fixes but could not get it to work. Can you please help to get this working in Astro 5?

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

No branches or pull requests

1 participant