I see that this is the generated output in y Githu...
# orm-help
v
I see that this is the generated output in y Github actions, any idea?
Copy code
class PrismaClient {
  constructor() {
    throw new Error(
      `@prisma/client did not initialize yet. Please run "prisma generate" and try to import it again.
In case this error is unexpected for you, please report it in <https://github.com/prisma/prisma/issues>`,
    )
  }
}

module.exports = {
  PrismaClient,
}
m
might need a postinstall hook to generate
v
I did:
Copy code
"postinstall": "npx prisma generate"
Downgrading it to version
3.8.1
worked
n
Hey Vivek 👋 if downgrading fixed the issue, could you maybe open an issue on GitHub with more information about the problem! We’d like to make sure that this works on the newest Prisma versions as well 🙂
v
Sure
This problem still persists, upgraded to
4.2.1
and faced the same issue, downgrading back to
3.8.1
solved the issue for me
it would be great if someone can look into it as this seems to be a major blocker
n
Hey Vivek 👋 could you share the issue you created? I’ll share it with our Engineering team internally to ask for a timeline 🙏
v
Hi, I haven’t created a github issue yet but I am surprised how others are managing to get it working on AWS lambda