Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

`Manifest file is invalid` when installing my chrome extension?

This is my manifest.json

{

  "name": "Environment Quick Switch",

  "version": "1.0",

  "description": "Quick switch around develop environments.",

  "browser_action": {

    "default_icon": "icon.png",
    "popup": "action.html"

  },

  "permissions": [

    "tabs", "http://*/*", "https://*/*"

  ]

}

I load it's folder in develop mode is OK, but after I packaged it and try to install the .crx file, comes the Manifest file is invalid problem .

Is anyone knows how to deal with this?

like image 246
Aloong Avatar asked Mar 16 '12 05:03

Aloong


Video Answer


2 Answers

I got this error too when I updated my extension. I think it happens sometimes when your extension is propagating to various servers. I came and looked at this thread and then went back to the store and tried again and it was fine.

like image 132
reillyse Avatar answered Sep 29 '22 05:09

reillyse


I finally fixed this problem, it's just because my develop folder's path contains Chinese characters, moved it to a English path can solve this.

like image 26
Aloong Avatar answered Sep 29 '22 04:09

Aloong