React (Gatsby) - npm package Elevio problems

Viewed 92

I am trying to implement Elevio into my React project and am following the documentation here https://api-docs.elevio.help/en/articles/90-how-to-integrate-elevio-into-react

After running npm i and inserting this piece of code

<div>
    <Elevio accountId="account-id" />
</div>

my project crashes and gives me this error

Module not found: Error: package path ./lib/react is not exported from package

Any help is appreciated!

1 Answers
Related