BME280 connected to NodeMCU or WeMos D1 - possible ?


I try to connect a BME280 multi weather sensor to my NodeMCU or WeMos D1.

I am using this library from embeddedadventures:

It works perfectly fine with my Arduino UNO, but when I connect everything to NodeMCU or WeMos it does not work at all.
I get several warnings during compiling and in the end the measuring does not work.

Did anyone succeed in connecting the BME280 sensor ?
And if yes - what library did you use ?