Exception in rendering!

Message: window is not defined

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

Q: Car shuts off unexpectedly

asked by on

When I start the car, it would shut off at random. This occurs completely unexpectedly both when I'm driving or when I'm stopped in traffic. Then, I have to put it in park so as to restart it. What might be the problem?

A: Engine stalling while driving is typically ...

Engine stalling while driving is typically caused by a problem with the ignition system. Plus, the fact that you can restart the vehicle after cycling the ignition leads me to believe the problem is electrical. The first thing I would check is the crankshaft position sensor. The powertrain control module (PCM) uses the crankshaft position sensor signal as a reference for controlling the ignition system. My guess is that the Check Engine Light is on. Retrieving the stored diagnostic trouble codes will help pinpoint the problem. I suggest you contact a professional for firsthand diagnosis of your stalling issue. The team at YourMechanic is an excellent option since we make house calls.

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: Road noise from the front end. I thought the tires were bad. replaced the tires and the noise is still there?

If you are hearing noise from the front wheel bearings, then you will have a noise that will get louder the faster you go. The noise may get more or less as you turn the wheel left or right. ...

Q: Check engine light on

There is a technical service bulletin that pertains to these codes for you vehicle. The TSB is: 08-07-30-021H. The bulletin pertains to a wire harness problem throughout the vehicle. You may have chafed wires, pin corrosion in connections, or pins...

Q: how do you know if a car is vapor locked and how do you fix it?

It is very unlikely that a fuel injected engine is vapor locked (even at 108 degrees). From experience, an electrical component failed based upon heat and mileage of the vehicle. A code scanner will likely lead you to the issue....

Related articles

How Long Does a Heater Control Valve Last?
Keeping the right amount of coolant in a car is essential in keeping the engine at the right temperature. Failing to have the right amount of coolant or even bad elements...
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.