Sd card module and nodemcu not working together

I found your post in the forum regarding the same problem,so I am giving u PM to know how I tackled the problem
I am using arduino uno to log data in sd card using sdfat library example,and then want to upload that sd card data to a server using SDWebServer example in sd library with the help of nodemcu.But the problem is both the arduino and nodemcu donot work together .When the data is logging i.e. arduino is operational,nodemcu cannot detect an sd card from sd card module but when I disconnect the arduino power supply it works well.
The arduino works well in both the cases,with or without the nodemcu.
What could be the problem and what can be the probable solution?

Ps : i connected both the arduino digital output pins and nodemcu pins to the sd card module pins using breadboard.