Giter VIP home page Giter VIP logo

Comments (2)

loganfsmyth avatar loganfsmyth commented on May 26, 2024

I don't think there's enough info here to answer this. What new is failing? What makes you think this is an issue with decorators? What are you decorating?

from babel-plugin-transform-decorators-legacy.

Jujenji avatar Jujenji commented on May 26, 2024

Hey logan,
thanks so much for your fast reply.
So the thing is, before implementing the decorator mentioned above everything works smoothly inside the emulator in a Test and in a production environment. Even after implementing and running the app in an test environment, like building a debug version, everything is running smoothly and I get the logs I need and the decorator works as expected. But as soon as I have a compiled version set for release, the app crashes on start with the error message stated.

To answer your questions: I am decorating functions only, as I only want them to be logged. Purposely for example getting to know if my backend calls are called and which params they got, and what their return value is.

For the other question tho, this is what gives me the headache. It literally is "new u" but "u" is not a Class or Object in my Code but is only existing inside the obfuscated Code when compiled and there are like way too many of those.

Is there anything I could provide you or would you have any idea from experience what could cause this?

Thank you and best regards from Germany

J

from babel-plugin-transform-decorators-legacy.

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.