Exception in rendering!

Message: window is not defined

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

Q: what could be the reason the car would die while driving?

asked by on

the car died twice while driving but started when turned off and restarted. the mechanic talked to scion and recommend replacing the cam shaft sensor, crank shaft sensor and 4 ignition coils. we have a baby on the way and medical bills coming in, so we are looking to do things as much on budget as possible. if we replace just the cam & crank sensors is there any chance if the coils are bad they could damage the new sensors?

My car has 78000 miles.
My car has a manual transmission.

A: Hello there, a few faults can cause the veh...

Hello there, a few faults can cause the vehicle to die while driving. The most likely would be the camshaft sensor, crank sensor, fuel pump, wiring issue, battery, or ignition switch.

Generally, the fault can be narrowed down to just one failed part and there is no need to replace many different parts. For example, either the cam or the crank sensor can cause the car to die, but it would be unlikely that both would fail at the same time. If you feel like you need help with these checks, feel free to contact a qualified technician who can diagnose your stalling issue firsthand and perform any repairs required.

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: Leaking inside the car after the rain

A few things can cause water to leak into the car. The most common would be the windshield leaking through, bad door or window seals, an AC evaporator core leaking, or one of the body seams allowing water to pass...

Q: Car makes a clicking sound when turning

Hello! One general giveaway of a bad CV axle is a clicking sound when turning. CV axles are vital to the stability of the vehicle and they transfer the power to the wheels to make them turn. Noisy CV axles...

Q: Chirping rattling noise hood

The tensioner pulley is near the top center of the engine. It is easy to spot as the back of the belt rides on the tensioner pulley and not the ribbed side. Removing the belt to access the pulley...

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...
P0240 OBD-II Trouble Code: Turbocharger Boost Sensor B Circuit Range/Performance
P0240 code definition Turbocharger Boost Sensor B Circuit Range/Performance What the P0240 code means P0240 is an OBD-II generic code triggered when the Engine Control Module (ECM) detects the intake boost...
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...