Giter Club home page Giter Club logo

Comments (6)

douglasjunior avatar douglasjunior commented on September 27, 2024

Sorry, but this library has nothing to do with babel, this is a problem with your environment or babel config.

from react-native-keyboard-manager.

faisal-ali12 avatar faisal-ali12 commented on September 27, 2024

@douglasjunior it not a environment issue, you are using Deprecated version by adding .babelrc this file "babel-preset-react-native", the newer version https://github.com/facebook/metro/tree/main/packages/metro-react-native-babel-preset

Please read and do research before closing the PR out.
Thanks

from react-native-keyboard-manager.

douglasjunior avatar douglasjunior commented on September 27, 2024

This Babel file should not be loaded from within the node_modules, so I think it is some special config of your environment. (We use this lib in many projects, from RN 0.60 to 0.71 and never had issues like that)

Anyway, if this file is really a problem, the proper solution is to add it to .npmignore and not remove it.

from react-native-keyboard-manager.

faisal-ali12 avatar faisal-ali12 commented on September 27, 2024

@douglasjunior but still you are using outdate file in your project and can you update that ? it will solve all the issue.
it bad to remove any file form node_module.

you just need to update babel preset which is deprecated.

Screenshot 2023-04-14 at 2 40 58 PM

from react-native-keyboard-manager.

douglasjunior avatar douglasjunior commented on September 27, 2024

As I said earlier, this preset is not used by the lib directly, but only during the development of the lib.

Therefore, we shouldn't worry about it now.

from react-native-keyboard-manager.

douglasjunior avatar douglasjunior commented on September 27, 2024

I didn't tell you to remove the file from your node_modules, I said the correct fix would be to add it to the lib's npmignore.

However, I insist that it is strange that this file is affecting the build of your project.

If you can provide a project where the issue is reproduced I would be happy to help.

from react-native-keyboard-manager.

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.