Giter Site home page Giter Site logo

Comments (9)

IjzerenHein avatar IjzerenHein commented on May 3, 2024

Hmm, no idea to be honest. Most of the time it's an issue with the haul bundler. Could you check whether your project builds with haul and or not, and what errors you are getting?

from react-native-bundle-visualizer.

gprocell927 avatar gprocell927 commented on May 3, 2024

@ljzerenHein (thanks for the response!), the project isn't building with haul and the only error I was getting was the one that would say Can't resolve 'react-hot-loader' when I would try to run yarn run react-native-bundle-visualizer. Afterward, it would just stop running altogether. 🤔

from react-native-bundle-visualizer.

IjzerenHein avatar IjzerenHein commented on May 3, 2024

Do you have react-hot-loader in your babelrc?

from react-native-bundle-visualizer.

gprocell927 avatar gprocell927 commented on May 3, 2024

We don't have a babelrc file or react-hot-loader. We're just using a babel.cofig.js file.

So I guess I should look into those as well? 🤔

from react-native-bundle-visualizer.

IjzerenHein avatar IjzerenHein commented on May 3, 2024

What are you using the babel.config.js file for? Can you share its contents here?

from react-native-bundle-visualizer.

radeno avatar radeno commented on May 3, 2024

@gprocell927 i got same issues even with haul.
You need to add react-dom and react-hot-loader to devDependencies

from react-native-bundle-visualizer.

radeno avatar radeno commented on May 3, 2024

Same issue here callstack/haul#508 looks like it is not fixed yet

from react-native-bundle-visualizer.

amed avatar amed commented on May 3, 2024

Same issue here, BUT what is noticeable is , the hot reloading issue is related to a dir level above.

Field 'browser' doesn't contain a valid alias configuration
             /Users/amed/mobile/node_modules/react-hot-loader.js doesn't exist
         /Users/amed/node_modules/react-hot-loader doesn't exist
       .ios.js

from react-native-bundle-visualizer.

IjzerenHein avatar IjzerenHein commented on May 3, 2024

Hi, I've released a new version which fixes the issue regarding the react-hot-loader. It basically installs these two dependencies, which are apparently needed by Haul.
Also, it adds support for transpilation of the new @react-native-community libs, which are shipped as flow-code and therefore require transpilation.
https://github.com/IjzerenHein/react-native-bundle-visualizer/releases/tag/v1.4.1

from react-native-bundle-visualizer.

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.