Cannot find module 'astro:content' or its corresponding type declarations

This one is an easy fix fortunately.

In your terminal run npm i astro@beta and if you have the MDX integration, also run npm i @astrojs/mdx@beta as well.

Restart your code editor and then rerun with npm run dev . The error should have disappeared.