Can't resolve 'maplibre-gl' in version 4.0.2
XardasLord opened this issue · 2 comments
XardasLord commented
Describe the bug
After upgrading to 4.0.2 I'm getting the following error after running my app:
./node_modules/esri-leaflet-vector/dist/esri-leaflet-vector-debug.js:5:127-149 - Error: Module not found: Error: Can't resolve 'maplibre-gl' in 'C:\localRepositories\Private\EOP.GeoLink\src\GeoLink.Client\node_modules\esri-leaflet-vector\dist'
Reproduction
- Upgrade esri-leaflet-vector package to 4.0.2
- Run app
Logs
No response
System Info
Leaflet - v1.9.3
esri-leaflet - v3.0.10
esri-leaflet-renderers - v3.0.0
esri-leaflet-vector - v4.0.2"
Additional Information
No response
gavinr commented
Hi, thank you for the report. v4.0.2 is working here:
https://jsbin.com/humavuhuve/2/edit?html,output
and it looks like you're using it in NPM, so I tested it here: https://github.com/gavinr/esri-leaflet-react-demo and v4.0.2 seems to work there too.
So can you please share a detailed, step by step replication case so I can fully understand the issue you're running into? Thank you!
stale commented
This issue has been automatically marked as stale because we're waiting on more information or details, but have not received any response. It will be closed if no further activity occurs. Thank you!