#haac-nextjs-elements

1 messages · Page 1 of 1 (latest)

alpine bay
#

hello, you're using React with Nextjs right?

pure flax
#

hello! yes that´s true

alpine bay
#

yeah so basically the error message is what you need, do you not have your CardElement nested inside <Elements> as the error says

pure flax
#

actually i have, even in development works with any problems, this error just appear when i start to build.

alpine bay
#

yeah I'm not sure about that, I'm not the most experienced in React or Nextjs but I imagine something in your build system is causing Elements to not be mounted but CardElemnet to be