Closed krzysztofzaluski closed 1 month ago
@krzysztofzaluski any chance for a repro?
The only thing I can see from the description and logs is that somehow filename gets passed to the ProgressPlugin
as platform - it's hard for me to find the root cause of that without a repro. Not to mention the time it would cause using this method. If you care about fixing this please create a minimal reproduction repository so we can address this issue, thanks!
@jbroma I will try to prepare a repro repository and let you know
hey @jbroma we tried that canary version with fix: https://www.npmjs.com/package/@callstack/repack/v/4.4.0-canary-20240909082848 but now we have an issue that every small change in app turns to whole app restart here is a repository where you can see it: https://github.com/krzysztofzaluski/ReactNativeRepackProject repo contains two branches:
4.3.3
version and it works fine4.4.0-canary-20240909082848
where the bug happenscould you take a look?
@krzysztofzaluski FYI this feature should be available with the next alpha release of Re.Pack 5.0 this week
Hey, in our project we are using RePack in version
4.1.1
(but I also tried latest4.2.0
) and if in our async services some error is thrown then we got a lot ofCompiling webpack
logs pointing to folder in which error appeared and then the server goes into an infinite loop until it throws an out of memory error as if there is some kind of memory leak, checking the computer activity monitor - the repack server swells to several gigabytes.Here is an example output:
I had to cut the logs because of character limitations but anyway after that it starts again to compile
[LoggerPlugin] Compiling webpack:///src/services...
and over and over the same logs appear.Here in that example I just for testing purposes try to access non-existing parameter from some object in our
NotificationService
, but it's just example, any other error can cause that like unhandled promise rejection or using non-existing parameter in method.Do you have any ideas how to handle it and why it's thrown?