Grafana druid plugin failed to start

Grafana version 8.1.8. I’m getting a Failed to start plugin error when trying to add the grafana-druid plugin (v1.3.0):

        EROR[09-22|14:50:59] Failed to start plugin                   
    logger=plugins.backend pluginId=grafadruid-druid-datasource 
    error="fork/exec /Users/Documents/Projects/Software/Plugins/druid/dist/grafadruid-druid-datasource_darwin_amd64: 
    no such file or directory"

I’ve taken the Source code for druid-grafana plugin from here - Release v1.3.0 · grafadruid/druid-grafana · GitHub

And I built it using npm install followed by npm run build, but after I copied the dist folder into the plugins directory, I see this error. It’s looking for an amd64 binary, but I want to make some changes to the plugin which is why I don’t want to use the binary directly. The other plugins I added (which don’t have the binary in their dist folders) using the same process work without issues. Any help appreciated.