Git Product home page Git Product logo

Comments (4)

ef4 avatar ef4 commented on August 13, 2024 1

Should be fixed in 1.2.3

from ember-auto-import.

ef4 avatar ef4 commented on August 13, 2024 1

Yeah, I can reproduce that, it's an instance of issue #58.

from ember-auto-import.

ef4 avatar ef4 commented on August 13, 2024

Ah, perhaps you are running with your addon npm linkd into your app?

It looks like probably I missed that case when I wrote this version check. Right now it's being too strict -- it wants to make sure you're using exactly the same copy of leaflet from both places. If you're running npm linked, both will have their own copy.

Possible workaround: npm link leaflet into both the app and the addon.

from ember-auto-import.

jnkroeker avatar jnkroeker commented on August 13, 2024

Brilliant! Solved that issue, but I have a follow on error I hope you might be able to shed light on:

Uncaught SyntaxError: Unexpected token :
at Object../node_modules/leaflet.markercluster/dist/leaflet.markercluster-src.js (app.js:918)
at webpack_require (app.js:80)
at Module.eval [as callback] (app.js:15)
at Module.exports (loader.js:106)
at Module._reify (loader.js:143)
at Module.reify (loader.js:130)
at Module.exports (loader.js:104)
at requireModule (loader.js:27)
at Class._extractDefaultExport (index.js:396)
at Class.resolveOther (index.js:98)

leaflet.markercluster is a dependency in both my add-on and consuming app.

from ember-auto-import.

Related Issues (20)

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.