Astro version: 4.11.1
Currently requires changes to files in node_modules to make the demo work. I copied the modified files to node_modules - modified files, use them to overwrite the files after npm install.
Here's the list of node_module files I modified:
node_modules/astro/components/Code.astronode_modules/@astrojs/markdown-remark/dist/types.d.tsnode_modules/@astrojs/markdown-remark/dist/shiki.d.tsnode_modules/@astrojs/markdown-remark/dist/shiki.js
For Code.astro, The error message seems to be a false-positive, because the demo runs fine. Not sure how to make it go away though.
npm install- Overwrite
node_modulefiles with the files innode_module - modified files npm run dev