#[postcss] Cannot find module 'astro:content'

1 messages · Page 1 of 1 (latest)

summer flintBOT
#
No-one around right now?

It looks like no-one has responded to your question yet. People might not be available right now or don’t know how to answer your question. Want an answer while you wait? Try asking our experimental bot in #1095492539085230272.

wide breach
#

Do you have a repo to check? Try reinstalling your project if you haven't

wide breach
#

Yeah I guess you can't use getCollection in a normal .ts like that (although it seems to work if you move posts.ts into src/content)? You can just move that getposts function to that blog astro page where you're using it

bitter surge
#

I start getting this error on all my astro projects on dev server.
was there an update after which this started happening