2001 Nissan Sentra - Cranks won't start

cranks but want start.intermittent spark plug fire.

More info please.

A bad crankshaft position sensor can cause that.

Tester