π created a pen #32
Annotations
3 errors
../test/pen.test.ts:
server/utils/user.ts#L18
PrismaClientKnownRequestError:
Invalid `prisma.user.create()` invocation:
Unique constraint failed on the constraint: `users_email_key`
β― _n.handleRequestError ../node_modules/.pnpm/@prisma[email protected][email protected]/node_modules/@prisma/client/runtime/library.js:121:7749
β― _n.handleAndLogRequestError ../node_modules/.pnpm/@prisma[email protected][email protected]/node_modules/@prisma/client/runtime/library.js:121:7057
β― _n.request ../node_modules/.pnpm/@prisma[email protected][email protected]/node_modules/@prisma/client/runtime/library.js:121:6741
β― l ../node_modules/.pnpm/@prisma[email protected][email protected]/node_modules/@prisma/client/runtime/library.js:130:9355
β― Module.createUser utils/user.ts:18:12
β― ../test/auth.ts:35:24
β― setupUsers ../test/auth.ts:33:3
β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―
Serialized Error: { code: 'P2002', clientVersion: '5.18.0', meta: { modelName: 'User', target: 'users_email_key' }, batchRequestIdx: undefined }
|
../test/user.test.ts:
server/utils/user.ts#L18
PrismaClientKnownRequestError:
Invalid `prisma.user.create()` invocation:
Unique constraint failed on the constraint: `users_email_key`
β― _n.handleRequestError ../node_modules/.pnpm/@prisma[email protected][email protected]/node_modules/@prisma/client/runtime/library.js:121:7749
β― _n.handleAndLogRequestError ../node_modules/.pnpm/@prisma[email protected][email protected]/node_modules/@prisma/client/runtime/library.js:121:7057
β― _n.request ../node_modules/.pnpm/@prisma[email protected][email protected]/node_modules/@prisma/client/runtime/library.js:121:6741
β― l ../node_modules/.pnpm/@prisma[email protected][email protected]/node_modules/@prisma/client/runtime/library.js:130:9355
β― Module.createUser utils/user.ts:18:12
β― ../test/auth.ts:35:24
β― setupUsers ../test/auth.ts:33:3
β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―β―
Serialized Error: { code: 'P2002', clientVersion: '5.18.0', meta: { modelName: 'User', target: 'users_email_key' }, batchRequestIdx: undefined }
|
test
Process completed with exit code 1.
|