Exception in rendering!

Message: window is not defined

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

Q: Sunroof won't close all the way after opening in freezing weather

asked by on

Last winter, I tried to open the sunroof. It tried to open, but didn't make it. Eventually, it opened, but later, in my garage, I tried to close it, and it won't go all the way closed. It will close if I fiddle with the button and get it in exactly the right spot. It used to close itself automatically without fiddling. What might be the issue?

A: The sun roof mechanism is most likely getti...

The sun roof mechanism is most likely getting, or has gotten, corroded or rusted. In this case, it would need to be replaced. The switch contacts are loosing contact and the switch should be replaced as well.

The recommended thing to do is have the entire sun roof assembly replaced. However, you can try lubricating the unit and cleaning out the tracks. If doesn't fix it, replacing the motor may be needed along with the switch. A certified mechanic can help you by diagnosing the state of your sunroof and fixing it accordingly.

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: What conditions determine whether a door can be locked or unlocked?

Locking and unlocking your doors is as simple as using the remote, the electronic key or the mechanical key. However, there are a few things that you should know so you’re not taken by surprise when they happen: You...

Q: Car didn't start this morning, do I need a new battery or did I drain my battery? (although I can't seem to think of how I did?)

Hi there! First off, don't worry about being a new car owner - everybody has gone through this same situation at least one time in their lives. When the radio or other accessories are turned on while the engine is...

Q: How do I defog the windshield?

It’s not safe to drive the car when the windshield gets fogged up. Defogging it ensures you can see where you’re going. Located the button for the front defroster, which is located above the button for vents and feet....

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 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 Renew Your Car Registration in Oklahoma(DELETED)
Having your car registered with the Oklahoma Tax Commission is an important part of driving legally in this state. You will need to do this within 30 days of moving to Oklahoma...