Hellenic / react-hexgrid

Build interactive hexagon grids with React
https://hellenic.github.io/react-hexgrid/examples/
MIT License
314 stars 128 forks source link

[ERROR] Could not resolve "@emotion/react/jsx-runtime" (Seems this library doesnt want to work with Material UI) #98

Closed EbokianKnight closed 2 years ago

EbokianKnight commented 2 years ago
✘ [ERROR] Could not resolve "@emotion/react/jsx-runtime"

    ../../node_modules/react-hexgrid/lib/Layout.js:12:28:
      12 │ import { jsx as _jsx } from "@emotion/react/jsx-runtime";
         ╵                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  You can mark the path "@emotion/react/jsx-runtime" as external to exclude it from the bundle,
  which will remove this error.
jannikbuschke commented 2 years ago

@EbokianKnight can you check v2.0.1?

EbokianKnight commented 2 years ago

🎉 I'm very pleased to announce that it works. 🙇

Your work is much appreciated.

EbokianKnight commented 2 years ago

Closing this as done.