Publishing custom Widgets

Hi all,

We created a few custom widgets using this tutorial in a local dev environment running the latest Piwik.

https://piwik.org/blog/2014/09/create-widget-introducing-piwik-platform/

These widgets work great, and we’re ready to publish them to production. These were pretty simple widgets we added to the events plugin. In dev, we did this:

console development:enable
console generate:widget
Enter the name of your plugin: CustomDimensions
Enter the name of your Widget, for instance “Browser Families”: GetPartnerOutlinks
Enter the widget category, for instance “Visitor” (you can reuse any existing category or define a new one): Custom

And also

Enter the name of your plugin: Events
Enter the name of your Widget, for instance “Browser Families”: GetSearchTerms
Enter the widget category, for instance “Visitor” (you can reuse any existing category or define a new one): Custom

However, when trying to run these same commands in production we get this message

Enter the name of your plugin: Events
You have to enter the name of an existing plugin which does not already have any widgets defined

I can’t find any information on this issue. Is there a better way to push these widgets to production?

Thanks!