Exception in rendering!

Message: window is not defined

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

Q: Truck won't stay running

asked by on

The battery kept dying and it would die really quick. I parked it and the truck died. So i replaced the alternator. I jumped it and let it run for a couple of minutes when I came back to it none of the gauges worked and neither did any other controls on the instrument panel. The lights on the instrument panels wouldn't work either. It started to idle down so I gave it throttle and would die without any throttle. The only way it would stay running is if I constantly gave it throttle. I let it die and then The lights came on on the instrument panel. Now the headlights won't turn off and it won't start do to a bad battery.

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

A: Hey there. Did you charge the battery befor...

Hey there. Did you charge the battery before starting the truck with the new alternator? An alternator trying to maintain system charge and charge the battery from dead puts a lot of stress on the alternator and can cause a premature failure. If the truck will only run while you give it throttle, you may have a clogged or malfunctioning idle air control valve. It may be time to replace that battery as well as have the engine control systems checked to see why the truck won't run without adding throttle. For a problem like this, consider YourMechanic, as a certified technician from YourMechanic can come to your car's location to address your car problems.

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: AC still run when I turn the truck off and it blows sometimes and sometimes not

Hi there. It sounds like you have a bad blower resistor. You should replace this first and then see if the blower motor is still blowing intermittently. If it is, this would mean the blower motor is bad and there...

Q: Car shifts late and seems to get no fuel at times. Is my transmission bad?

Hi there. Does not sound like the transmission, but more of a fuel pump issue. Check the fuel pressure on the engine to see if you are getting 35 psi or more. If the fuel pressure is less than 35...

Q: Will not attempt to start. Engine has spark. Also noticed oil was in the intake tube.

Hi there. Check to see if the fuel injectors are working. You can back probe them with a digital meter and see if the voltage is being metered. If the injectors are working, then check the crankshaft position sensor and...

Related articles

How Long Does a Distributor O Ring Last?
The distributor is part of the ignition system in your vehicle and its purpose is to route high voltage from the ignition coil to the spark plug. The spark plug then...
How to Avoid Back Pain in a Car
If you have back problems, sitting in a car for an extended period of time can be excruciating. Even without back problems, you could experience discomfort and soreness from...
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.