Please Help 99 nissian maxima will not start?

Actually the 99s will still start with a key w/o the chip in it but it wont run very long. I can start my car with the nismo key so long as the factory key is within about a foot of the ignition otherwise it’ll stall out in a few seconds. I’m out of ideas to add here.