How to deploy Simple JSON datasource plugin manually

Hi,
I have complied the code provided for Simple Json data source with alerts support. When I copied the folder after the compile to /grafana/data/plugins folder and restrated grafana, I get the following error while adding the data source

Cannot read property ‘from’ of undefined

Any help in this regard is highly appreciated.

Manish