I assume you are trying to charge at 120 volts using the Nissan EVSE and a 2500 watt inverter. Most EVSE's, including that Nissan unit check for a proper equipment ground connection by injecting a small current from line to ground. The grounding test injection current from the Nissan EVSE is less than 5 mA so it will not trip a properly-installed and functioning GFCI, but it will not charge the car if the grounding test is not satisfied. Most portable generators are shipped from the factory with neutral isolated from ground so either a resistor between neutral and ground or a solid bonding jumper (there are advantages/disadvantages associated with either method) is needed to satisfy the EVSE. It is likely that the neutral of your inverter output is not referenced to ground so the EVSE will not charge. Check manufacturer instructions for your inverter to see if it can be configured with a neutral ground (either resistor or solid bond). Grounding the neutral may permanently damage some inverters so be careful. Also, I don't know if the EVSE and onboard charger would tolerate the stair step waveform from a "modified sine wave" inverter so I recommend that a "pure sine wave" inverter be used. I tested my 2011, 2015, and 2019 LEAF's with my portable generators which have pure sine wave inverter outputs. Both of my generators came from the factory with their neutrals isolated from ground, but the owner manuals allow for bonding, if required. I have used 100k ohm resistors and solid bonds for testing. The resistor will limit ground fault current to a safe level, but it will prevent tripping of a GFCI if a ground fault happens. The solid bond provides no ground fault protection, but it will allow a GFCI to function normally and trip for a ground fault beyond the GFCI. A solid neutral to ground bond is similar to a standard residential service entrance panel ground/bond connection.
Silver LEAF 2011 SL rear ended (totaled) by in-attentive driver 1/4/2015 at 50,422 miles
Silver LEAF 2015 SL purchased 2/7/2015; traded 8/10/2019 at 82,436 miles
White LEAF 2019 SL Plus purchased 8/10/2019