Exception in rendering!

Message: window is not defined

ReferenceError: window is not defined
    at new c (/tmp/execjs20161208-103658-9tesy0js:136:3912)
    at m.mountComponent (/tmp/execjs20161208-103658-9tesy0js:47:15602)
    at /tmp/execjs20161208-103658-9tesy0js:49:31860
    at a.r.perform (/tmp/execjs20161208-103658-9tesy0js:47:12503)
    at Object.a [as renderToString] (/tmp/execjs20161208-103658-9tesy0js:49:31821)
    at r (/tmp/execjs20161208-103658-9tesy0js:50:21164)
    at Object.S.ReactOnRails.serverRenderReactComponent (/tmp/execjs20161208-103658-9tesy0js:32:6073)
    at eval (eval at <anonymous> (/tmp/execjs20161208-103658-9tesy0js:173:8), <anonymous>:10:23)
    at eval (eval at <anonymous> (/tmp/execjs20161208-103658-9tesy0js:173:8), <anonymous>:17:3)
    at /tmp/execjs20161208-103658-9tesy0js:173:8

Q: My brake light and battery light turned on

asked by on

I was driving and my battery and brake light turned on. I kept driving and eventually they turned off somehow. I didn't drive my car the whole weekend until today and the lights came back after driving for a couple of miles. I revved the motor and the lights were gone again so I don't know if it is a fuse or my alternator is going bad or what? The lights just keep turning on and off at the sane time. I'm just scared my car is gonna leave me stranded in the middle of the freeway

My car has 100900 miles.
My car has an automatic transmission.

A: Hi there, thanks for writing in to YourMech...

Hi there, thanks for writing in to YourMechanic.com about your 2008 Nissan Altima. When the brake light and battery light both illuminate, it's sometimes caused by an electrical relay or damage to a sensor which triggers an error code that triggers these lights. The best way to find the source of the issue, is to contact one of our mechanics and ask them if they can complete a battery light is on inspection. Hope this helps and best of luck.

Was this answer helpful?

Need advice from certified mechanic? Get help now!

Over 1000 mechanics are ready to answer your question.
The statements expressed above are only for informational purposes and should be independently verified. Please see our terms of service for more details

Ask a Mechanic
(100% Free)

Have a car question? Get free advice from our top-rated mechanics.

Ask A Mechanic
Over 10,000 questions answered!

Get an instant quote for your car

Our certified mechanics come to you ・Backed by 12-month, 12,000-mile guarantee・Save up to 30%

Get a quote

What others are asking

Q: No start - timing redone slow crank

Hi there: When the engine is slow to crank, it's typically an indication of a battery that has low cranking amps. Although the voltage might be good, the cranking amps is what helps the car to initially start. It's also...

Q: Lights blinking after water got in a 1996 Mercedes Benz

The Battery Light typically just means that the alternator isn't charging the battery. If you get through any water in Mercedes, those cars are made up of many electronics, so I hope you have full coverage. If you don't have...

Q: Clock spring compatibility

I do believe that the clock spring will still work considering that the steering wheel is the same and the steering wheel travel is the same. The best way to be certain is to compare the part numbers from the...

Related articles

P2428 OBD-II Trouble Code: Exhaust Gas Temperature Too High Bank 1
P2428 code definition A P2428 trouble code signifies that the PCM has detected a problem in the exhaust gas temperature sensor circuit in bank 1, which subsequently contains the number one...
How Much Does a Mechanic Make in Vermont?
Automotive technician jobs in Vermont have an average mechanic salary of $37k, with some mechanics earning a salary of $53k.
P2103 OBD-II Trouble Code: Throttle Actuator Control Motor Circuit High
P2103 means there is a fault with the throttle actuator control motor circuit, likely due to a defective electrical component or part.