Giter Site home page Giter Site logo

Comments (7)

gabrieljablonski avatar gabrieljablonski commented on June 3, 2024 1

The sample you've provided is using [email protected]. The first thing you should try is to upgrade it to [email protected].
You can do that by editing your package.json file like so:

  "dependencies": {
    "react": "17.0.2",
    "react-dom": "17.0.2",
-  "react-scripts: "4.0.3",
+  "react-scripts": "5.0.1",
    "react-tooltip": "^5.26.0"
  },

Then run npm install or yarn install (depending on what you're already using). Then try running your application again and see if the error is gone.

If the error isn't gone, please try running a fresh install (rm -r node_modules/ and rm package-lock.json/rm yarn.lock) and running again.

If it still doesn't work, let us know. The surefire alternative is to use craco, but that's a bit more annoying to setup.

from react-tooltip.

gabrieljablonski avatar gabrieljablonski commented on June 3, 2024

not using webpack

I'm guessing you've seen the troubleshooting section on how to fix it with webpack.

We're currently unaware of how to fix with other setups other than with webpack, so you'll have to provide some more info about your environment. Preferably, if you can provide a repo so we can reproduce the issue, it would help a lot.

from react-tooltip.

iver003 avatar iver003 commented on June 3, 2024

Project:

SSH
[email protected]:iver003/test1-tooltip.git

Https
https://github.com/iver003/test1-tooltip.git

GitHub CLI
gh repo clone iver003/test1-tooltip

from react-tooltip.

gabrieljablonski avatar gabrieljablonski commented on June 3, 2024

Please set the repo to public. Can't clone it right now.

from react-tooltip.

iver003 avatar iver003 commented on June 3, 2024

sorry, here I pass again the repo so you can clone it and tell me what to do.

SSH
[email protected]:iver003/testToolTip2.git

Https
https://github.com/iver003/testToolTip2.git

GitHub CLI
gh repo clone iver003/testToolTip2

thanks, @gabrieljablonski

from react-tooltip.

iver003 avatar iver003 commented on June 3, 2024

Please set the repo to public. Can't clone it right now.

sorry, here I pass again the repo so you can clone it and tell me what to do.

SSH
[email protected]:iver003/testToolTip2.git

Https
https://github.com/iver003/testToolTip2.git

GitHub CLI
gh repo clone iver003/testToolTip2

thanks, @gabrieljablonski

from react-tooltip.

gabrieljablonski avatar gabrieljablonski commented on June 3, 2024

I'll assume upgrading react-scripts worked for you. I've updated the troubleshooting section to include this.

Please reopen with more info if it didn't work.

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.