Exception in rendering! Message: window is not defined ReferenceError: window is not defined at new c (/tmp/execjs20161208-5336-13j93a6js:136:3912) at m.mountComponent (/tmp/execjs20161208-5336-13j93a6js:47:15602) at /tmp/execjs20161208-5336-13j93a6js:49:31860 at a.r.perform (/tmp/execjs20161208-5336-13j93a6js:47:12503) at Object.a [as renderToString] (/tmp/execjs20161208-5336-13j93a6js:49:31821) at r (/tmp/execjs20161208-5336-13j93a6js:50:21164) at Object.S.ReactOnRails.serverRenderReactComponent (/tmp/execjs20161208-5336-13j93a6js:32:6073) at eval (eval at <anonymous> (/tmp/execjs20161208-5336-13j93a6js:173:8), <anonymous>:10:23) at eval (eval at <anonymous> (/tmp/execjs20161208-5336-13j93a6js:173:8), <anonymous>:17:3) at /tmp/execjs20161208-5336-13j93a6js:173:8
My car is getting code P0340, Camshaft Position Sensor Circuit.
The camshaft sensor is a 3 wire sensor. Power and ground need to be checked and the signal wire can be scoped to see if a signal is present as the engine is running. Generally, the camshaft sensor itself is at fault and would need to be replaced, but other possible issues include: faulty wiring, Engine Computer, or a damaged sensor wheel. You may want to enlist the help of a mechanic, such as one from YourMechanic, who will have the tools and expertise to diagnose the camshaft sensor fault and make the repair.
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%