Git Product home page Git Product logo

Comments (6)

jcace avatar jcace commented on May 27, 2024

Same issue here

    "ol": "^7.1.0",
    "react": "^18.2.0",
    "@terrestris/react-geo": "^20.0.0",
    "react-dom": "^18.2.0",

from react-geo.

dnlkoch avatar dnlkoch commented on May 27, 2024

Looking at your dependencies I assume the error might be caused by react / react-dom in version 18 (and probably antd in version 5). Could you please try to downgrade the react and react-dom to version 17? Version 18 is not supported (or at least tested) by react-geo right now.

from react-geo.

evlist avatar evlist commented on May 27, 2024

I have switched to SolidJS (instead of React) and I am now using openlayers directly and I don't have the problem anymore !

from react-geo.

dnlkoch avatar dnlkoch commented on May 27, 2024

Ok, thanks for the update.

from react-geo.

KaiVolland avatar KaiVolland commented on May 27, 2024

I think this is still a problem and i think its due to the fact that "@types/react": "^17.0" is in the dependencies.
As it is a peerDependency it should not be in the dependencies but in the devDependencies if needed for developement.
"@types/node": "^18.0.0", should also be just in the devDependencies.

from react-geo.

dnlkoch avatar dnlkoch commented on May 27, 2024

🎉 This issue has been resolved in version 22.1.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

from react-geo.

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.