Service engine soon on 2001 Infiniti I30

showing service engine soon and slip light. what needs to be done to fix it?

Asked by for the 2001 Infiniti I30
1 answer 4 comments
It has to be diagnosed with a diagnostic computer to read trouble codes than repair it accordingly.

Yes but what could be the possible cause of showing these lights?
There could be over 1000 reason. You can google OBDII Codes and you will see.
It could be as simple as a loose gas cap but there could be issues with sensors, control modules, wiring problems, mechanical problems, etc...

Last year when I first posted the question, no code shown. Now the code showing is P0100. Suddenly having problem with getting engine started. difficult to start the engine, but once the engine is started runs well. Why is it happening?
Most likely the mass airflow sensor. Could be dirty and there is a known problem with it that requires replacing it.