Closed DinDin985 closed 8 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 | Jan 29, 2024 1:37am |
Note: Need to figure out the proper way to import images. (Public won't work with Vercel)
Added login page and converted carousel to responsive design.
Uploaded the images. But still failed to deploy open to any feedback.
Name | Status | Updated (UTC) |
---|---|---|
a0b8be5 | ❌ Failed | Mon, 29 Jan 2024 01:38:17 GMT |
Build failed:
> NX No explicit --base argument provided, but found environment variable NX_BASE so using its value as the affected base: 84a4cc34264b013c12dee04ef280a82e5cea1b0a
> NX No explicit --head argument provided, but found environment variable NX_HEAD so using its value as the affected head: a0b8be56d42a02974ff9580ae89a16ec78a26470
> NX Running targets test, build for 2 projects and 3 tasks they depend on:
- chameleon
- data-access/db
> nx run data-access/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 321ms
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 data-access/db:test:ci [remote cache]
No tests found, exiting with code 0
> nx run chameleon:test:ci
No tests found, exiting with code 0
> 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":1706492146122,"pid":2087,"hostname":"fv-az842-998","component":"@wundergraph/sdk","msg":"Installing prisma..."}
{"level":"info","time":1706492147048,"pid":2087,"hostname":"fv-az842-998","component":"@wundergraph/sdk","msg":"Prisma installed"}
{"level":"error","time":1706492177065,"pid":2087,"hostname":"fv-az842-998","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\":1706492147062,\"caller\":\"commands/root.go:239\",\"msg\":\"starting without env file\",\"hostname\":\"fv-az842-998\",\"pid\":2146,\"component\":\"@wundergraph/wunderctl\"}\n{\"level\":\"debug\",\"time\":1706492147066,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az842-998\",\"pid\":2146,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}\n{\"level\":\"debug\",\"time\":1706492147067,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az842-998\",\"pid\":2146,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}"}
{"level":"info","time":1706492177066,"pid":2087,"hostname":"fv-az842-998","component":"@wundergraph/sdk","msg":"retrying database introspection 1/5"}
{"level":"error","time":1706492207082,"pid":2087,"hostname":"fv-az842-998","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\":1706492177079,\"caller\":\"commands/root.go:239\",\"msg\":\"starting without env file\",\"hostname\":\"fv-az842-998\",\"pid\":2169,\"component\":\"@wundergraph/wunderctl\"}\n{\"level\":\"debug\",\"time\":1706492177083,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az842-998\",\"pid\":2169,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}\n{\"level\":\"debug\",\"time\":1706492177083,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az842-998\",\"pid\":2169,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}"}
{"level":"info","time":1706492207082,"pid":2087,"hostname":"fv-az842-998","component":"@wundergraph/sdk","msg":"retrying database introspection 2/5"}
{"level":"error","time":1706492237098,"pid":2087,"hostname":"fv-az842-998","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\":1706492207095,\"caller\":\"commands/root.go:239\",\"msg\":\"starting without env file\",\"hostname\":\"fv-az842-998\",\"pid\":2188,\"component\":\"@wundergraph/wunderctl\"}\n{\"level\":\"debug\",\"time\":1706492207098,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az842-998\",\"pid\":2188,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}\n{\"level\":\"debug\",\"time\":1706492207099,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az842-998\",\"pid\":2188,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}"}
{"level":"info","time":1706492237098,"pid":2087,"hostname":"fv-az842-998","component":"@wundergraph/sdk","msg":"retrying database introspection 3/5"}
{"level":"error","time":1706492267113,"pid":2087,"hostname":"fv-az842-998","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\":1706492237110,\"caller\":\"commands/root.go:239\",\"msg\":\"starting without env file\",\"hostname\":\"fv-az842-998\",\"pid\":2213,\"component\":\"@wundergraph/wunderctl\"}\n{\"level\":\"debug\",\"time\":1706492237113,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az842-998\",\"pid\":2213,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}\n{\"level\":\"debug\",\"time\":1706492237114,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az842-998\",\"pid\":2213,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}"}
{"level":"info","time":1706492267113,"pid":2087,"hostname":"fv-az842-998","component":"@wundergraph/sdk","msg":"retrying database introspection 4/5"}
{"level":"error","time":1706492297129,"pid":2087,"hostname":"fv-az842-998","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\":1706492267126,\"caller\":\"commands/root.go:239\",\"msg\":\"starting without env file\",\"hostname\":\"fv-az842-998\",\"pid\":2240,\"component\":\"@wundergraph/wunderctl\"}\n{\"level\":\"debug\",\"time\":1706492267129,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az842-998\",\"pid\":2240,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}\n{\"level\":\"debug\",\"time\":1706492267129,\"caller\":\"database/engine.go:333\",\"msg\":\"installing prisma\",\"hostname\":\"fv-az842-998\",\"pid\":2240,\"component\":\"@wundergraph/wunderctl\",\"directory\":\"/home/runner/.cache/wundergraph/prisma\",\"platform\":\"debian-openssl-3.0.x\"}"}
{"level":"info","time":1706492297129,"pid":2087,"hostname":"fv-az842-998","component":"@wundergraph/sdk","msg":"retrying database introspection 5/5"}
{"level":"fatal","time":1706492297130,"pid":2087,"hostname":"fv-az842-998","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/Qm2bABXGM3
BUILD_FAILED
Mark this day that I got my first major PR. DOPA DOWN!
WIP