PrismaP
Prisma2y ago
1 reply
Striking_Wolf

Help for Uncaught TypeError: Failed to resolve module specifier ".prisma/client/index-browser".

Hi All,

I am from deployment team and our developer is using prisma orm in a project. Previous version of the project was using prisma version 4 and the developer upgrade it to version 5 in his last commit, now the application is facing this issue, Uncaught TypeError: Failed to resolve module specifier ".prisma/client/index-browser". Relative references must start with either "/", "./", or "../". The application is being built and deployed as a docker container. Currently the workaround has been done by making prisma version as 5 and @prisma/client version as 4.16.2. But we need to make it work for prisma 5.17 and @prisma/client 5.17.0. We are using RedwoodJs framework and node version 18.14. Can anyone please advise what steps needed to be followed so i can guide developer team to do the same. Thanks in advance.
prisma_error.png
Was this page helpful?