xxxxxxxxxx
But the issue solved by simply downloading libomp140.x86_64.dll and place it in 'C:\Windows\System32' and it finally works after long pain of trying this and that!
xxxxxxxxxx
// Check if the model already exists before creating it
const Invoice = mongoose.models.Invoice || mongoose.model('Invoice', invoiceSchema);