IceCrew
IceCrew
PPrisma
Created by Tarna on 1/12/2025 in #help-and-questions
Cannot read properties of undefined (reading 'bind')
Hey @Tarna, I have the same problem, what did u do exactly? 😄
7 replies
NNuxt
Created by o.m on 12/6/2024 in #❓・help
Prisma error using nuxt
@o.m are u using postgres too?
8 replies
NNuxt
Created by o.m on 12/6/2024 in #❓・help
Prisma error using nuxt
Same here, got this error when I upgraded prisma to version 6 and changed from sqlite to postgres... I tried to add
vite: {
resolve: {
alias: {
'.prisma/client/index-browser':
'./node_modules/.prisma/client/index-browser.js',
},
},
},
vite: {
resolve: {
alias: {
'.prisma/client/index-browser':
'./node_modules/.prisma/client/index-browser.js',
},
},
},
but it's not working
8 replies
PPrisma
Created by IceCrew on 12/10/2024 in #help-and-questions
Retrieve accurate data
Solved :
return await prisma.recipesCategory.findMany({
where: {
recipes: {
some: {
AND: [
...ingredientsIdsWanted.map((id) => ({
ingredients: {
some: {
ingredientId: id,
},
},
})),
{
ingredients: {
none: {
ingredientId: {
in: ingredientsIdsNotWanted,
},
},
},
},
],
},
},
},
});
return await prisma.recipesCategory.findMany({
where: {
recipes: {
some: {
AND: [
...ingredientsIdsWanted.map((id) => ({
ingredients: {
some: {
ingredientId: id,
},
},
})),
{
ingredients: {
none: {
ingredientId: {
in: ingredientsIdsNotWanted,
},
},
},
},
],
},
},
},
});
8 replies
PPrisma
Created by IceCrew on 12/10/2024 in #help-and-questions
Retrieve accurate data
No description
8 replies
PPrisma
Created by IceCrew on 12/10/2024 in #help-and-questions
Retrieve accurate data
No description
8 replies
PPrisma
Created by IceCrew on 12/10/2024 in #help-and-questions
Retrieve accurate data
This is my issue ahah
8 replies
PPrisma
Created by IceCrew on 12/10/2024 in #help-and-questions
Retrieve accurate data
No description
8 replies
PPrisma
Created by IceCrew on 12/10/2024 in #help-and-questions
Retrieve accurate data
8 replies