Error compiling for board NodeMCU 1.0 #error Architecture or board not supported

Arduino: 1.8.11 (Mac OS X), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"

In file included from /Users/johndelacruz/Documents/Arduino/libraries/SD/src/utility/Sd2Card.h:26:0,
from /Users/johndelacruz/Documents/Arduino/libraries/SD/src/utility/SdFat.h:29,
from /Users/johndelacruz/Documents/Arduino/libraries/SD/src/SD.h:20,
from /Users/johndelacruz/Documents/Arduino/libraries/Firebase_ESP8266_Client/src/FirebaseESP8266.h:47,
from /Users/johndelacruz/Dropbox/new_try_out/new_try_out.ino:18:
/Users/johndelacruz/Documents/Arduino/libraries/SD/src/utility/Sd2PinMap.h:524:2: error: #error Architecture or board not supported.
#error Architecture or board not supported.

^
Multiple libraries were found for "SD.h"
Used: /Users/johndelacruz/Documents/Arduino/libraries/SD
Not used: /private/var/folders/jv/3h838dy90l9_50fkxbghpkcc0000gn/T/AppTranslocation/4B747773-A8BD-4FF2-9F90-A35DFCD36704/d/Arduino.app/Contents/Java/libraries/SD
Not used: /Users/johndelacruz/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/libraries/SD
exit status 1
Error compiling for board NodeMCU 1.0 (ESP-12E Module).

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

anyone knows how to solve this

This is caused by a bug in Arduino IDE 1.8.11:

The solution is to delete /Users/johndelacruz/Documents/Arduino/libraries/SD

What version do you recommend?

I'd probably delete /Users/johndelacruz/Documents/Arduino/libraries/SD and just stick with Arduino IDE 1.8.11. Once you know about the bug, it shouldn't bother you too much. It will only cause problems in very specific circumstances, so I don't think you'll be running into this sort of problem frequently.

Other than that bug, for macOS I think 1.8.11 is pretty good. There are some other bugs that affect the Linux ARM and Microsoft Store versions of the Arduino IDE, but those won't affect you.