You are reading a single comment by @ManoBiletsky and its replies. Click here to read the full conversation.
I tried changing the pin designation, but i get no change at all.
When i change the CS pin to pin 5 i get no "sd card" error except 'connection lost' in the terminal window.
i tried every possible pin combination. with and without the Nodemcu.D..
my wiring is correct because i have used the sd card in the arduino IDE and that works just fine.
Have a look here:
There might be some clues on how to setup your wiring..
Nodemcu:D4type set up may help instead of just using D4 if you are going by the labels on the board...