How do I fix component error message when uploading into AWS Amplify?

Hi, I am very new to Figma and need help with an error message. Can someone tell me what the below message means or how to fix it? I used the component template provided by Figma to create a static website to upload into AWS Amplify. I passed the file off to our AWS person, who said they are getting this message. I don’t know how to fix it, please help.

Some components can’t be imported.
HeroLayout2 - Each component in the component set HeroLayout2 must have the same composition in order to be rendered correctly. Please ensure variant Property 1=dark has the same composition as the base variant.

Hey @Niki_R,

Sorry to hear this is happening!

Please reach out to the support team directly via this form for help:

Be sure to use your Figma account email, include a link to the file, and share it with so they can take a closer look.