Error in new Extension with sidebar.
-
master94ga last edited by
I'm creating an extension with the new SideBar API but when I go to upload on Opera site I receive this error: "manifest.json is invalid. Please correct it and try uploading again. The parser reported: {'19': 'icons/19.png', '38': 'icons/38.png'} does not match type 'string'".
This is the manifest code: https://dl.dropboxusercontent.com/u/22722558/aaa111.PNG
-
Deleted User last edited by
The parser reported: {'19': 'icons/19.png', '38': 'icons/38.png'} does not match type 'string'".
Yes, you should quote with double-quote not with single-quote.
See http://www.json.org/index.html and Standard ECMA doc at http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf
-
A Former User last edited by
you have two icons in default icon
"sidebar_action": {
"default_icon": "icons/19.png",
.... -
master94ga last edited by
@gwen-draong: I have double quote if you see the screen
@vux777: I removed one default icon but I have the same error.
Code:
"default_icon": {
"38": "icons/38.png"
},Error: manifest.json is invalid. Please correct it and try uploading again. The parser reported: {'38': 'icons/38.png'} does not match type 'string'
EDIT: error fixed with this code: "default_icon": "icons/38.png",
Thanks for reply guys.