Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade OpenLayers from '6.4.3' --> '6.7.0' #261

Closed
wants to merge 1 commit into from

Conversation

JakobMiksch
Copy link
Collaborator

  • Upgrading to OpenLayer versions 6.5.0 and 6.6.0 worked without problem.
  • The upgrade to OpenLayer 6.7.0 caused this error on npm run dev
Module parse failed: /home/jakob/Downloads/wegue/node_modules/geotiff/src/geotiff.js Unexpected token (289:35)
You may need an appropriate loader to handle this file type.
|     }
|
|     return usedImage.readRasters({ ...options, window: wnd });
|   }
| }

 @ ./~/ol/source/GeoTIFF.js 36:0-81
 @ ./~/ol/source.js
 @ ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/ol/Map.vue
 @ ./src/components/ol/Map.vue
 @ ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./app/WguAppTemplate.vue
 @ ./app/WguAppTemplate.vue
 @ ./~/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./app/WguApp.vue
 @ ./app/WguApp.vue
 @ ./src/main.js
 @ multi ./build/dev-client ./src/main.js

> Listening at http://localhost:8081
  • it could be solved with the help of this post
  • upgrading to the (currently latest) OpenLayers version 6.8.0 caused this error and is not fixed yet:
this dependency was not found:                             

* txml/txml in ./~/geotiff/src/geotiffimage.js             

To install it, you can run: npm install --save txml/txml   
> Listening at http://localhost:8081      

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant