GeoTIFF/georaster-layer-for-leaflet

NuxtJS: error in library

xayrullo opened this issue · 0 comments

Describe the bug
When we run georaster, our nuxt project doesn't read this library. Instead of this thrown

ERROR in ./node_modules/georaster-layer-for-leaflet/dist/georaster-layer-for-leaflet.min.js 2:37677
Module parse failed: Unexpected token (2:37677)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| /*! For license information please see georaster-layer-for-leaflet.min.js.LICENSE.txt */error

Please give me some information about how to add and use georaster in NUXT.JS projects

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots

Desktop (please complete the following information):

  • OS: Windows10
  • Browser: chrome
  • Node: 14.17.6

Additional context
Add any other context about the problem here.