Skip to content

Error when import "react-cas-client" #16

@MeLoBeats

Description

@MeLoBeats

Hi,

When i want to import the library, i automatically catch this error :

sax.js:222 Uncaught TypeError: Cannot read properties of undefined (reading 'prototype')
at sax.js:222:46
at node_modules/sax/lib/sax.js (sax.js:1565:1)
at __require (chunk-OL3AADLO.js?v=42ae18b2:9:50)
at Object. (parser.js:9:9)
at node_modules/xml2js/lib/parser.js (parser.js:381:4)
at __require (chunk-OL3AADLO.js?v=42ae18b2:9:50)
at Object. (xml2js.js:12:12)
at node_modules/xml2js/lib/xml2js.js (xml2js.js:39:4)
at __require (chunk-OL3AADLO.js?v=42ae18b2:9:50)
at index.js:3:16

I'm on react 18.2.0 and ViteJS

image

Thanks,
MeLo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions