Does your module have pullup resistors on it? I2C needs them to work.
However, you could try software I2C:
var i2c = new I2C(); i2c.setup({scl:D2,sda:D1}); var bme = require("BMP280").connect(i2c); console.log(bme.getData());
Software I2C can use the chip's internal pullups, so might be able to work without external ones.
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Does your module have pullup resistors on it? I2C needs them to work.
However, you could try software I2C:
Software I2C can use the chip's internal pullups, so might be able to work without external ones.