Manifest is not valid JSON. Line: 18, column: 2, Trailing comma not allowed

1.9k views Asked by At
{
  "name": "test",
  "version": "1.0.0",
  "description": "test",
  "icons": {"16":  "images/icon16.png",
            "24":  "images/icon24.png",
            "32":  "images/icon32.png",
            "128":  "images/icon128.png"},
  "permissions": [
    "https://*.wikipedia.com"
  ],
  "browser_action": {
      "default_title": "test",
      "default_icon": "images/icon128.png",
      "default_popup": "popup.html"
  },
  "manifest_version": 2,
}

Hello ! This is the manifest.json file from my test extension. Whenever I try to import it in Chrome it says: "Manifest is not valid JSON. Line: 18, column: 2, Trailing comma not allowed"

1

There are 1 answers

2
Codesingh On BEST ANSWER

I think there is a problem in line "manifest_version": 2, usage of an unnecessary comma.