Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Learn More

Addon cannot be installed because it seems to be corrupt

  • 1 resposta
  • 0 têm este problema
  • Última resposta por 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.

Todas as respostas (1)

more options

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

Útil?

Colocar questão

Deve iniciar a sessão com a sua conta para responder às mensagens. Por favor, comece uma nova pergunta, se ainda não tiver uma conta.