Pedro Menezes
Pedro Menezes

Reputation: 53

"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?

Upvotes: 5

Views: 5283

Answers (4)

KevinLc
KevinLc

Reputation: 53

I got this error too , I think maybe your resources under a SkyDrive folder or some team code Management soft folder . Try to copy the resources to another path, such as desktop. package your plugin with the new path , then your may resolve it !

Upvotes: 0

Stone
Stone

Reputation: 2668

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.

Upvotes: 3

StackRover
StackRover

Reputation: 587

Logging out and in worked for me.

Upvotes: 4

user879121
user879121

Reputation:

I had the same problem today. Restarting worked for me. I got the idea for it from a Chromium bug report. Though sometimes it is an actual packaging problem.

Upvotes: 0

Related Questions