You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
logger.warn(`Could not add menu contribution for ${extension.name}: ${error}`);
}
}
The error that I got was this:
[start:core] 15:32:48
[start:core] [extension host warning]
[start:core] 15:32:48.998 > Could not add menu contribution for fw-lite-extension: SyntaxError: Unexpected token '', "{
[start:core] "mai"... is not valid JSON [at C:\dev\paranext-core\src\extension-host\services\extension.service.ts:1033:18]
[start:core] [/extension host warning]
at the very least it would be nice if there was better feedback about what the cause was (after an error check if the json starts with a BOM), and indicate that. Best case, the build step should strip the BOM, or the code could remove it at runtime.
The text was updated successfully, but these errors were encountered:
From what I can tell the offending code is here:
paranext-core/src/extension-host/services/extension.service.ts
Lines 1007 to 1034 in cf193b2
The error that I got was this:
at the very least it would be nice if there was better feedback about what the cause was (after an error check if the json starts with a BOM), and indicate that. Best case, the build step should strip the BOM, or the code could remove it at runtime.
The text was updated successfully, but these errors were encountered: