full-stack-estate's People
Forkers
etekumoses sundarshahi zihadm654 zafranx ali-eljerrari hoanghailethe miketeddyomondi ivandi1980 hidding-dev meshhack ozgurcelix angeloluidens bilalzafarr0001 e-jfc mario-coxe jeandedieuh ifazo socheth 1999marouane longdobp turkiye-acik-kaynak-yazilim-grubu vbmars jayant2012 ajgaht codewizard22 davidcs50 luvongam hood-codivo muraliairody shakir737 ayubsimbaa sheharyar tsokor luckycode100 sanyasehgal24 kostandinosvas bedwi4dev princewhyte2 owais-963 code-with-godie cskfanbase43606 usama387 tomato414941 vedpksahu amadujah umangkartikey alif-al-razi lkrbalci-forks mohamedadel101 zbahati pradhyumn-76 danny4122 sanjana0001 trentfleet nitesh01487 vedant057full-stack-estate's Issues
post creation error
Argument user
is missing. error affecting only when using client side software, when using api handling software Postman post was created successfully
PrismaClientValidationError:
Invalid prisma.post.create()
invocation:
{
data: {
title: "topi",
price: 595,
address: "gopi",
city: "bbuyy",
bedroom: null,
bathroom: null,
type: "rent",
property: "apartment",
latitude: "Nihil gloriosis solum extremo",
longitude: "Expectant solvantur antiquis sentiant",
images: [
"https://res.cloudinary.com/shreyash-cloudinary/image/upload/v1714644668/posts/bdml2i788ltutawhuoff.jpg",
"https://res.cloudinary.com/shreyash-cloudinary/image/upload/v1714644669/posts/x4h0ryoxp1wlfqmqgq8h.jpg",
"https://res.cloudinary.com/shreyash-cloudinary/image/upload/v1714644669/posts/ear2u64cifehvcqdarf8.jpg",
"https://res.cloudinary.com/shreyash-cloudinary/image/upload/v1714644671/posts/tbypzq9tioysgcca5kup.jpg"
],
userId: "663218604260a76920dd4c9b",
postDetail: {
create: {
desc: "
lorem ispum
",utilities: "owner",
pet: "allowed",
income: "Mundi amarissimam didicisset eripuit",
size: 3979,
school: 5491,
bus: 2234,
restaurant: 7662
}
},
- user: {
-
create: UserCreateWithoutPostInput | UserUncheckedCreateWithoutPostInput,
-
connectOrCreate: UserCreateOrConnectWithoutPostInput,
-
connect: UserWhereUniqueInput
- }
}
}
Argument user
is missing.
at Tn (C:\Users\Shreyash1\Desktop\real-estate-react-project\api\node_modules@prisma\client\runtime\library.js:115:6855)
at In.handleRequestError (C:\Users\Shreyash1\Desktop\real-estate-react-project\api\node_modules@prisma\client\runtime\library.js:122:6510)
at In.handleAndLogRequestError (C:\Users\Shreyash1\Desktop\real-estate-react-project\api\node_modules@prisma\client\runtime\library.js:122:6188)
at In.request (C:\Users\Shreyash1\Desktop\real-estate-react-project\api\node_modules@prisma\client\runtime\library.js:122:5896)
at async l (C:\Users\Shreyash1\Desktop\real-estate-react-project\api\node_modules@prisma\client\runtime\library.js:127:11167)
at async addPost (file:///C:/Users/Shreyash1/Desktop/real-estate-react-project/api/controllers/post.controller.js:67:25) {
clientVersion: '5.13.0'
}
[nodemon] restarting due to changes...
[nodemon] starting node api/app.js app.js
test
server is running on port 5000
PrismaClientValidationError:
Invalid prisma.post.create()
invocation:
{
data: {
title: "topi house",
price: 595,
address: "gopi",
city: "mars",
bedroom: 1,
bathroom: 1,
type: "rent",
property: "apartment",
latitude: "83787533",
longitude: "36346433",
images: [
"https://res.cloudinary.com/shreyash-cloudinary/image/upload/v1714644668/posts/bdml2i788ltutawhuoff.jpg",
"https://res.cloudinary.com/shreyash-cloudinary/image/upload/v1714644669/posts/x4h0ryoxp1wlfqmqgq8h.jpg",
"https://res.cloudinary.com/shreyash-cloudinary/image/upload/v1714644669/posts/ear2u64cifehvcqdarf8.jpg",
"https://res.cloudinary.com/shreyash-cloudinary/image/upload/v1714644671/posts/tbypzq9tioysgcca5kup.jpg"
],
userId: "663218604260a76920dd4c9b",
postDetail: {
create: {
desc: "
lorem ispum
",utilities: "owner",
pet: "allowed",
income: "Mundi amarissimam didicisset eripuit",
size: 3979,
school: 5491,
bus: 2234,
restaurant: 7662
}
},
- user: {
-
create: UserCreateWithoutPostInput | UserUncheckedCreateWithoutPostInput,
-
connectOrCreate: UserCreateOrConnectWithoutPostInput,
-
connect: UserWhereUniqueInput
- }
}
}
Argument user
is missing.
at Tn (C:\Users\Shreyash1\Desktop\real-estate-react-project\api\node_modules@prisma\client\runtime\library.js:115:6855)
at In.handleRequestError (C:\Users\Shreyash1\Desktop\real-estate-react-project\api\node_modules@prisma\client\runtime\library.js:122:6510)
at In.handleAndLogRequestError (C:\Users\Shreyash1\Desktop\real-estate-react-project\api\node_modules@prisma\client\runtime\library.js:122:6188)
at In.request (C:\Users\Shreyash1\Desktop\real-estate-react-project\api\node_modules@prisma\client\runtime\library.js:122:5896)
at async l (C:\Users\Shreyash1\Desktop\real-estate-react-project\api\node_modules@prisma\client\runtime\library.js:127:11167)
at async addPost (file:///C:/Users/Shreyash1/Desktop/real-estate-react-project/api/controllers/post.controller.js:66:25) {
clientVersion: '5.13.0'
}
ENV Example Please!
Would you mind adding the .env.example file to guide us on all the environment variables used.
profileUpdatePage Error
after creating profile update page this errors occurred in web page and console how can we fix it
Unexpected Application Error!
Objects are not valid as a React child (found: object with keys {message, name, code, config, request, response}). If you meant to render a collection of children, use an array instead.
Error: Objects are not valid as a React child (found: object with keys {message, name, code, config, request, response}). If you meant to render a collection of children, use an array instead.
at throwOnInvalidObjectType (http://localhost:5173/node_modules/.vite/deps/chunk-XBHG3ID7.js?v=12ed7edd:11222:17)
at reconcileChildFibers2 (http://localhost:5173/node_modules/.vite/deps/chunk-XBHG3ID7.js?v=12ed7edd:11852:15)
at reconcileChildren (http://localhost:5173/node_modules/.vite/deps/chunk-XBHG3ID7.js?v=12ed7edd:14292:37)
at updateHostComponent (http://localhost:5173/node_modules/.vite/deps/chunk-XBHG3ID7.js?v=12ed7edd:14802:11)
at beginWork (http://localhost:5173/node_modules/.vite/deps/chunk-XBHG3ID7.js?v=12ed7edd:15923:22)
at beginWork$1 (http://localhost:5173/node_modules/.vite/deps/chunk-XBHG3ID7.js?v=12ed7edd:19749:22)
at performUnitOfWork (http://localhost:5173/node_modules/.vite/deps/chunk-XBHG3ID7.js?v=12ed7edd:19194:20)
at workLoopSync (http://localhost:5173/node_modules/.vite/deps/chunk-XBHG3ID7.js?v=12ed7edd:19133:13)
at renderRootSync (http://localhost:5173/node_modules/.vite/deps/chunk-XBHG3ID7.js?v=12ed7edd:19112:15)
at recoverFromConcurrentError (http://localhost:5173/node_modules/.vite/deps/chunk-XBHG3ID7.js?v=12ed7edd:18732:28)
at performConcurrentWorkOnRoot (http://localhost:5173/node_modules/.vite/deps/chunk-XBHG3ID7.js?v=12ed7edd:18680:30)
at workLoop (http://localhost:5173/node_modules/.vite/deps/chunk-XBHG3ID7.js?v=12ed7edd:197:42)
at flushWork (http://localhost:5173/node_modules/.vite/deps/chunk-XBHG3ID7.js?v=12ed7edd:176:22)
at MessagePort.performWorkUntilDeadline (http://localhost:5173/node_modules/.vite/deps/chunk-XBHG3ID7.js?v=12ed7edd:384:29)
**Here the error occur in console **
Argument user
is missing.
at Tn (C:\Users\Kavindu\Desktop\Push\api\node_modules@prisma\client\runtime\library.js:115:6855)
at In.handleRequestError (C:\Users\Kavindu\Desktop\Push\api\node_modules@prisma\client\runtime\library.js:122:6510)
at In.handleAndLogRequestError (C:\Users\Kavindu\Desktop\Push\api\node_modules@prisma\client\runtime\library.js:122:6188)
at In.request (C:\Users\Kavindu\Desktop\Push\api\node_modules@prisma\client\runtime\library.js:122:5896)
at async l (C:\Users\Kavindu\Desktop\Push\api\node_modules@prisma\client\runtime\library.js:127:11167)
at async addPost (file:///C:/Users/Kavindu/Desktop/Push/api/controllers/post.controller.js:44:21) {
clientVersion: '5.13.0'
}
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.