Vjeks
Vjeks
WWasp-lang
Created by Vjeks on 9/30/2024 in #🙋questions
Fly.io deployment syntax error
I don't think there was any errors while deploying the server. And the following are all the server logs in 1 restart:
2024-09-30T14:17:18.431 app[4d890de9b39e28] waw [info] [ 4.714111] reboot: Restarting system

2024-09-30T14:17:18.520 app[56830310a09438] waw [info] > [email protected] validate-env

2024-09-30T14:17:18.520 app[56830310a09438] waw [info] > node -r dotenv/config ./scripts/validate-env.mjs

2024-09-30T14:17:18.615 app[56830310a09438] waw [info] 🔍 Validating environment variables...

2024-09-30T14:17:18.667 runner[4d890de9b39e28] waw [info] machine has reached its max restart count of 10

2024-09-30T14:17:18.895 app[56830310a09438] waw [info] /app/.wasp/out/sdk/wasp/auth/utils.ts:9

2024-09-30T14:17:18.895 app[56830310a09438] waw [info] import { Prisma } from '@prisma/client';

2024-09-30T14:17:18.895 app[56830310a09438] waw [info] ^

2024-09-30T14:17:18.895 app[56830310a09438] waw [info] SyntaxError: The requested module '@prisma/client' does not provide an export named 'Prisma'

2024-09-30T14:17:18.895 app[56830310a09438] waw [info] at ModuleJob._instantiate (node:internal/modules/esm/module_job:124:21)

2024-09-30T14:17:18.895 app[56830310a09438] waw [info] at async ModuleJob.run (node:internal/modules/esm/module_job:190:5)

2024-09-30T14:17:18.895 app[56830310a09438] waw [info] Node.js v18.18.0

2024-09-30T14:17:18.978 app[56830310a09438] waw [info] INFO Main child exited normally with code: 1

2024-09-30T14:17:18.992 app[56830310a09438] waw [info] INFO Starting clean up.

2024-09-30T14:17:18.993 app[56830310a09438] waw [info] WARN could not unmount /rootfs: EINVAL: Invalid argument
2024-09-30T14:17:18.431 app[4d890de9b39e28] waw [info] [ 4.714111] reboot: Restarting system

2024-09-30T14:17:18.520 app[56830310a09438] waw [info] > [email protected] validate-env

2024-09-30T14:17:18.520 app[56830310a09438] waw [info] > node -r dotenv/config ./scripts/validate-env.mjs

2024-09-30T14:17:18.615 app[56830310a09438] waw [info] 🔍 Validating environment variables...

2024-09-30T14:17:18.667 runner[4d890de9b39e28] waw [info] machine has reached its max restart count of 10

2024-09-30T14:17:18.895 app[56830310a09438] waw [info] /app/.wasp/out/sdk/wasp/auth/utils.ts:9

2024-09-30T14:17:18.895 app[56830310a09438] waw [info] import { Prisma } from '@prisma/client';

2024-09-30T14:17:18.895 app[56830310a09438] waw [info] ^

2024-09-30T14:17:18.895 app[56830310a09438] waw [info] SyntaxError: The requested module '@prisma/client' does not provide an export named 'Prisma'

2024-09-30T14:17:18.895 app[56830310a09438] waw [info] at ModuleJob._instantiate (node:internal/modules/esm/module_job:124:21)

2024-09-30T14:17:18.895 app[56830310a09438] waw [info] at async ModuleJob.run (node:internal/modules/esm/module_job:190:5)

2024-09-30T14:17:18.895 app[56830310a09438] waw [info] Node.js v18.18.0

2024-09-30T14:17:18.978 app[56830310a09438] waw [info] INFO Main child exited normally with code: 1

2024-09-30T14:17:18.992 app[56830310a09438] waw [info] INFO Starting clean up.

2024-09-30T14:17:18.993 app[56830310a09438] waw [info] WARN could not unmount /rootfs: EINVAL: Invalid argument
15 replies
WWasp-lang
Created by Vjeks on 9/30/2024 in #🙋questions
Fly.io deployment syntax error
It isn't my code, but rather generated by wasp in the file ".wasp/out/sdk/wasp/auth/utils.ts" and it looks like this:
import { Prisma } from '@prisma/client';
import { Prisma } from '@prisma/client';
15 replies