Coder Social home page Coder Social logo

Comments (7)

tom-sherman avatar tom-sherman commented on May 26, 2024 1

We run the react-native start-webpack command manually. You can always replace that build phase with one that runs start-webpack instead.

from repack.

zamotany avatar zamotany commented on May 26, 2024

Yeah, if you could create a PR for that, I'm happy to merge it. My main concern is that we would have to maintain those scripts, but is should be rather straightforward to do.

from repack.

tom-sherman avatar tom-sherman commented on May 26, 2024

Another solution could be a note in the docs to recommend use of the --no-packager flag when running android/ios?

from repack.

RafikiTiki avatar RafikiTiki commented on May 26, 2024

@rahulsmehta are you still willing to add a section in the docs regarding this configuration change? It will make make everyone's life easier at least until we have an automated way to generate a repack-configured app (like a rn-cli template). Evan after that happens it will be beneficial to have this section for all the people who are migrating brownfield apps from metro to repack.

from repack.

gronxb avatar gronxb commented on May 26, 2024

Is there any further support for this anymore ?

The metro runs when I do react-native run-ios, and the metro runs when I build from xcode.

Should I always develop with the following command only ?
react-native run-ios --no-packager && react-native webpack-start

In my case, applying the patch did the same, and I got a message that the error: unknown command 'webpack-start'.

I want is a react-native that works perfectly with pnpm and monorepo.

from repack.

tom-sherman avatar tom-sherman commented on May 26, 2024

The metro runs when I do react-native run-ios, and the metro runs when I build from xcode.

You can remove the build phase to stop this from happening. Mine was called "Start Packager".

from repack.

gronxb avatar gronxb commented on May 26, 2024

@tom-sherman
Thanks for the feedback! but
I've checked the "Start Packager" and if I clear it, I won't be able to launch dev apps from xcode.
The feature to launch dev apps from xcode is exactly what I need.
I want the "Start Packager" to be webpack-start as normal.

from repack.

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.