You’re getting the error because the extension doesn’t have an ID.
Extensions and the add-on ID > When do I need an add-on ID?
For Manifest V2 extensions, you need to add an add-on ID when:
You want to install an unsigned add-on from its XPI file, rather than loading it temporarily usingabout:debugging
.
You can set the ID with browser_specific_settings .