Minified React error #130 in Docker

I’m updating an old plugin from AnugalarJs to React, but I’m having some trouble running the grafana/ui components in a docker container. When I start Grafana locally using brew the plugin loads successfully without any problems. But when I run the plugin in a Docker container I get
Error: Minified React error #130; visit https://reactjs.org/docs/error-decoder.html?invariant=130&args[]=undefined&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings. when configuring the datasource. My yarn watch also doesn’t log any errors.
I’m using Grafana 7.3.2
Has anyone ever had this problem?