Skip to content

Error when using with Vite #9

@giotiskl

Description

@giotiskl

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

Package(s) version(s):

 @porscheofficial/[email protected]
 @porscheofficial/[email protected]

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions