Exception in rendering!

Message: window is not defined

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

Q: Car starts and runs perfectly for 3-4 minutes then stalls and won't restart for several hours.

asked by on

Out of nowhere car stalled and would not restart. Next morning car restarted, idled and ran perfectly for 3-4 minutes then stalled and would not restart until the next morning and would repeat the same process. check engine light came on with the initial incident. checked codes with cheapy scanner and came up with PO335 and PO335 pending codes. replaced CPS,coil and ICM with no change. Have power and ground from CPS to coil. HELP.

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

A: Trouble Code P0335 is a crankshaft position...

Trouble Code P0335 is a crankshaft position error code if I remember correctly and it sounds like you replaced the camshaft position sensor inside the distributor. If the scanner you have shows live data, you can watch the engine rpm numbers while the engine is running and if they do not match the tachometer on the dashboard or you can see the reading cut out right before the engine stalls, you may need to replace a faulty crankshaft position sensor. To avoid any unnecessary repairs, consider hiring an experienced technician like one from YourMechanic to come take a look at what's going on and offer a personal diagnosis of the stalling issue.

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: Why do car rpms bounce when I put it in drive?

This may be a sign of a dirty or failing mass air flow sensor. The mass air flow sensor is a unit in the intake system that monitors air intake as it is mixed with fuel prior to being injected...

Q: Car shuts off when driving it and power steering locks up what is the problem?

These vehicles have several common problems that may be causing your car to stall. However, in your case, it sounds like your ignition module may be losing spark when the vehicle gets warm while driving. After sitting for a while,...

Q: Knocking when engine warms up

When the engine is cold, the viscosity of the oil is higher along with the internal bearing clearances in the engine. As the engine warms both the viscosity of the oil lowers and the engine bearing clearances can increase dropping...

Related articles

What Causes Hoses to Leak?
While the largest part of your engine is mechanical, hydraulics plays a significant role. You’ll find fluids at work in a number of different areas. Your car's fluids include: Engine oil Transmission...
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.