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
oh hey sorry.
Like I said removing the bom from package json works.
If you like I can make a pr removing the bom if present allthough it is not valid json I think it will improve usability a lot if some idiot like myself trys to run cem with a bom at the start of the JSON.
At least a meaningfull error messag will do :)
If you would like me to create a PR just let me know ^^
Description:
When using this plugin the cem analyse command fails because the Package json is not valid json if it has a BOM.
Source:
cem-tools/packages/jet-brains-integration/src/web-types-generator.ts
Line 33 in 94d8a4f
Repro:
Add BOM to package.json. -> error
Workaround:
Remove BOM from package.json
Possible solution:
https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder/ignoreBOM
The text was updated successfully, but these errors were encountered: