No output with Lidar

I have this ESP32 and I'm connecting a lidar to it. My lidar has its i2c pins connected to IO27 and IO26 on the ESP32. Nothing is being printed out onto the arduino serial monitor when I run that bare code. What is wrong with the code? I am using a custom esp32 board and I think that might be interfering with the output

Code:

#include <Wire.h>

#include <SparkFun_VL53L5CX_Library.h> //http://librarymanager/All#SparkFun_VL53L5CX

SparkFun_VL53L5CX myImager;
VL53L5CX_ResultsData measurementData; // Result data class structure, 1356 byes of RAM

int imageResolution = 0; //Used to pretty print output
int imageWidth = 0; //Used to pretty print output

void setup()
{
Serial.begin(115200);
delay(1000);
Serial.println("SparkFun VL53L5CX Imager Example");

//Note: The following line will fail to compile if your platform does not have multiple Wire ports
Wire1.begin(27, 26); //(SDA, SCL) on ESP32. This resets I2C bus to 100kHz
Wire1.setClock(400000); //Sensor has max I2C freq of 400kHz

Serial.println("Initializing sensor board at address 0x3C on Wire port Wire1. This can take up to 10s. Please wait.");

if (myImager.begin(0x29, Wire1) == false) //Device address (0x29 is default), Wire port
{
Serial.println(F("Sensor not found - check your wiring. Freezing"));
while (1) ;
}

myImager.setResolution(8 * 8); //Enable all 64 pads

imageResolution = myImager.getResolution(); //Query sensor for current resolution - either 4x4 or 8x8
imageWidth = sqrt(imageResolution); //Calculate printing width

myImager.startRanging();
}

void loop()
{
//Poll sensor for new data
if (myImager.isDataReady() == true)
{
if (myImager.getRangingData(&measurementData)) //Read distance data into array
{
//The ST library returns the data transposed from zone mapping shown in datasheet
//Pretty-print data with increasing y, decreasing x to reflect reality
for (int y = 0 ; y <= imageWidth * (imageWidth - 1) ; y += imageWidth)
{
for (int x = imageWidth - 1 ; x >= 0 ; x--)
{
Serial.print("\t");
Serial.print(measurementData.distance_mm[x + y]);
}
Serial.println();
}
Serial.println();
}
}

delay(5); //Small delay between polling
}

Did you try a simple I2C scanner first?

yea it says no devices found, even though i did the wiring correct

What Lidar? Post a link.
Are you trying to connect a 5V device to a 3.3V processor?
How is the device powered?

Lidar: https://www.tindie.com/products/onehorse/vl53l5cx-ranging-camera/
no the extension board has 3.3v output as well and the lidar is 3.3v
When I connect the lidar to an arduino, it recognizes a device but not with the esp32. Also for reference: the esp32 im using comes from: Buy RoboMaster TT Expansion Kit - DJI Store

So you don't get the "SparkFun VL53L5CX Imager Example" or "Initializing sensor board at address 0x3C on Wire port Wire1. This can take up to 10s. Please wait." messages? That would indicate something wrong between your board and Serial Monitor.