Skip to main content
added 1 character in body
Source Link
IvanSanchez
  • 18.9k
  • 3
  • 36
  • 47

This is what shows on https://localhost:3000This is what shows on https://localhost:3000

Failed to compile ⨯ ./node_modules/@react-leaflet/core/lib/dom.js Attempted import error: 'DomUtil' is not exported from 'leaflet' (imported as 'DomUtil'). This error occurred during the build process and can only be dismissed by fixing the error.

I'm just not sure what the problem is, I uninstalled and reinstalled react-leaflet and leaflet versions.

This is what shows on https://localhost:3000

Failed to compile ⨯ ./node_modules/@react-leaflet/core/lib/dom.js Attempted import error: 'DomUtil' is not exported from 'leaflet' (imported as 'DomUtil'). This error occurred during the build process and can only be dismissed by fixing the error.

I'm just not sure what the problem is, I uninstalled and reinstalled react-leaflet and leaflet versions.

This is what shows on https://localhost:3000

Failed to compile ⨯ ./node_modules/@react-leaflet/core/lib/dom.js Attempted import error: 'DomUtil' is not exported from 'leaflet' (imported as 'DomUtil'). This error occurred during the build process and can only be dismissed by fixing the error.

I'm just not sure what the problem is, I uninstalled and reinstalled react-leaflet and leaflet versions.

Source Link

Deployment error for Importing/exporting DomUtil

This is what shows on https://localhost:3000

Failed to compile ⨯ ./node_modules/@react-leaflet/core/lib/dom.js Attempted import error: 'DomUtil' is not exported from 'leaflet' (imported as 'DomUtil'). This error occurred during the build process and can only be dismissed by fixing the error.

I'm just not sure what the problem is, I uninstalled and reinstalled react-leaflet and leaflet versions.