remotion-dev / remotion

🎥 Make videos programmatically with React

Home Page:https://remotion.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Collision with library variable `_a` causing startup error

JonnyBurger opened this issue · comments

From message posted on Discord by etalix

I'm running into a problem even using the HelloWorld example when also using a libary that defines a variable name _a. It looks like there is an error being thrown because the refreshModuleRuntime used in the @remotion/bundler fast-refresh is declaring var _a, _b, _c and appending it to the source of the library that is being included. This name collision is preventing the application from starting.

I'm still trying to dig deeper to see if I can track down exactly where the problem is, but the code is not easy to follow. Is there a way to disable fast-refresh just to validate my hunch?