Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

Learn More

Addon cannot be installed because it seems to be corrupt

  • 1 réponse
  • 0 a ce problème
  • Dernière réponse par harjoat

more options

I've made an extention which works fine when I test it using the temp mode on firefox. When I attempt to install from file however I'm told it could not be installed as it appears to be corrupt. Below are the package.json and the manifest.json:

package.json

{

 "name": "ext",
 "version": "1.0.0",
 "description": "",
 "main": "contentScript.js",
 "scripts": {
   "test": "echo \"Error: no test specified\" && exit 1"
 },
 "keywords": [],
 "author": "",
 "license": "ISC"

}


manifest.json

{

 "manifest_version": 2,
 "name": "SKUORG",
 "version": "1.0",
 "description": "Organises SKUs on WooPage",
 "permissions": [
   "activeTab",
   "webNavigation",
   "<all_urls>"
 ],
 "content_scripts": [
   {
     "matches": ["<all_urls>"],
     "js": ["contentScript.js"]
   }
 ]

}


I have tried on two devices / installs of firefox and have followed the steps I could find on this page : https://support.mozilla.org/en-US/kb/unable-install-add-ons-extensions-or-themes#w_corrupt-extension-files

If you have any suggestions please let me know.

I've made an extention which works fine when I test it using the temp mode on firefox. When I attempt to install from file however I'm told it could not be installed as it appears to be corrupt. Below are the package.json and the manifest.json: package.json { "name": "ext", "version": "1.0.0", "description": "", "main": "contentScript.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [], "author": "", "license": "ISC" } manifest.json { "manifest_version": 2, "name": "SKUORG", "version": "1.0", "description": "Organises SKUs on WooPage", "permissions": [ "activeTab", "webNavigation", "<all_urls>" ], "content_scripts": [ { "matches": ["<all_urls>"], "js": ["contentScript.js"] } ] } I have tried on two devices / installs of firefox and have followed the steps I could find on this page : https://support.mozilla.org/en-US/kb/unable-install-add-ons-extensions-or-themes#w_corrupt-extension-files If you have any suggestions please let me know.

Toutes les réponses (1)

more options

Nvm I have signed the addon and it is working as it should now :)

Cela vous a-t-il été utile ?

Poser une question

Vous devez vous identifier avec votre compte pour répondre aux messages. Veuillez poser une nouvelle question, si vous n’avez pas encore de compte.