"Error 1" while compiling for Node MCU V1



I’m new to PlatformIO. My pc is win 7 64 bit, python v2.7.15 and I am using PlatformIO extension in VSCode. While compiling for node mcu board the following error shows up [unrecognized option `–text-section-literals’] for any code (even for the basic blink one). I’ve absolutely no clue on how to solve it or what’s causing the error. Reinstalling the extension didn’t help. Can any one please help.

Thank you.