Common JS module import error

Hi all,
I’m using astro for this project. The code works well locally but I run into bugs during build.

This is how my code is:

The link to the site is:
https://sensational-baklava-5a930b.netlify.app

Hi @P-crypto , kindly share a snippet of your build logs in order to determine the type of errors in the build logs.
Thanks.

Hi Clarnx,

I was able to figure out the cause of the bug. The package that caused it wasn’t tailored to be rendered on the server.

Thanks for the willingness to help, though.

1 Like

Hi @P-crypto , thanks for the feedback.
Glad you were able to resolve your problem