Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when using with Vite #9

Closed
giotiskl opened this issue Aug 11, 2022 · 2 comments
Closed

Error when using with Vite #9

giotiskl opened this issue Aug 11, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@giotiskl
Copy link

Node/npm version(s):
Node v18.7.0
npm v8.15.0

Package(s) version(s):

 @porscheofficial/cookie-consent-banner-react@3.0.0
 @porscheofficial/cookie-consent-banner@3.0.0

Browser(s) version(s):
Brave browser: Version 1.41.100 Chromium: 103.0.5060.134 (Official Build) (x86_64)

Description of the issue/feature:
I installed the package with yarn (v1.22.19). I imported it and tried to set up the basic example.
I get the following e
Screenshot 2022-08-11 at 13 35 35
rrors in the browser console and banner is not rendered (the rest of the application compiles & renders):

Some example to reproduce the issue:

  • Install porsche cookie consent banner in a basic Vite react project (bootstrapped with TS).
  • Check the dev console.
@pboeder pboeder added the bug Something isn't working label Aug 11, 2022
@pboeder
Copy link
Member

pboeder commented Aug 18, 2022

Hi @giotiskl! I'll look into this in a few days

@pboeder pboeder closed this as completed in a784314 Sep 6, 2022
@pboeder
Copy link
Member

pboeder commented Sep 6, 2022

Does the latest version fix your issue @giotiskl (v3.0.1)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants