Closed henky-wu-qatalog closed 1 year ago
HI @henky-wu-qatalog thank you for your report, we start looking into this.
Hi @henky-wu-qatalog I created this repo with an example how configure consent-manager with nextJs. I created a PR to fix the issue with the lodash library
Thanks for the quick turnaround, @edsonjab. I just briefly check the example here but I can only see a nextjs boilerplate project. Would you mind take a look on this?
Hi @henky-wu-qatalog sorry, I forgot push my last changes, now is updated
@edsonjab I cloned your repo but still getting this issue that others have reported.
Importing the banner dynamically with next/dynamic
loads the component, but the banner never shows and openConsentManager
does nothing.
I've been struggling with Next.js and consent-manager
for the last few days, it doesn't really seem like they want to play nice. Are there any working examples of solutions with up-to-date Next and consent-manager
versions?
We get the following error when
openConsentManager()
is called in aonClick
function. The preference dialog didn't open, and an error occurs as follows:and we are getting this build warnings in NextJS:
we're using: