content-collections icon indicating copy to clipboard operation
content-collections copied to clipboard

Bug: Configuration file is invalid. SvelteKit error

Open lubiah opened this issue 1 month ago • 4 comments

Hello, I get this error when trying to use content-collections with SvelteKit.

ConfigurationError: configuration file c:\Projects\debug\content-collections.ts is invalid: Error: Build failed with 1 error:

lubiah avatar Nov 10 '25 22:11 lubiah

Hi, this appears to be a syntax error in your content-collections.ts file. Could you provide a repository to reproduce the error?

sdorra avatar Nov 12 '25 06:11 sdorra

Hello @sdorra , thanks for getting back to me. Here's the repository: https://github.com/lubiah/content-collections

lubiah avatar Nov 14 '25 13:11 lubiah

I don't encounter any errors. It may be related to Windows. I will try testing on Windows in the next few days.

sdorra avatar Nov 17 '25 18:11 sdorra

Alright. I encountered the error on a windows machine

lubiah avatar Nov 17 '25 19:11 lubiah