Hello,
I currently have a local instance of Grafana set-up with custom panels built. In these panels, I am using various methods from D3. On my local instance, everything runs fine. However, when I build the image and run my container, I obtain the following error:
caught TypeError: Cannot read properties of undefined (reading 'transform')
For reference, I have mounted my plugins folder to /var/lib/grafana/plugins – and all my custom panels are shown and work (mostly) fine. From this exchange it seems like this may be a version issue. However, when I console.log(d3.version), my local instance logs v5.15.0, while the Docker build displays undefined. Furthermore, if I console.log(d3), ‘version’ is missing from the module. Any thoughts?
I am running Grafana 9.4.7 , Mac OS Ventura (Mac M1) and am using the --platform linux-amd64 tag in my image build.