Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Getting 'ReferenceError: "window" is not defined'

$
0
0
First time trying to create production build, so possibly a noob issue.

I'm using:

js steal\buildjs C:\path\to\app\search.aspx -to C:\temp\build

But getting:

uncaught JavaScript runtime exception: ReferenceError: "window" is not defined.

It would seem an odd error, since one would assume 'window' would be recognised. I get the same error when using http://localhost/...
Obviously, the .aspx indicates I'm working with IIS on Windows. Not sure if that's a factor.

I cannot find anything to help in the forum or when searching Google. Any help, anyone?



Viewing all articles
Browse latest Browse all 3491

Trending Articles