Vignesh GuptaV

The inferred type of X cannot be named without a reference (some module path)

Hello Convex team

I've recently started with Turborepo and migrated my existing app to turborepo. earlier I had some issue so I'm going with simpler approach i.e. add convex in the
apps/web
only just like a simple nextjs app.

But while build I'm having a type issue:
The inferred type of 'generateUploadUrl' cannot be named without a reference to '@/node_modules/convex/dist/esm-types/server/registration'. This is likely not portable. A type annotation is necessary.ts(2742)


Code link (which line where error is happening) - https://github.com/vignesh-gupta/projectify/blob/729c37b6035a8bcb86ab3317de72b7c3420f5c13/apps/web/convex/resources/storage.ts#L5C14-L5C32
GitHub
Struggling to stay organized and meet deadlines? Projectify is the ultimate free project management tool for you! Boost your productivity and achieve your goals effortlessly with our intuitive fea...
projectify/apps/web/convex/resources/storage.ts at 729c37b6035a8bcb...
Was this page helpful?