Code Monkey home page Code Monkey logo

Comments (8)

vvavepacket avatar vvavepacket commented on June 13, 2024 1

Yes 1.1.1 fixed the issue. Thanks!

from vue2-leaflet-vectorgrid.

yellowcap avatar yellowcap commented on June 13, 2024

Could you try import Vue2Leaflet from 'vue2-leaflet'?

from vue2-leaflet-vectorgrid.

dGilli avatar dGilli commented on June 13, 2024

I get the same error even with the default import.

from vue2-leaflet-vectorgrid.

SaboteurInCave avatar SaboteurInCave commented on June 13, 2024

Sorry for inconvenience, but it seems, that latest commit with dependecies fix is not uploaded on npm - and developers still load outdated package version. @yellowcap, can you, please, upload new version?

from vue2-leaflet-vectorgrid.

vvavepacket avatar vvavepacket commented on June 13, 2024

@SaboteurInCave I encounter the same error. It seems the developer hasnt updated npm. How can I fix it myself temporarily and just apply the necessary changes in my local machine?

WARNING Compiled with 1 warnings 9:38:52 AM

 warning  in ./node_modules/vue2-leaflet-vectorgrid/Vue2LeafletVectorGridProtobuf.vue?vue&type=script&lang=js&

"export 'default' (imported as 'v2l') was not found in 'vue2-leaflet'

from vue2-leaflet-vectorgrid.

yellowcap avatar yellowcap commented on June 13, 2024

I just pushed an update to npm now. Version 1.0.7. Does this solve your problems?

from vue2-leaflet-vectorgrid.

vvavepacket avatar vvavepacket commented on June 13, 2024

@yellowcap
I tried installing 1.0.7 from npm but got the following issue

 ERROR  Failed to compile with 1 errors                                                                         10:56:40 AM

This dependency was not found:

* leaflet.vectorgrid in ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/c
ache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/vue2-leaflet-vectorgrid/
Vue2LeafletVectorGridProtobuf.vue?vue&type=script&lang=js&

To install it, you can run: npm install --save leaflet.vectorgrid

I mean I should not install leaflet.vectorgrid in my main project since this library should take care, but it seems I'm getting the error now when I installed 1.0.7

from vue2-leaflet-vectorgrid.

yellowcap avatar yellowcap commented on June 13, 2024

I made a few more improvements and released them under 1.1.1. Please try again and let me know if you still get that error.

from vue2-leaflet-vectorgrid.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.