Starting up rake jasmine gives error: "Uncaught ReferenceError: jasmineRequire is not defined"

1,395 views
Skip to first unread message

Luciane Araujo

unread,
Jan 24, 2014, 7:17:20 AM1/24/14
to jasmi...@googlegroups.com
Hi,


I recently started working with jasmine, and had a project running fine. After cleaning up some legacy code from my application, jasmine started not booting up properly.
The error I have in my browser is in boot.js.

Uncaught ReferenceError: jasmineRequire is not defined


When debugging it I can see that jasmineRequire is really undefined. I couldn't find the jasmineRequire definition in any of the jasmine sources. Where should it be defined? I wonder if I have a problem with versions of jasmine for some reason.


Davis W. Frank

unread,
Jan 24, 2014, 9:42:20 AM1/24/14
to jasmi...@googlegroups.com
How are you using Jasmine? Standalone! the rubygem?

I've seen this when something interferes with load order. In this case it usually means that boot.js loads before jasmine.js. 
--
You received this message because you are subscribed to the Google Groups "Jasmine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jasmine-js+...@googlegroups.com.
To post to this group, send email to jasmi...@googlegroups.com.
Visit this group at http://groups.google.com/group/jasmine-js.
For more options, visit https://groups.google.com/groups/opt_out.


--
thx,
--dwf

Reply all
Reply to author
Forward
0 new messages