Farid Movsumov
Farid Movsumov

Reputation: 12735

Manifest is not valid json Error

I am trying to update my extension but I get following error message. Message clear but there is no line 30. What is the problem?

enter image description here

manifest.json

{
    "name": "IdeaShop Information",
    "description": "IdeaShop siteleri ile ilgili bilgileri gosterir",
    "manifest_version": 2,
    "version": "1.0",
    "permissions": [
        "tabs", 
        "http://*/*", 
        "https://*/*"
    ],
    "browser_action": {
        "default_title": "IdeaShop Information",
        "default_icon": "icon.png",
        "popup": "popup.html"
    }
  ]
}

Directory Structure enter image description here

Upvotes: 4

Views: 18901

Answers (2)

Toni Toni Chopper
Toni Toni Chopper

Reputation: 1851

There seems to be an extra ] at the end.


You can validate your json file at jsonlint.com

Upvotes: 5

方 觉
方 觉

Reputation: 4162

An extra square bracket at the last but one line caused the error. The line number displayed in such message is not correct.

Upvotes: 0

Related Questions