When I attempt to upload to the nano esp32 it gives me this error
Sketch uses 285981 bytes (9%) of program storage space. Maximum is 3145728 bytes.
Global variables use 30552 bytes (9%) of dynamic memory, leaving 297128 bytes for local variables. Maximum is 327680 bytes.
dfu-util 0.11-arduino4
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2021 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
Opening DFU capable USB device...
Device ID 2341:0070
Device DFU version 0101
Claiming USB DFU Interface...
Setting Alternate Interface #0 ...
dfu-util: error get_status: LIBUSB_ERROR_PIPE
Determining device status...
Failed uploading: uploading error: exit status 74
For the LIBUSB_ERROR_PIPE issue
Keep the Nano ESP32 connected by USB.
Connect the board's B1 pin to GND with a jumper wire.
While they are connected, press and release RST.
Remove the jumper wire.
Open Tools → Board → Arduino ESP32 Boards → Arduino Nano ESP32.
Open Tools → Port and select the newly detected ESP32 device.
Open Tools → Programmer → Esptool.
Ensure Esptool has a checkmark next to it.
Select Sketch → Upload Using Programmer
Press RST once to leave ROM mode and run the sketch