Closed DinDin985 closed 5 months ago
This PR is being deployed to Railway π
chameleon: β»οΈ REMOVED
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 | Feb 2, 2024 3:21am |
Name | Status | Updated (UTC) |
---|---|---|
0d8f0b5 | β Failed | Thu, 01 Feb 2024 19:00:44 GMT |
Build failed:
> NX No explicit --base argument provided, but found environment variable NX_BASE so using its value as the affected base: be3cb5a528f302ec8198c349a4a565d142add611
> NX No explicit --head argument provided, but found environment variable NX_HEAD so using its value as the affected head: 0d8f0b5f72ddd6e686b05df09021d20dddf65eea
The affected projects might have not been identified properly. The package(s) @emoji-mart/data, @emoji-mart/react, @radix-ui/react-icons, lucide, tailwind-scrollbar were not found. Please open an issue in GitHub including the package.json file.
> NX Running target build for project chameleon and 3 tasks it depends on:
- chameleon
> nx run db:generate
Prisma schema loaded from prisma/schema.prisma
β Generated Prisma Client (v5.9.0) to ./../../node_modules/.pnpm/@prisma+client@5.9.0_prisma@5.9.0/node_modules/@prisma/client in 329ms
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
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Deploying your app to serverless or edge functions? β
β Try Prisma Accelerate for connection pooling and caching. β
β https://pris.ly/cli/accelerate β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
> 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: trueΜ in your Contentlayer config.
Generated 15 documents in .contentlayer
> nx run chameleon:wunderctl-generate
{"level":"info","time":1706813893544,"pid":2084,"hostname":"fv-az775-625","component":"@wundergraph/sdk","msg":"Installing prisma..."}
{"level":"info","time":1706813894019,"pid":2084,"hostname":"fv-az775-625","component":"@wundergraph/sdk","msg":"Prisma installed"}
{"level":"error","time":1706813924034,"pid":2084,"hostname":"fv-az775-625","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\":1706813894031,\"caller\":\"commands/root.go:239\",\"msg\":\"starting without env file\",\"hostname\":\"fv-az775-625\",\"pid\":2104,\"component\":\"@wundergraph/wunderctl\"}\n{\"level\":\"debug\",\"time\":1706813894034,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az775-625\",\"pid\":2104,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}\n{\"level\":\"debug\",\"time\":1706813894035,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az775-625\",\"pid\":2104,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}"}
{"level":"info","time":1706813924035,"pid":2084,"hostname":"fv-az775-625","component":"@wundergraph/sdk","msg":"retrying database introspection 1/5"}
{"level":"error","time":1706813954050,"pid":2084,"hostname":"fv-az775-625","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\":1706813924047,\"caller\":\"commands/root.go:239\",\"msg\":\"starting without env file\",\"hostname\":\"fv-az775-625\",\"pid\":2128,\"component\":\"@wundergraph/wunderctl\"}\n{\"level\":\"debug\",\"time\":1706813924050,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az775-625\",\"pid\":2128,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}\n{\"level\":\"debug\",\"time\":1706813924051,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az775-625\",\"pid\":2128,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}"}
{"level":"info","time":1706813954050,"pid":2084,"hostname":"fv-az775-625","component":"@wundergraph/sdk","msg":"retrying database introspection 2/5"}
{"level":"error","time":1706813984067,"pid":2084,"hostname":"fv-az775-625","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\":1706813954064,\"caller\":\"commands/root.go:239\",\"msg\":\"starting without env file\",\"hostname\":\"fv-az775-625\",\"pid\":2152,\"component\":\"@wundergraph/wunderctl\"}\n{\"level\":\"debug\",\"time\":1706813954067,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az775-625\",\"pid\":2152,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}\n{\"level\":\"debug\",\"time\":1706813954068,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az775-625\",\"pid\":2152,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}"}
{"level":"info","time":1706813984067,"pid":2084,"hostname":"fv-az775-625","component":"@wundergraph/sdk","msg":"retrying database introspection 3/5"}
{"level":"error","time":1706814014084,"pid":2084,"hostname":"fv-az775-625","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\":1706813984081,\"caller\":\"commands/root.go:239\",\"msg\":\"starting without env file\",\"hostname\":\"fv-az775-625\",\"pid\":2174,\"component\":\"@wundergraph/wunderctl\"}\n{\"level\":\"debug\",\"time\":1706813984084,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az775-625\",\"pid\":2174,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}\n{\"level\":\"debug\",\"time\":1706813984085,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az775-625\",\"pid\":2174,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}"}
{"level":"info","time":1706814014084,"pid":2084,"hostname":"fv-az775-625","component":"@wundergraph/sdk","msg":"retrying database introspection 4/5"}
{"level":"error","time":1706814044102,"pid":2084,"hostname":"fv-az775-625","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\":1706814014098,\"caller\":\"commands/root.go:239\",\"msg\":\"starting without env file\",\"hostname\":\"fv-az775-625\",\"pid\":2193,\"component\":\"@wundergraph/wunderctl\"}\n{\"level\":\"debug\",\"time\":1706814014101,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az775-625\",\"pid\":2193,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}\n{\"level\":\"debug\",\"time\":1706814014103,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az775-625\",\"pid\":2193,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}"}
{"level":"info","time":1706814044102,"pid":2084,"hostname":"fv-az775-625","component":"@wundergraph/sdk","msg":"retrying database introspection 5/5"}
{"level":"fatal","time":1706814044103,"pid":2084,"hostname":"fv-az775-625","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 target build for project chameleon and 3 tasks it depends 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/SBhI8oZxM9
BUILD_FAILED
Added shadcn chat component. Frontend only. Added both dark and light mode please check both. closes #1