#Unable to build astro website
3 messages · Page 1 of 1 (latest)
Hi @willow ice. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
Based on the information provided in the extracts, it seems like you might be encountering a similar issue to the one described in this GitHub issue (https://github.com/withastro/astro/issues/518). The user in this issue was trying to compile .tsx files in Astro and received an error.
Here are a few things you can check:
-
Ensure you are on the latest version of Astro and all plugins. The user in the issue was using Astro version
0.14.0. -
Make sure you are using an ESM Node.js version (
v16.0.0+). -
Check your
astro.config.mjsfile. The user in the issue provided an example of their configuration file.