Appearance
T3001: Contract is not valid JSON
Cause
The <contract> block is not valid JSON. Comments and trailing commas are allowed, but keys must be quoted.
Example
xml
<contract>
{ name: "Card" }
</contract>
<template><div class="root"></div></template>What you see
text
ERROR T3001 app/components/Card.tess:2:3
Expected a property name in double quotes
Run `tessera explain T3001` for details.Fix
Fix the syntax the message points at.