Closed JakeJeongAiden closed 9 months ago
This PR was not deployed automatically as @JakeJeongAiden does not have access to the Railway project.
In order to get automatic PR deploys, please add @JakeJeongAiden to the project inside the project settings page.
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 2:58am |
Name | Status | Updated (UTC) |
---|---|---|
6c8a4a8 | ❌ Failed | Thu, 01 Feb 2024 19:01:08 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: 6c8a4a8d0b0d07dfe188e531299f52ecc03e76d9
> NX Running target build for project chameleon and 3 tasks it depends on:
- chameleon
> nx run db:generate [remote cache]
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 304ms
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:wunderctl-generate
{"level":"info","time":1706813917789,"pid":2054,"hostname":"fv-az915-391","component":"@wundergraph/sdk","msg":"Installing prisma..."}
{"level":"info","time":1706813918434,"pid":2054,"hostname":"fv-az915-391","component":"@wundergraph/sdk","msg":"Prisma installed"}
{"level":"error","time":1706813948455,"pid":2054,"hostname":"fv-az915-391","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\":1706813918452,\"caller\":\"commands/root.go:239\",\"msg\":\"starting without env file\",\"hostname\":\"fv-az915-391\",\"pid\":2081,\"component\":\"@wundergraph/wunderctl\"}\n{\"level\":\"debug\",\"time\":1706813918456,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az915-391\",\"pid\":2081,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}\n{\"level\":\"debug\",\"time\":1706813918457,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az915-391\",\"pid\":2081,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}"}
{"level":"info","time":1706813948455,"pid":2054,"hostname":"fv-az915-391","component":"@wundergraph/sdk","msg":"retrying database introspection 1/5"}
{"level":"error","time":1706813978472,"pid":2054,"hostname":"fv-az915-391","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\":1706813948469,\"caller\":\"commands/root.go:239\",\"msg\":\"starting without env file\",\"hostname\":\"fv-az915-391\",\"pid\":2110,\"component\":\"@wundergraph/wunderctl\"}\n{\"level\":\"debug\",\"time\":1706813948472,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az915-391\",\"pid\":2110,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}\n{\"level\":\"debug\",\"time\":1706813948474,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az915-391\",\"pid\":2110,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}"}
{"level":"info","time":1706813978472,"pid":2054,"hostname":"fv-az915-391","component":"@wundergraph/sdk","msg":"retrying database introspection 2/5"}
{"level":"error","time":1706814008488,"pid":2054,"hostname":"fv-az915-391","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\":1706813978485,\"caller\":\"commands/root.go:239\",\"msg\":\"starting without env file\",\"hostname\":\"fv-az915-391\",\"pid\":2198,\"component\":\"@wundergraph/wunderctl\"}\n{\"level\":\"debug\",\"time\":1706813978488,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az915-391\",\"pid\":2198,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}\n{\"level\":\"debug\",\"time\":1706813978489,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az915-391\",\"pid\":2198,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}"}
{"level":"info","time":1706814008488,"pid":2054,"hostname":"fv-az915-391","component":"@wundergraph/sdk","msg":"retrying database introspection 3/5"}
{"level":"error","time":1706814038503,"pid":2054,"hostname":"fv-az915-391","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\":1706814008500,\"caller\":\"commands/root.go:239\",\"msg\":\"starting without env file\",\"hostname\":\"fv-az915-391\",\"pid\":2236,\"component\":\"@wundergraph/wunderctl\"}\n{\"level\":\"debug\",\"time\":1706814008504,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az915-391\",\"pid\":2236,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}\n{\"level\":\"debug\",\"time\":1706814008504,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az915-391\",\"pid\":2236,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}"}
{"level":"info","time":1706814038503,"pid":2054,"hostname":"fv-az915-391","component":"@wundergraph/sdk","msg":"retrying database introspection 4/5"}
{"level":"error","time":1706814068522,"pid":2054,"hostname":"fv-az915-391","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\":1706814038518,\"caller\":\"commands/root.go:239\",\"msg\":\"starting without env file\",\"hostname\":\"fv-az915-391\",\"pid\":2259,\"component\":\"@wundergraph/wunderctl\"}\n{\"level\":\"debug\",\"time\":1706814038521,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az915-391\",\"pid\":2259,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}\n{\"level\":\"debug\",\"time\":1706814038522,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az915-391\",\"pid\":2259,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}"}
{"level":"info","time":1706814068522,"pid":2054,"hostname":"fv-az915-391","component":"@wundergraph/sdk","msg":"retrying database introspection 5/5"}
{"level":"fatal","time":1706814068523,"pid":2054,"hostname":"fv-az915-391","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/DR52gotFft
BUILD_FAILED
Your build is failing because you didnt install
pnpm add @react-email/components -E
Only note from me is I think the 'Visit Chameleon' button should be centered with the image and header, just flows better on the eyes :) looks clean though
Description : Add tailwind to react. Subject to change
Image path is set to locally. I'm not sure if emails will have the logo in this case. Doc examples were using
for path for image.