-
๐ญ Iโm currently working on A fullstack project related to Web3 as a practice to enhance my Web3 skill
-
๐ฑ Iโm currently learning Blockchain technologies(Web3),
-
๐ฏ Iโm looking to collaborate on Any web app projects
-
๐ค Iโm looking for help with Learning blockchain technology
-
๐จโ๐ป All of my projects are available at github.com/mikiasyonas
-
๐ฌ Ask me about Javascript, Nodejs, ReactJs, Typescript, Graphql, Websocket technology, design patterns, Next.js
-
๐ซ How to reach me [email protected], +251984792253
-
๐ Know about my experiences https://www.linkedin.com/in/mikiasyonas/
-
โก Fun fact I love making music
e-commerce-typescript-api's Introduction
e-commerce-typescript-api's People
e-commerce-typescript-api's Issues
User registration duplicate email needs to be handled
{ "level": 50, "time": 1643882014281, "pid": 35716, "hostname": "mikias-Inspiron-15-7000-Gaming", "reqId": "req-1", "err": { "type": "PrismaClientKnownRequestError", "message": "\nInvalid
prisma.user.create() invocation in\n/home/mikias/Documents/typescript/E-Commerce-Typescript-API/dist/index.js:93:50\n\n 90 hashedPassword = _b.sent();\n 91 dateOfB = new Date(dob);\n 92 confirmationCode = (0, confirmationCodeGenerator_1.generateConfirmationCode)();\nโ 93 return [4 /*yield*/, prisma.user.create(\n Unique constraint failed on the fields: (
email)", "stack": "Error: \nInvalid
prisma.user.create() invocation in\n/home/mikias/Documents/typescript/E-Commerce-Typescript-API/dist/index.js:93:50\n\n 90 hashedPassword = _b.sent();\n 91 dateOfB = new Date(dob);\n 92 confirmationCode = (0, confirmationCodeGenerator_1.generateConfirmationCode)();\nโ 93 return [4 /*yield*/, prisma.user.create(\n Unique constraint failed on the fields: (
email)\n at cb (/home/mikias/Documents/typescript/E-Commerce-Typescript-API/node_modules/@prisma/client/runtime/index.js:38703:17)\n at async PrismaClient._request (/home/mikias/Documents/typescript/E-Commerce-Typescript-API/node_modules/@prisma/client/runtime/index.js:40851:18)", "code": "P2002", "clientVersion": "3.9.0", "meta": { "target": [ "email" ] } }, "msg": "\nInvalid
prisma.user.create() invocation in\n/home/mikias/Documents/typescript/E-Commerce-Typescript-API/dist/index.js:93:50\n\n 90 hashedPassword = _b.sent();\n 91 dateOfB = new Date(dob);\n 92 confirmationCode = (0, confirmationCodeGenerator_1.generateConfirmationCode)();\nโ 93 return [4 /*yield*/, prisma.user.create(\n Unique constraint failed on the fields: (
email)" }
Property 'id' does not exist on type 'string | JwtPayload'. Property 'id' does not exist on type 'string'.
error on JWT so commented out the jwt token verifier. it starts from line 228 upto line 250 in index.ts.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.