How to resolve no-circular-dependency? #597
-
|
I'm getting a no-circlular-dependency error: ERROR There is a circular dependency in convex/_generated: convex/_generated -> convex/auth -> convex/_generated no-circular-dependency
│ ERROR There is a circular dependency in convex/auth: convex/auth -> convex/_generated -> convex/auth no-circular-dependency
│ ERROR There is a circular dependency in convex/email: convex/email -> convex/model -> convex/_generated -> convex/email -> convex/email no-circular-dependency
│ ERROR There is a circular dependency in convex/http: convex/http -> convex/_generated -> convex/http no-circular-dependency
│ ERROR There is a circular dependency in convex/model: convex/model -> convex/_generated -> convex/email -> convex/model -> convex/model no-circular-dependency
│ ERROR There is a circular dependency in convex/organizations: convex/organizations -> convex/_generated -> convex/organizations no-circular-dependency
│ ERROR There is a circular dependency in convex/storage: convex/storage -> convex/_generated -> convex/storage no-circular-dependency
│ ERROR There is a circular dependency in convex/users: convex/users -> convex/_generated -> convex/users no-circular-dependency
│ ERROR There is a circular dependency in lib/auth: lib/auth -> convex/email -> convex/model -> lib/auth -> lib/auth no-circular-dependencySo I hoped to break it by excluding the |
Beta Was this translation helpful? Give feedback.
Answered by
mmailaender
Aug 19, 2025
Replies: 1 comment
-
|
I was able to resolve it by defining multiple dirs "dirs": [
"./src/convex",
"./src/routes",
"./src/lib/auth",
"./src/lib/organizations",
"./src/lib/users",
"./src/lib/primitives"
] |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mmailaender
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was able to resolve it by defining multiple dirs