andresBeltran
andresBeltran
CCConvex Community
Created by andresBeltran on 2/23/2023 in #general
Hello everyone I have set up an app with
My bad, I should have paid attention to that detail. Thank you and the team again for all you support, is finally deployed! I can't believe that I am looking at my app working with a database for real and logging with auth0! This is quite remarkable!
40 replies
CCConvex Community
Created by andresBeltran on 2/23/2023 in #general
Hello everyone I have set up an app with
Deploying to https://quaint-walrus-678.convex.cloud... 11:03:52 PM: Temporary directory '/tmp' and project directory 'convex/_generated' are on different filesystems. 11:03:53 PM: If you're running into errors with other tools watching the project directory, override the temporary directory location with the CONVEX_TMPDIR environment variable. Be sure to pick a temporary directory that's on the same filesystem as your project. - Checking for changed table indexes... 11:03:54 PM: ✖ Error: Unable to build indexes on https://quaint-walrus-678.convex.cloud 11:03:54 PM: ✖ Checking for changed table indexes... 11:03:54 PM: 403 Forbidden: BadAdminKey: The provided admin key was invalid for this instance 11:03:54 PM: ​ 11:03:54 PM: "build.command" failed 11:03:54 PM: ──────────────────────────────────────────────────────────────── 11:03:54 PM: ​ 11:03:54 PM: Error message 11:03:54 PM: Command failed with exit code 1: npx convex deploy --no-save-url && next build (https://ntl.fyi/exit-code-1) 11:03:54 PM: ​ 11:03:54 PM: Error location 11:03:54 PM: In Build command from Netlify app: 11:03:54 PM: npx convex deploy --no-save-url && next build
40 replies
CCConvex Community
Created by andresBeltran on 2/23/2023 in #general
Hello everyone I have set up an app with
The new error is :
40 replies
CCConvex Community
Created by andresBeltran on 2/23/2023 in #general
Hello everyone I have set up an app with
That looks really promising, something has changed, but I don't understand it quite well.
40 replies
CCConvex Community
Created by andresBeltran on 2/23/2023 in #general
Hello everyone I have set up an app with
Just making sure, it will be npx convex deploy && next build --no-save-url
40 replies
CCConvex Community
Created by andresBeltran on 2/23/2023 in #general
Hello everyone I have set up an app with
lol, yes that makes sense.
40 replies
CCConvex Community
Created by andresBeltran on 2/23/2023 in #general
Hello everyone I have set up an app with
`3:25:40 PM: Caching artifacts 3:25:40 PM: Started saving node modules 3:25:40 PM: Finished saving node modules 3:25:41 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2) 3:25:40 PM: Started saving build plugins 3:25:40 PM: Finished saving build plugins 3:25:40 PM: Started saving corepack cache 3:25:40 PM: Finished saving corepack cache 3:25:40 PM: Started saving pip cache 3:25:40 PM: Finished saving pip cache 3:25:40 PM: Started saving emacs cask dependencies 3:25:40 PM: Finished saving emacs cask dependencies 3:25:40 PM: Started saving maven dependencies 3:25:40 PM: Finished saving maven dependencies 3:25:40 PM: Started saving boot dependencies 3:25:40 PM: Finished saving boot dependencies 3:25:40 PM: Started saving rust rustup cache 3:25:40 PM: Finished saving rust rustup cache 3:25:40 PM: Started saving go dependencies 3:25:40 PM: Finished saving go dependencies 3:25:41 PM: Build failed due to a user error: Build script returned non-zero exit code: 2 3:25:41 PM: Failing build: Failed to build site 3:25:41 PM: Finished processing build request in 19.594s``
40 replies
CCConvex Community
Created by andresBeltran on 2/23/2023 in #general
Hello everyone I have set up an app with
`3:25:39 PM: 2. Build command from Netlify app
3:25:39 PM: ──────────────────────────────────────────────────────────────── 3:25:39 PM: ​ 3:25:39 PM: $ npx convex deploy && next build 3:25:40 PM: Detected Next.js project. 3:25:40 PM: ? Create a .env file and add NEXT_PUBLIC_CONVEX_URL to save prod URL? (Y/n) ​ 3:25:40 PM: "build.command" failed
3:25:40 PM: ──────────────────────────────────────────────────────────────── 3:25:40 PM: ​ 3:25:40 PM: Error message 3:25:40 PM: Command failed with exit code 130: npx convex deploy && next build (https://ntl.fyi/exit-code-130) 3:25:40 PM: ​ 3:25:40 PM: Error location 3:25:40 PM: In Build command from Netlify app: 3:25:40 PM: npx convex deploy && next build 3:25:40 PM: ​ 3:25:40 PM: Resolved config 3:25:40 PM: build: 3:25:40 PM: command: npx convex deploy && next build 3:25:40 PM: commandOrigin: ui 3:25:40 PM: environment: 3:25:40 PM: - CONVEX_DEPLOY_KEY 3:25:40 PM: - NEXT_PUBLIC_CONVEX_URL 3:25:40 PM: - NEXT_PRIVATE_TARGET 3:25:40 PM: publish: /opt/build/repo/.next 3:25:40 PM: publishOrigin: ui 3:25:40 PM: plugins: 3:25:40 PM: - inputs: {} 3:25:40 PM: origin: ui 3:25:40 PM: package: '@netlify/plugin-nextjs'
40 replies
CCConvex Community
Created by andresBeltran on 2/23/2023 in #general
Hello everyone I have set up an app with
The full log that I get when combining npx convex deploy with next build goes like this:
40 replies
CCConvex Community
Created by andresBeltran on 2/23/2023 in #general
Hello everyone I have set up an app with
I see. I tried isolating the issue and using only next build, and it work, the app was deployed successfully.
40 replies
CCConvex Community
Created by andresBeltran on 2/23/2023 in #general
Hello everyone I have set up an app with
Thank you very much for your help. I have to be away from my pc for a few hours, but I might ask again afterwards. Thank you again!🤚
40 replies
CCConvex Community
Created by andresBeltran on 2/23/2023 in #general
Hello everyone I have set up an app with
2:18:50 PM: Error message 2:18:50 PM: Command failed with exit code 130: npx convex deploy && next build (https://ntl.fyi/exit-code-130) 2:18:50 PM: ​ 2:18:50 PM: Error location 2:18:50 PM: In Build command from Netlify app: 2:18:50 PM: npx convex deploy && next build
40 replies
CCConvex Community
Created by andresBeltran on 2/23/2023 in #general
Hello everyone I have set up an app with
No worries Tom, thank you for getting back to me. I do have both of those variables, the error I get is
40 replies
CCConvex Community
Created by andresBeltran on 2/23/2023 in #general
Hello everyone I have set up an app with
2:51:59 PM: Resolved config 2:51:59 PM: build: 2:51:59 PM: command: npx convex deploy && next build 2:51:59 PM: commandOrigin: ui 2:51:59 PM: environment: 2:51:59 PM: - CONVEX_DEPLOY_KEY 2:51:59 PM: ** - NEXT_PUBLIC_CONVEX_URL** 2:51:59 PM: - NEXT_PRIVATE_TARGET 2:51:59 PM: publish: /opt/build/repo/.next 2:51:59 PM: publishOrigin: ui 2:51:59 PM: plugins: 2:51:59 PM: - inputs: {} 2:51:59 PM: origin: ui 2:51:59 PM: package: '@netlify/plugin-nextjs'
40 replies
CCConvex Community
Created by andresBeltran on 2/23/2023 in #general
Hello everyone I have set up an app with
Thank you very much. I tried adding the variable directly on Netlify, I'm still getting a build error, but the new variable appears under "environment"
40 replies
CCConvex Community
Created by andresBeltran on 2/23/2023 in #general
Hello everyone I have set up an app with
Will do. I wasn't using .env for anything else before adding Convex.
40 replies
CCConvex Community
Created by andresBeltran on 2/23/2023 in #general
Hello everyone I have set up an app with
Thanks again
40 replies
CCConvex Community
Created by andresBeltran on 2/23/2023 in #general
Hello everyone I have set up an app with
Oh, I see. I'll give it a try.
40 replies
CCConvex Community
Created by andresBeltran on 2/23/2023 in #general
Hello everyone I have set up an app with
Thank you @Indy . I do have a .env with the NEXT_PUBLIC_CONVEX_URL variable provided by convex. However, I think that variable is not accesible to Netlify (since it lives in the gitignore) I thought that the Deploy key provided by convex was enough.
40 replies
CCConvex Community
Created by andresBeltran on 2/23/2023 in #general
Hello everyone I have set up an app with
2:18:50 PM: $ npx convex deploy && next build 2:18:50 PM: Detected Next.js project. 2:18:50 PM: ? Create a .env file and add NEXT_PUBLIC_CONVEX_URL to save prod URL? (Y/n) ​ 2:18:50 PM: "build.command" failed 2:18:50 PM: ──────────────────────────────────────────────────────────────── 2:18:50 PM: ​ 2:18:50 PM: Error message 2:18:50 PM: Command failed with exit code 130: npx convex deploy && next build (https://ntl.fyi/exit-code-130) 2:18:50 PM: ​ 2:18:50 PM: Error location 2:18:50 PM: In Build command from Netlify app: 2:18:50 PM: npx convex deploy && next build 2:18:50 PM: ​ 2:18:50 PM: Resolved config 2:18:50 PM: build: 2:18:50 PM: command: npx convex deploy && next build 2:18:50 PM: commandOrigin: ui 2:18:50 PM: environment: 2:18:50 PM: - CONVEX_DEPLOY_KEY 2:18:50 PM: - NEXT_PRIVATE_TARGET 2:18:50 PM: publish: /opt/build/repo/.next 2:18:50 PM: publishOrigin: ui 2:18:50 PM: plugins: 2:18:50 PM: - inputs: {} 2:18:50 PM: origin: ui 2:18:50 PM: package: '@netlify/plugin-nextjs'
40 replies