#I need some help 😩

8 messages · Page 1 of 1 (latest)

untold wigeon
#

I am seeing this

untold stratus
haughty raftBOT
#
To help us help you, when asking for help, tell us the following:
💠💠💠
  • Expectations! What did you expect your code to do? What did it actually do?
  • Errors! If your code produced an error, paste the error message for us to see!
  • Code! We can't help you if you don't show us the code that you're having trouble with. No screenshots -- use code blocks instead please (!!help.codeblocks).
  • Libraries! If you're using a library, tell us the library name.
untold wigeon
#

I expected my app to display but it is showing me that
The error message is Error:[convex Q(podcasts:getTrendingPodcasts)] [request ID : 444e3567835cb06] server Error could not find public function for 'podcasts: get trendingPodcasts' . DId you forget to run 'npx convex dev' or 'npx convex deploy' ?

Am using react and convex

The code is:
const Home = () =>
const trendingPodcasts = use Query (api.podcasts.getTrendingPodcasts);

#

Am trying put the new podcasts video js mastery realised

untold stratus
#

I have never used convex. So I dont have any idea about it.
But, based on your error message, I would suggest you to check if there is a gettrendingPodcasts under podcasts

untold wigeon
#

Thanks for the help

plucky echo
#

I am getting this error in podcast - SAAS app

convex/tasks.ts:6:31 - error TS2345: Argument of type '"tasks"' is not assignable to parameter of type 'TableNamesInDataModel<{ users: { document: { _id: Id<"users">; _creationTime: number; imageUrl: string; email: string; clerkId: string; name: string; }; fieldPaths: ExtractFieldPaths<ObjectValidator<{ email: Validator<string, false, never>; imageUrl: Validator<...>; clerkId: Validator<...>; name: Validator<...>; }>>...'.

6 return await ctx.db.query("tasks").collect();
~~~~~~~

Found 1 error in convex/tasks.ts:6