you have air in your brakes bleed them
You have air in your brake lines. Have the brakes bled.
Could be low on brake fluid, time to have the brakes checked.
have you checked your brake fluid??
If the light stays on when the emergency brake is not engaged, this indicates the brakes are getting low and need to be replaced.
The parking light stays on how am I sure the parking brakes are not on
There is a problem with the Anti-lock Brake System if the warning light stays on ( as long as the red BRAKE light in your gauge cluster is not on , you still have " normal " brakes )
I hope you take it to a garage and have the brakes inspected. Might be a brake fluid leak.
The Antilock Brake System or ABS light stays on in a 1997 Nissan Pathfinder because there is a problem with the brakes. The brakes are either low on fluid or they need to be changed or adjusted.
The dealer will know how to access the codes for the brakes. When that is fixed it should not lock up then.
Any light that stays on is not a "brake light", it's a "tail light". It's possible that they may be on at a lower level normally, and brighten when the brakes are applied, though.
There are usually two warning brake lights on the dashboard. One is for the Hand brakes if you don't release completely it it will stay on. The second light is for brake failure. If it stays on it means worn out brake pads, brake fluid loss and will require early attention
brake light plunger switch on the brake pedal maybe faulty, remove it and connect the two wires together and pull apart and see if lights go on and off