`Manifest file is invalid` when installing my chrome extension?
Solution 1
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.
Solution 2
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.
Solution 3
I had the same problem. The zip-file was accepted in the developer dashboard, but I got an error message saying that my manifest-file was invalid when installing from the webstore.
No Chineese characters on my end, it seemed like the problem was with character encoding.
I saved the manifest.json-file as ANSI - not UTF8 - and the package was accepted by the chrome webstore.
Solution 4
For anyone having issues with this
To find the error in the manifest file I did the following:
- went into the new developer dashboard
- clicked on the "package" section where you can upload a new package
- clicked the CRX File main.crx download link for the Published package.
The site then gives a path for the error in an error message in the top of the page.
My error was in the exclude_matches list, i had an excluded path with invalid match syntax. The index in the exclude_matches part of the error message showed which entry that had errors (exclud_matches[1], 0-indexed, so second entry had an error).
Comments
-
Aloong almost 2 years
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?