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
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?
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.
Have a car question? Get free advice from our top-rated mechanics.
Our certified mechanics come to you ・Backed by 12-month, 12,000-mile guarantee・Save up to 30%