One other option is that the sensor (or your wiring) doesn't have 3.3v connected. DS18B20 can work off just data+GND, but I'm not 100% sure the driver for it supports that.
If your other code did support it, it'd still work. On Espruino it'd keep resetting, so the CRC would likely be wrong.
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.
One other option is that the sensor (or your wiring) doesn't have 3.3v connected. DS18B20 can work off just data+GND, but I'm not 100% sure the driver for it supports that.
If your other code did support it, it'd still work. On Espruino it'd keep resetting, so the CRC would likely be wrong.