Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Manifest file is invalid"

I am updating my Chrome extension's manifest version.

In my local machine, it works.

When I try to install via the test group, it shows the “Manifest file is invalid” error.

Here's my manifest:

{
  "name": "MercadoLivre - Sugestões de busca",
  "description" : "Busque no MercadoLivre direto da barra de endereços",

  "version": "0.12",
  "manifest_version": 2,

  "icons": { "128": "logo.png" },

  "background": {
    "page": "background.html"
  },

  "content_security_policy": "script-src 'self' https://ssl.google-analytics.com; object-src 'self'",

  "omnibox": { "keyword" : "ml" },

  "permissions": [
    "http://suggest.mlapps.com/jm/*"
  ]
}

How can I fix that?

like image 261
Pedro Menezes Avatar asked Jul 10 '12 19:07

Pedro Menezes


2 Answers

Logging out and in worked for me.

like image 145
StackRover Avatar answered Sep 25 '22 01:09

StackRover


For me, the error was a result of updating my plugin and then trying to install it immediately. When I waited a few minutes, the error no longer appeared. The Google Extension servers are probably out of sync for a few minutes during the time it takes to propagate the new update.

like image 38
Stone Avatar answered Sep 22 '22 01:09

Stone