problem when deploying prisma

hello guys , i just completed my portfolio and i'm trying to deploy my app to vercel but i'm always having this error You can mark the path "mock-aws-s3" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle. You can also surround this "require" call with a try/catch block to handle this failure at run-time instead of bundle-time. , the problem is i never used the path that he is talking about , i started getting the error when i added prisma to my code , any idea how to solve it ?
Solution:
you are right , i found that there is a part of the project that uses Lucia auth i forgot to delete it , it's the source of this error
Jump to solution
5 Replies
Jan Piotrowski (janpio)
Prisma does not use the package you are talking about: https://github.com/search?q=repo%3Aprisma%2Fprisma%20mock-aws-s3&type=code
GitHub
Build software better, together
GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 420 million projects.
From An unknown user
From An unknown user
From An unknown user
Jan Piotrowski (janpio)
So I guess this somehow happened at the same time, or is completely unrelated - but unfortunately nothing we can help you with. (You can confirm by removing Prisma - the problem will still be there)
adam boukhris
adam boukhrisOP7mo ago
The problem happened in my original project, and when i found people talking about the error i found that they are using Prisma, so i tryied to make the same project without prisma , it worked correctly , but when i added prisma it happened
Jan Piotrowski (janpio)
But the package is not used or referenced by Prisma, so I see no way how that could happen.
Solution
adam boukhris
adam boukhris7mo ago
you are right , i found that there is a part of the project that uses Lucia auth i forgot to delete it , it's the source of this error
Want results from more Discord servers?
Add your server