Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

`Manifest file is invalid` when uploading my chrome extension to the Chrome Web Store

I have been developing a chrome extension locally. I just finished it and wanted to upload it to the Chrome Web Store. When I uploaded it and it told me:

An error occurred: Invalid manifest. If your manifest includes comments, please remove them as our gallery does not support them yet.

I checked the JSON to make sure it it was valid and as far as I can tell it is fully valid. I tried naming it differently and uploading it and it still didn't work. I also tried changing the encoding and that did not work. The Manifest is below

{
    "name": "Name",
    "version": "0.0.0.0.1",
    "manifest_version": 2,
    "description": "Description",
    "browser_action": {
        "default_icon": "icon.png",
        "default_popup": "popup.html"
    },
    "icons": { "128": "icon.png"},
    "permissions": [
        "tabs",
        "http://*/*",
        "webNavigation",
        "history",
        "storage"
    ],
    "content_scripts": [{
        "matches": ["http://*/*", "https://*/*"],
        "js": ["js/jquery.min.js", "js/tab.js"]
    }],
    "background": {
        "page": "background.html"
    }
}

Does any one have any clue what the problem is? It is really frustrating to get this after finally finishing the extension.

like image 273
chromedude Avatar asked Jan 04 '13 04:01

chromedude


1 Answers

Used your manifest.json, got this error.

Could not load extension from '/Users/jjperezaguinaga/samples/ext'. Required value 'version' is missing or invalid. It must be between 1-4 dot-separated integers each between 0 and 65536.

I removed some 0's from your version and I was able to load it.

like image 173
jjperezaguinaga Avatar answered Nov 08 '22 10:11

jjperezaguinaga