I'm getting the following error with my manifest.json:
Manifest: Line: 1, column: 1, Unexpected token.
I've confirmed my manifest.json is valid and is encoded in UTF-8. Can anyone give me any tips on what might be causing this issue?
I'm getting the following error with my manifest.json:
Manifest: Line: 1, column: 1, Unexpected token.
I've confirmed my manifest.json is valid and is encoded in UTF-8. Can anyone give me any tips on what might be causing this issue?
Is this an Angular project? And are you trying to host this on Azure? I had the same error, i posted my fix here:
Angular 6 application : Manifest: Line: 1, column: 1, Unexpected token
If this is not related to Azure, but it is an Angular project, check your angular.json/angular-cli.json and add manifest.json to "assets" as described by Honzik in this answer:
Maybe you forgot to put a comma ","
Valid example:
{
"manifest_version": 2, <<comma
"version": "1.0", <<comma
"name": "my extension name" <<no comma
}
Invalid example:
{
"manifest_version": 2 << no comma
"version": "1.0" <<no comma
"name": "my extension name" <<no comma
}
Or you only forgot to put ", or ":"