I am using a starter template. I've cleaned out most of the old code. Only have these schema files as far as entities go.
import { defineEntSchema, getEntDefinitions } from "convex-ents"
import { users } from "./schema/users"
import { notifications } from "./schema/notifications"
const schema = defineEntSchema(
{
users,
notifications,
},
{ schemaValidation: true },
)
export default schema
export const entDefinitions = getEntDefinitions(schema)
import { defineEnt } from "convex-ents"
import { v } from "convex/values"
// Minimal user entity used across the app
export const users = defineEnt({
username: v.optional(v.string()),
pictureUrl: v.optional(v.string()),
})
.field("email", v.string(), { unique: true })
// Clerk token identifier (e.g. issuer|subject)
.field("tokenIdentifier", v.string(), { unique: true })
.edges("members", { ref: true, deletion: "soft" })
.deletion("soft")
import { defineEnt } from "convex-ents"
import { v } from "convex/values"
export const notifications = defineEnt({
type: v.string(),
isRead: v.boolean(),
readAt: v.optional(v.number()),
dataJson: v.string(),
})
.field("userId", v.string())
.index("by_user", ["userId"])
Yet when I run CONVEX_VERBOSE=1 npx convex dev it gets to "[verbose] 2025-08-08T23:39:36.125Z Preparing convex/utils.ts" and then hangs.