Giter Club home page Giter Club logo

Comments (12)

matthiasschwarz avatar matthiasschwarz commented on June 9, 2024 1

Issue is resolved for me with version 2.7.2.
Thanks

from react-joyride.

vsbharath avatar vsbharath commented on June 9, 2024

Using

node -v
v16.20.2

"@types/react": "^18.2.42",
"@types/react-dom": "^18.2.17"
[email protected]

from react-joyride.

vsbharath avatar vsbharath commented on June 9, 2024

@gilbarbara Can you please help here ?

from react-joyride.

gilbarbara avatar gilbarbara commented on June 9, 2024

Hey @vsbharath

Please provide a https://codesandbox.io/ demo or similar.
Issues without a reproduction link are likely to stall.

Also, which versions do you have for react and react-joyride.

from react-joyride.

vsbharath avatar vsbharath commented on June 9, 2024

here are the version that I'm using
"react-joyride": "2.7.0",
"react": "18.2.0",

Even upgrading to latest 2.7.0 running tsc is failing for react-joyride

from react-joyride.

vsbharath avatar vsbharath commented on June 9, 2024

Is see in react-joyride/dist/index.d.ts

two exports with the same file

and Joyride as decalred as default and not sure why it is generated another export = JoyRide at the end of the file. After removing this line from node_modules it worked. Can you please help how this file is generated?

from react-joyride.

matthiasschwarz avatar matthiasschwarz commented on June 9, 2024

I have the same issue when using versions above 2.5.5.
I downgraded the library to version 2.5.5 and the build error was gone.

from react-joyride.

matthiasschwarz avatar matthiasschwarz commented on June 9, 2024

After some investigation i found out that the issue comes from using fix-tsup-cjs in the build process which creates the duplicate export.
Is the use of fix-tsup-cjs necessary?

from react-joyride.

gilbarbara avatar gilbarbara commented on June 9, 2024

Does setting "skipLibCheck" to true in your tsconfig fixes the problem?

from react-joyride.

vsbharath avatar vsbharath commented on June 9, 2024

from react-joyride.

gilbarbara avatar gilbarbara commented on June 9, 2024

Weird.
Anyway, I already have a fix for this in #979
Just fixing some scroll issues and I'll merge it soon.

from react-joyride.

gilbarbara avatar gilbarbara commented on June 9, 2024

@vsbharath @matthiasschwarz
Can you try this version and report back?
npm i react-joyride@next

Thanks

from react-joyride.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.