prisma: prisma error `{"clientVersion":"3.8.1"}` in app engine
Bug description
this is my prisma code .when i try to deploy prisma + nodejs into app engine . i got this error message .everything working fine in locally . but when i try to deploy the code in app engine then i got this error message .
{“clientVersion”:“3.8.1”}
const express = require("express");
const route = express();
const { PrismaClient } = require("../prisma/generated/client");
const prisma = new PrismaClient();
route.get("/", async (req, res) => {
try {
const allUsers = await prisma.account.findMany();
res.send({
result: allUsers,
});
} catch (error) {
res.send({
error: error,
});
}
});
module.exports = route;
How to reproduce
Expected behavior
No response
Prisma information
Environment & setup
Prisma Version
prisma : 3.8.1
@prisma/client : 3.8.1
Current platform : darwin
Query Engine (Node-API) : libquery-engine 34df67547cf5598f5a6cd3eb45f14ee70c3fb86f (at node_modules/@prisma/engines/libquery_engine-darwin.dylib.node)
Migration Engine : migration-engine-cli 34df67547cf5598f5a6cd3eb45f14ee70c3fb86f (at node_modules/@prisma/engines/migration-engine-darwin)
Introspection Engine : introspection-core 34df67547cf5598f5a6cd3eb45f14ee70c3fb86f (at node_modules/@prisma/engines/introspection-engine-darwin)
Format Binary : prisma-fmt 34df67547cf5598f5a6cd3eb45f14ee70c3fb86f (at node_modules/@prisma/engines/prisma-fmt-darwin)
Default Engines Hash : 34df67547cf5598f5a6cd3eb45f14ee70c3fb86f
Studio : 0.452.0
About this issue
- Original URL
- State: open
- Created 2 years ago
- Reactions: 1
- Comments: 17 (5 by maintainers)
@Jolg42 , yep exactly worked in locally but not worked in deployment .this is the actual response i got in try catch block . {“clientVersion”:“3.8.1”} thats it .