Exception in rendering! Message: window is not defined ReferenceError: window is not defined at new c (/tmp/execjs20161208-83728-1p79w4vjs:136:3912) at m.mountComponent (/tmp/execjs20161208-83728-1p79w4vjs:47:15602) at /tmp/execjs20161208-83728-1p79w4vjs:49:31860 at a.r.perform (/tmp/execjs20161208-83728-1p79w4vjs:47:12503) at Object.a [as renderToString] (/tmp/execjs20161208-83728-1p79w4vjs:49:31821) at r (/tmp/execjs20161208-83728-1p79w4vjs:50:21164) at Object.S.ReactOnRails.serverRenderReactComponent (/tmp/execjs20161208-83728-1p79w4vjs:32:6073) at eval (eval at <anonymous> (/tmp/execjs20161208-83728-1p79w4vjs:173:8), <anonymous>:10:23) at eval (eval at <anonymous> (/tmp/execjs20161208-83728-1p79w4vjs:173:8), <anonymous>:17:3) at /tmp/execjs20161208-83728-1p79w4vjs:173:8
The cruise control in my truck is not working properly. Sometimes it will work, mostly when I first start driving, but over time it stops working altogether.
The most common cause of this on your truck is a bad brake light switch. The cruise turns off when the brakes are applied. When this switch fails the cruise always thinks that the brakes are applied which won't allow the cruise to turn on. If the switch is fine then the cruise control buttons may have an issue. A computer scan tool would then need to be used to see what the inputs are reading. If you plan on having this done, consider YourMechanic, I would have a certified mechanic diagnose the problem firsthand to recommend an appropriate 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%