Vjeks
Vjeks
WWasp-lang
Created by Vjeks on 9/30/2024 in #🙋questions
Fly.io deployment syntax error
I got the following error while deploying on Fly.io in the server logs. There is no syntax error when starting the server locally.
2024-09-30T13:42:17.991 app[56830310a09438] waw [info] > npm run validate-env && node --enable-source-maps -r dotenv/config bundle/server.js

2024-09-30T13:42:18.494 app[56830310a09438] waw [info] > [email protected] validate-env

2024-09-30T13:42:18.494 app[56830310a09438] waw [info] > node -r dotenv/config ./scripts/validate-env.mjs

2024-09-30T13:42:18.582 app[56830310a09438] waw [info] 🔍 Validating environment variables...

2024-09-30T13:42:18.849 app[56830310a09438] waw [info] /app/.wasp/out/sdk/wasp/auth/utils.ts:9

2024-09-30T13:42:18.849 app[56830310a09438] waw [info] import { Prisma } from '@prisma/client';

2024-09-30T13:42:18.849 app[56830310a09438] waw [info] ^

2024-09-30T13:42:18.849 app[56830310a09438] waw [info] SyntaxError: The requested module '@prisma/client' does not provide an export named 'Prisma'
2024-09-30T13:42:17.991 app[56830310a09438] waw [info] > npm run validate-env && node --enable-source-maps -r dotenv/config bundle/server.js

2024-09-30T13:42:18.494 app[56830310a09438] waw [info] > [email protected] validate-env

2024-09-30T13:42:18.494 app[56830310a09438] waw [info] > node -r dotenv/config ./scripts/validate-env.mjs

2024-09-30T13:42:18.582 app[56830310a09438] waw [info] 🔍 Validating environment variables...

2024-09-30T13:42:18.849 app[56830310a09438] waw [info] /app/.wasp/out/sdk/wasp/auth/utils.ts:9

2024-09-30T13:42:18.849 app[56830310a09438] waw [info] import { Prisma } from '@prisma/client';

2024-09-30T13:42:18.849 app[56830310a09438] waw [info] ^

2024-09-30T13:42:18.849 app[56830310a09438] waw [info] SyntaxError: The requested module '@prisma/client' does not provide an export named 'Prisma'
15 replies