Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Learn More

Addon cannot be installed because it seems to be corrupt

  • 1 odpowiedź
  • 0 osób ma ten problem
  • Ostatnia odpowiedź od 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.

Wszystkie odpowiedzi (1)

more options

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

Pomocne?

Zadaj pytanie

Aby odpowiadać na posty, musisz zalogować się na swoje konto. Zadaj pytanie, jeśli nie masz jeszcze konta.