Cannot convert undefined or null to object #605
Answered
by
orestbida
parsagholipour
asked this question in
Q&A
-
I followed this https://cookieconsent.orestbida.com/essential/getting-started.html#html <script src="/js/initCookieConsent.js" type="module"></script> import 'https://cdn.jsdelivr.net/gh/orestbida/[email protected]/dist/cookieconsent.umd.js';
CookieConsent.run({
// your config. goes here (required)
}); I get the error:
How should I fix it? |
Beta Was this translation helpful? Give feedback.
Answered by
orestbida
Dec 5, 2023
Replies: 1 comment
-
You need to provide a valid configuration object. You can also obtain a configuration from the playground, by clicking the green download button. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
parsagholipour
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to provide a valid configuration object. You can also obtain a configuration from the playground, by clicking the green download button.