NeshanMaps / react-neshan-map-leaflet

React.JS component for Leaflet javascript library, to use Neshan Maps Platform in you web applications. This means you can easily load the map tiles and layers in your React app using leaflet library.
20 stars 10 forks source link

cannot find module error in nextjs #6

Open mohammad6vakili opened 2 years ago

mohammad6vakili commented 2 years ago

hi I'm using this package in next js project and ive got this error when reloading the page Cannot find module 'D:\Programming\Projects\iket\iket\node_modules\react-neshan-map-leaflet\dist\loaders\neshan_map_loader' imported from D:\Programming\Projects\iket\iket\node_modules\react-neshan-map-leaflet\dist\NeshanMap.js

hossein-ghanbari commented 2 years ago

https://github.com/NeshanMaps/react-neshan-map-leaflet/issues/4#issuecomment-962399195