Find Jobs
Hire Freelancers

Fix my little 'ParallelSaveError' bug in Node.js/Mongoose/Sharp.js

$10-30 USD

ที่ทำเสร็จแล้ว
โพสต์ มากกว่า 3 ปีที่ผ่านมา

$10-30 USD

ชำระเงินเมื่อส่งงาน
Hi, Please fix my bug I receive as follows: (node:25640) UnhandledPromiseRejectionWarning: ParallelSaveError: Can't save() the same doc multiple times in parallel. Document: 5f60e24e929e1e6428b9204b [0] at [login to view URL] [as constructor]... I use [login to view URL] to resize an image many times within a map-function due to criteria from array imgSourceSet and safe each after processing it. Array imgSourceSet comes from MongoDB imgSourceSet: [ { _id: 5f5fe01ddffd8425a0bf25c3, widthSrcSet: 600, widthResizeCriteria: 650 }, { _id: 5f5fe079dffd8425a0bf25c4, widthSrcSet: 250, widthResizeCriteria: 251 }, { _id: 5f5fe085dffd8425a0bf25c5, widthSrcSet: 400, widthResizeCriteria: 450 }, { _id: 5f5fe094dffd8425a0bf25c6, widthSrcSet: 550, widthResizeCriteria: 551 } ] Each object (criteria) will be applied for the image with sharp in the map function. See excerpt: [login to view URL](async (src) => { if ([login to view URL] > [login to view URL]) { sharp([login to view URL]) .resize({ width: [login to view URL], withoutEnlargement: true, }) .jpeg({ quality: 90, progressive: true, force: false }) .png({ compressionLevel: 9, progressive: true, force: false, }) .webp({ quality: 90, force: false }) .toFile( `${fileFolder}/${filenam2}-${[login to view URL]}.${ext}` ) .then(async (info) => { const image = true; const imageWidth = [login to view URL]; const imageHeight = [login to view URL]; const sizeByte = [login to view URL]; const slug = `${filenam2}-${[login to view URL]}.${ext}`; [login to view URL]({ image, imageWidth, imageHeight, sizeByte, slug, fileFolder, }); await [login to view URL](); ////////////////// Whilst uploading I receive the ParallelSaveError error. After uploading, I see that not all objects in array have been processed and saved. Please fix this bug for me. You can telle me the solution or fix it via anydesk. Only bid if you have the needed experience. No long lasting try and error for hours. After providing your solution I will try it and if it works I release the payment. If not, correct it, please. In case of questions, you can ask me and I can ask you. NO Scammers and NO bargaining and No Asking for tip after contract approval! In case of whatever reason, you help me via anydesk. Only efficient JS solution with the smallest possible performance needs. No JQuery. No further packages. Don't ask me to send my entire (project-)files.
รหัสโปรเจกต์: 27379066

เกี่ยวกับโปรเจกต์

3 ข้อเสนอ
โปรเจกต์ระยะไกล
ใช้งานอยู่ 4 ปีที่ผ่านมา

กำลังมองหาการสร้างรายได้ใช่ไหม?

ประโยชน์ของการประมูลกับ Freelancer

กำหนดงบประมาณและกรอบเวลาของคุณ
รับเงินจากการงานของคุณ
อธิบายข้อเสนอของคุณในภาพรวม
ลงทะเบียนและเสนอราคาฟรี
หมอบหมายให้:
รูปอวาตาร์ของผู้ใช้
The issue is related to mongoose save object and has nothing to do with [login to view URL] I've faced the exact same issue before and can resolve this within 15 minutes. Please provide me your Anydesk ID whenever you want me to start. I can start anytime. Thanks
$15 USD ใน 1 วัน
0.0 (0 รีวิว)
0.0
0.0
3 ฟรีแลนซ์กำลังเสนอราคาโดยเฉลี่ย $30 USD สำหรับงานนี้
รูปอวาตาร์ของผู้ใช้
i read the full bug code it is a js code error i think i can fix it within the next 4 hours I am a top js coder Regards
$50 USD ใน 1 วัน
5.0 (34 รีวิว)
6.7
6.7
รูปอวาตาร์ของผู้ใช้
I am a professional server bug fixer i will fix your bug in 1 day for more information dm me have a nice day
$25 USD ใน 1 วัน
0.0 (0 รีวิว)
0.0
0.0

เกี่ยวกับลูกค้า

ปักธงของ GERMANY
Berlin, Germany
4.8
20
ยืนยันวิธีการชำระเงินแล้ว
เป็นสมาชิกตั้งแต่ ม.ค. 18, 2017

การยืนยันลูกค้า

ขอบคุณ! เราได้ส่งลิงก์สำหรับเครดิตฟรีให้คุณทางอีเมลแล้ว
เกิดข้อผิดพลาดขณะส่งอีเมลของคุณ กรุณาลองอีกครั้ง
โลโก้ Freelancer Thailand / ภาษาไทย ช่วยเหลือและสนับสนุน FreelancerประเภทโปรเจคการประกวดFreelancerองค์กรแพ็กเกจสมาชิกโครงการ Freelancer ชั้นแนวหน้าการจัดการโปรเจคงานในพื้นที่Photo Anywhereหน้าจัดแสดงผลงานAPI สำหรับนักพัฒนาได้รับการยืนยันDesktop App เกี่ยวกับเกี่ยวกับเราวิธีใช้งานความปลอดภัยนักลงทุนแผนผังเว็บไซต์เรื่องราวข่าวออกสื่อทีมรางวัลข่าวประชาสัมพันธ์ร่วมงานกับเรา ข้อกำหนดนโยบายความเป็นส่วนตัวข้อกำหนดและเงื่อนไขนโยบายลิขสิทธิ์ข้อพึงปฏิบัติค่าธรรมเนียมและค่าบริการหุ้นส่วนEscrow.comLoadshiftWarrior Forum แอปโลโก้ Apple App Store โลโก้ Google Play
ไม่สามารถคัดลอกไปยังคลิปบอร์ดได้ โปรดลองอีกครั้งหลังปรับเปลี่ยนการอนุญาต
คัดลอกไปยังคลิปบอร์ดแล้ว
ผู้ใช้ที่ลงทะเบียน งานที่มีการโพสต์ทั้งหมด
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
กำลังโหลดตัวอย่าง
ได้รับอนุญาตสำหรับตำแหน่งทางภูมิศาสตร์
เซสชั่นการเข้าสู่ระบบของคุณหมดอายุและคุณได้ออกจากระบบแล้ว กรุณาเข้าสู่ระบบอีกครั้ง