amazona
amazona copied to clipboard
Build Ecommerce Like Amazon By MERN Stack
everything has been going well as am building shopping cart, but when i click in product it says request failed with status code 404. here is my server.js `import express...
At line 23 of Product.js in components folder, You have this error "{product.seller.seller.name}". seller is being called twice.
i keep on getting this error , please assist me ,  the code below is what is triggering the error (TypeError: Object(...) is not a function) useEffect(()...
ValidationError:: orderItems.0.product: Path `product` is required. at model.Document.invalidate (C:\Users\madhu\Desktop\Student Projects\Latest\mongodb\node_modules\mongoose\lib\document.js:2760:32) at EmbeddedDocument.invalidate (C:\Users\madhu\Desktop\Student Projects\Latest\mongodb\node_modules\mongoose\lib\types\embedded.js:298:29) at C:\Users\madhu\Desktop\Student Projects\Latest\mongodb\node_modules\mongoose\lib\document.js:2552:17 at C:\Users\madhu\Desktop\Student Projects\Latest\mongodb\node_modules\mongoose\lib\schematype.js:1273:9 at processTicksAndRejections (internal/process/task_queues.js:75:11)
I'm getting a : TypeError: Cannot read property 'category' of undefined _Originally posted by @luxi101 in https://github.com/basir/amazona/pull/56#r675275554_
import React, { useEffect, } from 'react'; import Product from '../components/Product'; import LoadingBox from '../components/LoadingBox'; import MessageBox from '../components/MessageBox'; import { useDispatch, useSelector } from 'react-redux'; import { listProducts }...
facing these issues at the homeScreen.js `import React, { useEffect, useState } from 'react'; import axios from 'axios'; import Product from '../components/Product'; import LoadingBox from '../components/LoadingBox'; import MessageBox from '../components/MessageBox';...
Hi, I keep getting "SyntaxError: Unexpected identifier" when trying to run node in the beginning of lesson 9. I also added "type": "module" in the package.json. Nothing works. Here is...
How to fix this issue? can you teach me how to fix this issue?