nicooo
CCConvex Community
•Created by nicooo on 3/15/2024 in #support-community
netlify deploy not working
not on netlify though, but it worked on vercel.
9 replies
CCConvex Community
•Created by nicooo on 3/15/2024 in #support-community
netlify deploy not working
the env variable for convex url should be the prod url right? because the convex deploy key is prod key..
9 replies
CCConvex Community
•Created by nicooo on 3/15/2024 in #support-community
netlify deploy not working
✖ "npm run build" failed
3:04:05 PM:
3:04:05 PM: "build.command" failed
3:04:05 PM: ──────────────────────────────────────────────────────────────── 3:04:05 PM: 3:04:05 PM: Error message 3:04:05 PM: Command failed with exit code 1: npx convex deploy --cmd "npm run build" 3:04:05 PM: 3:04:05 PM: Error location 3:04:05 PM: In Build command from Netlify app: 3:04:05 PM: npx convex deploy --cmd "npm run build" 3:04:05 PM: 3:04:05 PM: Resolved config 3:04:05 PM: Failed during stage "building site": Build script returned non-zero exit code: 2 3:04:05 PM: build: 3:04:05 PM: command: npx convex deploy --cmd "npm run build" 3:04:05 PM: commandOrigin: ui 3:04:05 PM: environment: 3:04:05 PM: - CONVEX_DEPLOY_KEY 3:04:05 PM: - REACT_APP_CONVEX_URL 3:04:05 PM: publish: /opt/build/repo/build 3:04:05 PM: publishOrigin: ui 3:04:05 PM: Build failed due to a user error: Build script returned non-zero exit code: 2 3:04:05 PM: Failing build: Failed to build site
3:04:05 PM: ──────────────────────────────────────────────────────────────── 3:04:05 PM: 3:04:05 PM: Error message 3:04:05 PM: Command failed with exit code 1: npx convex deploy --cmd "npm run build" 3:04:05 PM: 3:04:05 PM: Error location 3:04:05 PM: In Build command from Netlify app: 3:04:05 PM: npx convex deploy --cmd "npm run build" 3:04:05 PM: 3:04:05 PM: Resolved config 3:04:05 PM: Failed during stage "building site": Build script returned non-zero exit code: 2 3:04:05 PM: build: 3:04:05 PM: command: npx convex deploy --cmd "npm run build" 3:04:05 PM: commandOrigin: ui 3:04:05 PM: environment: 3:04:05 PM: - CONVEX_DEPLOY_KEY 3:04:05 PM: - REACT_APP_CONVEX_URL 3:04:05 PM: publish: /opt/build/repo/build 3:04:05 PM: publishOrigin: ui 3:04:05 PM: Build failed due to a user error: Build script returned non-zero exit code: 2 3:04:05 PM: Failing build: Failed to build site
9 replies
CCConvex Community
•Created by nicooo on 2/7/2024 in #support-community
byte array limit for arguments? use file storage
Or should I use file storage instead of storing as bytes?
3 replies
CCConvex Community
•Created by lldan on 1/27/2024 in #support-community
getUserIdentity returning null, when you refresh the page
Same here when I re render it shows me current logged in user, if I refresh it shows undefined. I don't know what's wrong. I used useConvexAuth and it returns false when page is refreshed. I am also using the useUser hook by clerk..
6 replies