Giter VIP home page Giter VIP logo

Comments (5)

kashifshamaz21 avatar kashifshamaz21 commented on June 11, 2024

Update:

After going through the discussion in the thread on vercel/next.js#39375 , I tried the below change, and it made the error go away:

  • I copied over dist/react-tooltip.min.mjs to my repo and renamed it to react-tooltip.min.js , i.e, rename from .mjs extension to .js. After this change, the above issue is not happening.

For the time being I'm using this temporary workaround, I'm not sure why .mjs extension would cause the above issue though.

from react-tooltip.

gabrieljablonski avatar gabrieljablonski commented on June 11, 2024

We're already aware of a similar issue (probably closely related) with create-react-app not supporting .cjs files. See #1067 and our troubleshooting section.

For now, there's not much we can do, since the shift towards .cjs/.mjs/... over plain .js extensions is something that's already happening, and we'd like to follow the trend.

We'll keep this open for now and see if we figure out better ways to work around it in the future.

from react-tooltip.

gabrieljablonski avatar gabrieljablonski commented on June 11, 2024

Are you still experiencing this issue? If so, are you able to upgrade to the latest NextJS version (14.0.4 as of right now) and let us know if that fixes it?

from react-tooltip.

hyoloui avatar hyoloui commented on June 11, 2024

@gabrieljablonski
Upgrading to the NextJS version (currently 14.0.4) did not resolve the issue

from react-tooltip.

github-actions avatar github-actions commented on June 11, 2024

This issue is stale because it has not seen activity in 30 days. Remove the stale label or comment within 14 days, or it will be closed.

from react-tooltip.

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.