Hi! No, you don't need any frontend framework. In fact:
Your SVG component, like <Image /> or any other Astro component, is unavailable inside UI framework components, but can be passed to a framework component inside a .astro component.
see: https://docs.astro.build/en/guides/images/#svg-components
So in your case the error seems really... Are you sure your project uses the last version? Could you give us the output of npm run astro info? This could help to debug what's wrong here...