@@Dhanushpandian395 version check panungaa broo.. na athu 2 months munadii panathu maranthiruchu bro😂
@susmithsurendran7036 ай бұрын
I'm getting a node crash error while I am passing the wrong id to get single product details.
@dineshg73495 ай бұрын
Ji i am also getting error when I am connect postman tool and terminal js code running
@sundart34955 ай бұрын
Please add the catchAsyncError function middleware to getSingleProduct function same as new product
@DhanushPandian-ov8zd9 ай бұрын
@jvlcode bro cast error not working
@mc360trolls24 ай бұрын
Same as enaku
@sowravraj62027 ай бұрын
post more projects like this in mern stack broo, plss
@informer92612 жыл бұрын
Super bro keep rocking
@jaisankare1352 Жыл бұрын
D:\React\js-cart\backend\controllers\productController.js:76 await product.remove(); ^ TypeError: product.remove is not a function at exports.deleteProduct (D:\React\js-cart\backend\controllers\productController.js:76:20) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) Node.js v18.12.1 [nodemon] app crashed - waiting for file changes before starting... bro remove kitta error show aguthu bro,api request kudukum pothu product delete agala bro.....help me
@rajendrankt4510 Жыл бұрын
Product.deleteOne(product) this will work bro
@nachimuthuramalingam4979 Жыл бұрын
This issue can occur if you are using Mongoose version 6.x or later. In Mongoose 6.x, the remove() function has been deprecated and removed. Instead, you can use the deleteOne() function to delete a document. To resolve the error, you can update the deleteProduct controller to use the deleteOne() function. Here's the updated code:
@richardcastro5615 Жыл бұрын
@@nachimuthuramalingam4979 you can also use const product = await Product.findByIdAndDelete(req.params.id);
@nthgtosay..686011 ай бұрын
@@rajendrankt4510 thanks thalaivare
@mc360trolls24 ай бұрын
Bro neega const Ila let keyword use pannunga Mela products ku
@lakshmisaravanan1745 Жыл бұрын
Hi Bro I need one clarification bro, I can get this error "Product validation failed: category: please select correct category" how it solve bro Kindly replay bro
@santhoshkumar-go6pg Жыл бұрын
bro product.json file la default products irukum bro athula categories irukum athula irukara name uhm unga product model la irukara categories name uh correct aa irukanu paarunga spelling mistakes iruntha intha maari error kaamikum
@cyberresearcher20442 жыл бұрын
Next part kaga waiting
@prasanthmurugan317 Жыл бұрын
bro unagallu intha video puriyutha so ennaku oru doubt irukku pls explain ippo naam product ecoomerce website develop pannurom so products ellam add pannirukkom and future la antha product details modify pannanum and price change pannaum codela change panna mudiyathu intha problem ku solution and idea iruntha sollu ga bro because i will create final year project so and naa ketta question puriyutha
@cyberresearcher2044 Жыл бұрын
@@prasanthmurugan317 ok bro athuku tha avar last part vara paruga athula admin panel create paniruparu afmin pannel muliyama niga price add panikalam apram price change panikalam
@kaliesedits8672 Жыл бұрын
cast error connection fail aagudhu bro why
@iamdhinesh06 Жыл бұрын
bro same issue plz ,,how to solve
@stephan9279 Жыл бұрын
Bro same error did you find any solution bro
@ravikumar-personal703 Жыл бұрын
same error issue bro, therincha sollunga
@cyberresearcher20442 жыл бұрын
Super bro next part yappa bro
@TradeVisionaries7 ай бұрын
best explanation
@mc360trolls24 ай бұрын
Cast error not working bro
@shreyasn36552 ай бұрын
u need to pass catchAsyncError in the getSingleProduct function
@viratmano6032 ай бұрын
@@shreyasn3655Super bro it's working
@bikobaki11482 жыл бұрын
nandri mis
@easwarapriyan97632 жыл бұрын
Semma bro
@esh34332 жыл бұрын
React la Material UI (MUI) learn panna jop ketaikuma bro
@Gnkrish Жыл бұрын
Bro create product la validation error varuthu how to solve
@santhoshkumar-go6pg Жыл бұрын
bro product.json file la default products irukum bro athula categories irukum athula irukara name uhm unga product model la irukara categories name uh correct aa irukanu paarunga spelling mistakes iruntha intha maari error kaamikum