Giter Site home page Giter Site logo

full-stack-estate's People

Contributors

safak avatar

Stargazers

Mohammad Raffiansyah avatar Ahmad Faisal Ridwan avatar Rina WATI avatar Kirubakaran avatar Hossin avatar  avatar Trent Fleet avatar Stoyan Dimitrov avatar Danny Boy Loberanes Jr avatar Theo Alali Daminabo avatar  avatar water avatar  avatar  avatar Ritesh Katwe avatar  avatar Phacharamongkon Taiyasut avatar Lalitha Shree C P avatar Poorna chander Terala avatar Achraf BRIKI avatar Animesh Swain avatar Dinuka Saranga Madhuthisara avatar John Oluwole avatar Mayank kr Mishra avatar Pedro Obando avatar Andry Ariadi avatar  Karani.dev avatar Tanzim Ahmed avatar Temitope Adenekan avatar Abdellatif Edlby avatar  avatar Resul avatar kostandinos avatar Alfredo Urdaneta avatar Kit Yeung avatar Sebastián Martínez López avatar Khanh Toan avatar  avatar Yakup Cemil KAYABAŞ avatar  avatar Sunil Saini avatar  avatar  avatar  avatar  avatar Foued Amiri avatar Melvin Tivane avatar Eak Netpanya avatar  avatar Bechir Arfaoui avatar Lazaro K. Casana avatar  avatar ahmedgallougi avatar  avatar  avatar Angelo B. J. Luidens avatar Terry Htay avatar  avatar Muhammad Furqan avatar  avatar Muhammad Bilal avatar Habeeb Awoyemi avatar Talha Emirhan Boyraz avatar Anıl avatar  avatar  avatar Raul Battistini avatar  avatar  avatar  avatar Gianfranco Navas Fernandini avatar Carlos Damian avatar Thomas Jonstrup avatar Mike Teddy Omondi avatar  avatar Hai Le The Hoang avatar osaket avatar  avatar Kent avatar Mehedi Hasan Siam avatar Eko Prakoso avatar etekumoses avatar Manish_Rajput avatar Leslie D Shumba avatar Abdul Wahid Muhaemin avatar haythem-farjallah avatar Anand Maurya avatar

Watchers

 avatar  avatar Hai Le The Hoang avatar

full-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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.