Magnus Müller
Magnus Müller
CCConvex Community
Created by Magnus Müller on 10/7/2024 in #support-community
Vercel deployment works but 'Could not find public function for'
It is a fork from this repo template https://www.convex.dev/templates/open-source-todoist-clone maybe can be added.
14 replies
CCConvex Community
Created by Magnus Müller on 10/7/2024 in #support-community
Vercel deployment works but 'Could not find public function for'
It works! build command in vercel: npm run vercel-build Root Directory: apps/web In apps/web/package.json add vercel-build in the key scripts So
` "scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"vercel-build": "cd ../../packages/backend && npx convex deploy && cd ../../apps/web && npm run build"
},
` "scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"vercel-build": "cd ../../packages/backend && npx convex deploy && cd ../../apps/web && npm run build"
},
14 replies
CCConvex Community
Created by Magnus Müller on 10/7/2024 in #support-community
Vercel deployment works but 'Could not find public function for'
do i need to add sth here npx convex deploy --cmd 'npm run build
14 replies
CCConvex Community
Created by Magnus Müller on 10/7/2024 in #support-community
Vercel deployment works but 'Could not find public function for'
i dont see my funcitons and tables in the convex dashboard in production (in dev they are)
14 replies
CCConvex Community
Created by Magnus Müller on 10/7/2024 in #support-community
Vercel deployment works but 'Could not find public function for'
and Deployment URL in convex https://determined-stingray-978.convex.cloud
14 replies
CCConvex Community
Created by Magnus Müller on 10/7/2024 in #support-community
Vercel deployment works but 'Could not find public function for'
✔ Ran "npm run build" with environment variable "NEXT_PUBLIC_CONVEX_URL" set
- Deploying to https://determined-stingray-978.convex.cloud...
✔ Deployed Convex functions to https://determined-stingray-978.convex.cloud
✔ Ran "npm run build" with environment variable "NEXT_PUBLIC_CONVEX_URL" set
- Deploying to https://determined-stingray-978.convex.cloud...
✔ Deployed Convex functions to https://determined-stingray-978.convex.cloud
14 replies
CCConvex Community
Created by Magnus Müller on 10/7/2024 in #support-community
Vercel deployment works but 'Could not find public function for'
I do export const getCurrentUser = query({ in packages/backend/convex/users.ts
14 replies
CCConvex Community
Created by Magnus Müller on 10/7/2024 in #support-community
Vercel deployment works but 'Could not find public function for'
No description
14 replies
CCConvex Community
Created by Magnus Müller on 10/7/2024 in #support-community
Vercel deployment works but 'Could not find public function for'
I believe the api.time-is-money.xyz - is not needed for me (i was confused by custome domains in convex). So i removed this also from dns. But the same Could not find public function forstill persists.
14 replies
CCConvex Community
Created by Magnus Müller on 9/14/2024 in #support-community
convex-auth template error getAuthUserId
I am also little bit confused, because here https://www.convex.dev/templates/convex-auth you say its next.js but when i run the template it uses vite
4 replies
CCConvex Community
Created by Magnus Müller on 9/14/2024 in #support-community
convex-auth template error getAuthUserId
I changed getAuthUserIdto ctx.auth.getUserIdentity(); this works
4 replies