Suddenly char. when downloading the Chrome extension

I developed a Chrome extension that works great when I download it as an unpacked extension in Chrome. However, when I try to download zip to the Chrome Web Store, I get the following manifest.json error:

An error occurred: your item could not be processed. manifest.json: 8: 4: unexpectedly char.

I have already deleted all comments from the JSON file. I even tested my JSON at http://jsonlint.com and it came back. Does anyone know what could be the problem?

Here is my manifest.json:

{ "manifest_version": 2, "name": "My Extension", "version": "0.0.0.1", "description": "Description goes here", "content_scripts": [ { "matches": ["https://example.com"], "css": ["css/style.css"], "js": [ "lib/jquery-2.1.4.min.js", "scripts/main.js" ], "run_at": "document_idle" } ], "icons": { "16": "icons/16.png", "48": "icons/48.png", "128": "icons/128.png" } } 
+10
json google-chrome google-chrome-extension
source share
2 answers

In case someone else is faced with this issue with another problem (which I just had), because in my manifest there were random comments, which, of course, I pulled from the example , which are not allowed in JSON

+15
source share

You cannot post comments in the manifest.json file when publishing.

0
source share

All Articles