viezel / NappDrawer

A side drawer navigation container view controller for Appcelerator Titanium.
MIT License
248 stars 128 forks source link

iOS.navigationWindow not supported as centerWindow? #184

Closed NoelBaron closed 8 years ago

NoelBaron commented 8 years ago

I added a NavigationWindow to the drawer as centerWindow, but upon drawer.open() I received "Invalid type passed to function".

Any idea what might be causing this to happen?

[ERROR] :  Script Error {
[ERROR] :      column = 16;
[ERROR] :      line = 36;
[ERROR] :      message = "Invalid type passed to function";
[ERROR] :      nativeLocation = "-[TiUIiOSNavWindowProxy rootController] (TiUIiOSNavWindowProxy.m:236)";
[ERROR] :      nativeReason = "expected: TiWindowProxy, was: (null)";
[ERROR] :      sourceURL = "app.js";
[ERROR] :      stack = "[native code]\nglobal code@app.js:36:16";
[ERROR] :  }
NoelBaron commented 8 years ago

1.2.2

NoelBaron commented 8 years ago

My apologies, this was a bug that resulted in switching versions of node while Titanium was still open. Restarting the computer resolved the issue. Closing.