Closed Balance8 closed 9 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
chameleon | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jan 30, 2024 0:45am |
This PR is being deployed to Railway 🚅
chameleon: ◻️ REMOVED
Name | Status | Updated (UTC) |
---|---|---|
955627f | ❌ Failed | Tue, 30 Jan 2024 00:46:30 GMT |
Build failed:
> NX No explicit --base argument provided, but found environment variable NX_BASE so using its value as the affected base: d7629607d18414581da611c3e0ab5e3934ddd8ee
> NX No explicit --head argument provided, but found environment variable NX_HEAD so using its value as the affected head: 955627ff8001d5ea3b2c9bba2edd83fd7ffaf0ca
> NX Running targets test, build for 2 projects and 3 tasks they depend on:
- chameleon
- data-access/db
> nx run data-access/db:test:ci
No tests found, exiting with code 0
> nx run data-access/db:generate
Prisma schema loaded from prisma/schema.prisma
✔ Generated Prisma Client (v5.4.1) to ./../../node_modules/.pnpm/@prisma+client@5.4.1_prisma@5.4.1/node_modules/@prisma/client in 423ms
Start using Prisma Client in Node.js (See: https://pris.ly/d/client)
̀̀̀
import { PrismaClient } from '@prisma/client'
const prisma = new PrismaClient()
̀̀̀
or start using Prisma Client at the edge (See: https://pris.ly/d/accelerate)
̀̀̀
import { PrismaClient } from '@prisma/client/edge'
const prisma = new PrismaClient()
̀̀̀
See other ways of importing Prisma Client: http://pris.ly/d/importing-client
> nx run chameleon:contentlayer
Contentlayer (Warning): Importing from ̀contentlayer/generated̀ might not work.
Config option ̀compilerOptions.baseUrl̀ not found in "tsconfig.json".
For more information see https://www.contentlayer.dev/docs/getting-started
To disable this warning you can set ̀disableImportAliasWarning: truè in your Contentlayer config.
Generated 15 documents in .contentlayer
> nx run chameleon:test:ci
No tests found, exiting with code 0
> nx run chameleon:wunderctl-generate
{"level":"info","time":1706575439788,"pid":2207,"hostname":"fv-az570-175","component":"@wundergraph/sdk","msg":"Installing prisma..."}
{"level":"info","time":1706575440329,"pid":2207,"hostname":"fv-az570-175","component":"@wundergraph/sdk","msg":"Prisma installed"}
{"level":"error","time":1706575470345,"pid":2207,"hostname":"fv-az570-175","component":"@wundergraph/sdk","msg":"database introspection failed: Error: Command failed with exit code 1: /home/runner/work/chameleon/chameleon/node_modules/.pnpm/@wundergraph+wunderctl@0.177.0/node_modules/@wundergraph/wunderctl/download/wunderctl introspect prisma ../../../data-access/db/prisma/schema.prisma --outfile=generated/introspection/database/ff7befa35c96a0aff11785b52bb3fb37084692f3.json --debug --wundergraph-dir /home/runner/work/chameleon/chameleon/apps/chameleon/.wundergraph\n{\"is_panic\":false,\"message\":\"error: Environment variable not found: DATABASE_URL.\\n --> schema.prisma:7\\n | \\n 6 | provider = \\\"mysql\\\"\\n 7 | url = env(\\\"DATABASE_URL\\\")\\n | \\n\\nValidation Error Count: 1\",\"meta\":{\"full_error\":\"error: Environment variable not found: DATABASE_URL.\\n --> schema.prisma:7\\n | \\n 6 | provider = \\\"mysql\\\"\\n 7 | url = env(\\\"DATABASE_URL\\\")\\n | \\n\\nValidation Error Count: 1\"},\"error_code\":\"P1012\"}\nError: context cancelled\ncontext cancelled\n{\"level\":\"debug\",\"time\":1706575440342,\"caller\":\"commands/root.go:239\",\"msg\":\"starting without env file\",\"hostname\":\"fv-az570-175\",\"pid\":2255,\"component\":\"@wundergraph/wunderctl\"}\n{\"level\":\"debug\",\"time\":1706575440345,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az570-175\",\"pid\":2255,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}\n{\"level\":\"debug\",\"time\":1706575440346,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az570-175\",\"pid\":2255,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}"}
{"level":"info","time":1706575470345,"pid":2207,"hostname":"fv-az570-175","component":"@wundergraph/sdk","msg":"retrying database introspection 1/5"}
{"level":"error","time":1706575500361,"pid":2207,"hostname":"fv-az570-175","component":"@wundergraph/sdk","msg":"database introspection failed: Error: Command failed with exit code 1: /home/runner/work/chameleon/chameleon/node_modules/.pnpm/@wundergraph+wunderctl@0.177.0/node_modules/@wundergraph/wunderctl/download/wunderctl introspect prisma ../../../data-access/db/prisma/schema.prisma --outfile=generated/introspection/database/ff7befa35c96a0aff11785b52bb3fb37084692f3.json --debug --wundergraph-dir /home/runner/work/chameleon/chameleon/apps/chameleon/.wundergraph\n{\"is_panic\":false,\"message\":\"error: Environment variable not found: DATABASE_URL.\\n --> schema.prisma:7\\n | \\n 6 | provider = \\\"mysql\\\"\\n 7 | url = env(\\\"DATABASE_URL\\\")\\n | \\n\\nValidation Error Count: 1\",\"meta\":{\"full_error\":\"error: Environment variable not found: DATABASE_URL.\\n --> schema.prisma:7\\n | \\n 6 | provider = \\\"mysql\\\"\\n 7 | url = env(\\\"DATABASE_URL\\\")\\n | \\n\\nValidation Error Count: 1\"},\"error_code\":\"P1012\"}\nError: context cancelled\ncontext cancelled\n{\"level\":\"debug\",\"time\":1706575470358,\"caller\":\"commands/root.go:239\",\"msg\":\"starting without env file\",\"hostname\":\"fv-az570-175\",\"pid\":2279,\"component\":\"@wundergraph/wunderctl\"}\n{\"level\":\"debug\",\"time\":1706575470361,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az570-175\",\"pid\":2279,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}\n{\"level\":\"debug\",\"time\":1706575470363,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az570-175\",\"pid\":2279,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}"}
{"level":"info","time":1706575500361,"pid":2207,"hostname":"fv-az570-175","component":"@wundergraph/sdk","msg":"retrying database introspection 2/5"}
{"level":"error","time":1706575530378,"pid":2207,"hostname":"fv-az570-175","component":"@wundergraph/sdk","msg":"database introspection failed: Error: Command failed with exit code 1: /home/runner/work/chameleon/chameleon/node_modules/.pnpm/@wundergraph+wunderctl@0.177.0/node_modules/@wundergraph/wunderctl/download/wunderctl introspect prisma ../../../data-access/db/prisma/schema.prisma --outfile=generated/introspection/database/ff7befa35c96a0aff11785b52bb3fb37084692f3.json --debug --wundergraph-dir /home/runner/work/chameleon/chameleon/apps/chameleon/.wundergraph\n{\"is_panic\":false,\"message\":\"error: Environment variable not found: DATABASE_URL.\\n --> schema.prisma:7\\n | \\n 6 | provider = \\\"mysql\\\"\\n 7 | url = env(\\\"DATABASE_URL\\\")\\n | \\n\\nValidation Error Count: 1\",\"meta\":{\"full_error\":\"error: Environment variable not found: DATABASE_URL.\\n --> schema.prisma:7\\n | \\n 6 | provider = \\\"mysql\\\"\\n 7 | url = env(\\\"DATABASE_URL\\\")\\n | \\n\\nValidation Error Count: 1\"},\"error_code\":\"P1012\"}\nError: context cancelled\ncontext cancelled\n{\"level\":\"debug\",\"time\":1706575500375,\"caller\":\"commands/root.go:239\",\"msg\":\"starting without env file\",\"hostname\":\"fv-az570-175\",\"pid\":2299,\"component\":\"@wundergraph/wunderctl\"}\n{\"level\":\"debug\",\"time\":1706575500378,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az570-175\",\"pid\":2299,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}\n{\"level\":\"debug\",\"time\":1706575500379,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az570-175\",\"pid\":2299,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}"}
{"level":"info","time":1706575530378,"pid":2207,"hostname":"fv-az570-175","component":"@wundergraph/sdk","msg":"retrying database introspection 3/5"}
{"level":"error","time":1706575560395,"pid":2207,"hostname":"fv-az570-175","component":"@wundergraph/sdk","msg":"database introspection failed: Error: Command failed with exit code 1: /home/runner/work/chameleon/chameleon/node_modules/.pnpm/@wundergraph+wunderctl@0.177.0/node_modules/@wundergraph/wunderctl/download/wunderctl introspect prisma ../../../data-access/db/prisma/schema.prisma --outfile=generated/introspection/database/ff7befa35c96a0aff11785b52bb3fb37084692f3.json --debug --wundergraph-dir /home/runner/work/chameleon/chameleon/apps/chameleon/.wundergraph\n{\"is_panic\":false,\"message\":\"error: Environment variable not found: DATABASE_URL.\\n --> schema.prisma:7\\n | \\n 6 | provider = \\\"mysql\\\"\\n 7 | url = env(\\\"DATABASE_URL\\\")\\n | \\n\\nValidation Error Count: 1\",\"meta\":{\"full_error\":\"error: Environment variable not found: DATABASE_URL.\\n --> schema.prisma:7\\n | \\n 6 | provider = \\\"mysql\\\"\\n 7 | url = env(\\\"DATABASE_URL\\\")\\n | \\n\\nValidation Error Count: 1\"},\"error_code\":\"P1012\"}\nError: context cancelled\ncontext cancelled\n{\"level\":\"debug\",\"time\":1706575530392,\"caller\":\"commands/root.go:239\",\"msg\":\"starting without env file\",\"hostname\":\"fv-az570-175\",\"pid\":2326,\"component\":\"@wundergraph/wunderctl\"}\n{\"level\":\"debug\",\"time\":1706575530395,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az570-175\",\"pid\":2326,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}\n{\"level\":\"debug\",\"time\":1706575530396,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az570-175\",\"pid\":2326,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}"}
{"level":"info","time":1706575560395,"pid":2207,"hostname":"fv-az570-175","component":"@wundergraph/sdk","msg":"retrying database introspection 4/5"}
{"level":"error","time":1706575590413,"pid":2207,"hostname":"fv-az570-175","component":"@wundergraph/sdk","msg":"database introspection failed: Error: Command failed with exit code 1: /home/runner/work/chameleon/chameleon/node_modules/.pnpm/@wundergraph+wunderctl@0.177.0/node_modules/@wundergraph/wunderctl/download/wunderctl introspect prisma ../../../data-access/db/prisma/schema.prisma --outfile=generated/introspection/database/ff7befa35c96a0aff11785b52bb3fb37084692f3.json --debug --wundergraph-dir /home/runner/work/chameleon/chameleon/apps/chameleon/.wundergraph\n{\"is_panic\":false,\"message\":\"error: Environment variable not found: DATABASE_URL.\\n --> schema.prisma:7\\n | \\n 6 | provider = \\\"mysql\\\"\\n 7 | url = env(\\\"DATABASE_URL\\\")\\n | \\n\\nValidation Error Count: 1\",\"meta\":{\"full_error\":\"error: Environment variable not found: DATABASE_URL.\\n --> schema.prisma:7\\n | \\n 6 | provider = \\\"mysql\\\"\\n 7 | url = env(\\\"DATABASE_URL\\\")\\n | \\n\\nValidation Error Count: 1\"},\"error_code\":\"P1012\"}\nError: context cancelled\ncontext cancelled\n{\"level\":\"debug\",\"time\":1706575560410,\"caller\":\"commands/root.go:239\",\"msg\":\"starting without env file\",\"hostname\":\"fv-az570-175\",\"pid\":2345,\"component\":\"@wundergraph/wunderctl\"}\n{\"level\":\"debug\",\"time\":1706575560413,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az570-175\",\"pid\":2345,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}\n{\"level\":\"debug\",\"time\":1706575560414,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az570-175\",\"pid\":2345,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}"}
{"level":"info","time":1706575590414,"pid":2207,"hostname":"fv-az570-175","component":"@wundergraph/sdk","msg":"retrying database introspection 5/5"}
{"level":"fatal","time":1706575590414,"pid":2207,"hostname":"fv-az570-175","component":"@wundergraph/sdk","msg":"introspection of prisma database failed after 5 attempts, make sure it's accessible at: ../../../data-access/db/prisma/schema.prisma\n Did you forget to add tables to the database? Make sure, you've run your initial migration.\n The introspection fails if there are no tables.\n Are you using a custom database schema? Make sure it's selected in the database URL.\n Please restart \"wunderctl up\" once the DB is running.\n "}
Error: configuration could not be generated. Process exit with code 1
configuration could not be generated. Process exit with code 1
Warning: run-commands command "wunderctl generate" exited with non-zero status code
> NX Running targets test, build for 2 projects and 3 tasks they depend on failed
Tasks not run because their dependencies failed or --nx-bail=true:
- chameleon:build:production
Failed tasks:
- chameleon:wunderctl-generate
View structured, searchable error logs at https://cloud.nx.app/runs/I1Qp7vikJS
BUILD_FAILED
…install workflows
closes #60