remotion-dev / remotion

πŸŽ₯ Make videos programmatically with React

Home Page:https://remotion.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Webpack warning during render

mnlbox opened this issue Β· comments

Bug Report πŸ›

Hi @JonnyBurger,

I recently updated my Remotion to the latest version and now I see warnings like bellow during my render with renderMedia function:

<w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/mnlbox/my-video/node_modules/.cache/webpack/remotion-production-4.0.153/7f1607db6e7c4fc25632d965bc2097da/0.pack_' -> '/mnlbox/my-video/node_modules/.cache/webpack/remotion-production-4.0.153/7f1607db6e7c4fc25632d965bc2097da/0.pack'
<w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/mnlbox/my-video/node_modules/.cache/webpack/remotion-production-4.0.153/7f1607db6e7c4fc25632d965bc2097da/0.pack_' -> '/mnlbox/my-video/node_modules/.cache/webpack/remotion-production-4.0.153/7f1607db6e7c4fc25632d965bc2097da/0.pack'

It seems everything is working so I thought maybe I can ignore the warning but I have this feeling that the my render takes more time than before. Is it a bug somewhere?

Although this is true and annoying, it's a Webpack problem and outside of our control.
It's safe to ignore though!

If you really want to chase the bug down, you can file an issue in Webpack or even try to debug it.

Thanks @JonnyBurger for the update.

Just a quick update:
I ignored the warning as you suggested but as I mentioned in my initial message, the rendering clearly takes more time than before after upgrading Remotion to the latest version and it's much much slower.
I'll trying to downgrade Remotion packages and see if it fix the issue or not and keep you updated.