Giter Club home page Giter Club logo

Comments (8)

matthewberryman avatar matthewberryman commented on August 30, 2024

Seems to be caused by webpack/webpack#6642 with temporary fix in place from webpack 4.4.1 kalcifer/webpack-library-example#8

from dms-js.

matthewberryman avatar matthewberryman commented on August 30, 2024

AcrossTheCloud@a7f431f fixes that error, but then my import ends up undefined, presumably because of this reason vuejs/vue#7655

from dms-js.

matthewberryman avatar matthewberryman commented on August 30, 2024

https://github.com/WSDOT-GIS/dms-js/blob/master/tsconfig.json#L44 defines esModuleInterop as true but then the json is invalid at that point (missing comma) so maybe that's breaking things.

from dms-js.

matthewberryman avatar matthewberryman commented on August 30, 2024

correction on my previous comment: the json was valid, I missed spotting that that was the last key/value pair (the rest are commented out) due to spurious syntax highlighting in Atom.

from dms-js.

matthewberryman avatar matthewberryman commented on August 30, 2024

In my case, babel is then remapping 'this' to 'undefined': https://babeljs.io/faq#why-is-this-being-remapped-to-undefined
Not sure on an easy solution to this.

from dms-js.

fkm avatar fkm commented on August 30, 2024

I reverted back to 3.0.0

from dms-js.

JeffJacobson avatar JeffJacobson commented on August 30, 2024

I've implemented the changes from #6 and published a "3.1.1-alpha.1" version to npm. Let me know if this resolves the issue.
@matthewberryman @fkm

from dms-js.

matthewberryman avatar matthewberryman commented on August 30, 2024

Thanks @JeffJacobson, tested successfully in MSFREACH/msf-reach@92fa656

from dms-js.

Related Issues (7)

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.