akursat / react-leaflet-cluster

React-leaflet-cluster is a plugin for react-leaflet. A wrapper component of Leaflet.markercluster.
MIT License
104 stars 36 forks source link

Global CSS cannot be imported from within node_modules #4

Closed sinnrrr closed 3 years ago

sinnrrr commented 3 years ago
error - /home/sinnrrr/Work/loonify/node_modules/leaflet.markercluster/dist/MarkerCluster.css
Global CSS cannot be imported from within node_modules.
Read more: https://err.sh/next.js/css-npm
Location: ../../node_modules/react-leaflet-cluster/lib/index.js
Could not find files for / in .next/build-manifest.json
Could not find files for / in .next/build-manifest.json

the more you can read at the link, provided in the upper code part (https://err.sh/next.js/css-npm)

sinnrrr commented 3 years ago

closed, because issue is not related to this package + using SSR may cause unrelated errors