Using local images make unable to sign addon

Hi everyone, I’m trying to publish my first ever created addon, so as usual first of all I have tried to sign this extension using web-ext firefox extension tool. But it produce error.

But the gotcha is that when I don’t use local images as assets for my project or if I use web images url then addon get signed succussfully.

Is I’m doing something wrong or we can’t use local images in extensions ?

Is your extension bigger than 200MB when you package everything? Because that’s the limit: https://extensionworkshop.com/documentation/publish/submitting-an-add-on/

No. It’s around 4.5MB. For creating extension I’m using following tech

  1. react
  2. babel
  3. webpack
  4. Node v12

But that’s not an issue because when I don’t use image or instead use web image url then everything works fine.

Below is my source-code url, if you wanna replicate this error.

By the way thanks for the support.

Hey @CoderOO7, are you trying to sign todoroll-0.0.1.zip with web-ext?

Based on the log in the initial post, they’re submitting from the dist subdirectory (https://github.com/CoderOO7/todoroll/tree/main/dist)

No I’m following these steps:

  1. Create the build by running command npm run build
    from root directory.
  2. Then cd into dist folder.
  3. Then runnig this web-ext command web-ext sign --api-key=$AMO_JWT_ISSUER --api-secret=$AMO_JWT_SECRET with my credentials.

After running this command I’m receiving the above error.