ReferenceError: Can't find variable: require #623

paranoid-android opened this Issue Jul 11, 2014 · 2 comments


None yet
2 participants

I've been trying to get a basic jasmine project working that tests a JavaScript library I'm working on. The library will run in either the browser or in Node.js. Unfortunately, I've been unable to use Jasmine. I keep getting an error that says 'ReferenceError: Can't find variable : require'

I have a stripped down project that demonstrates the problem. That code can be found here.

I'm opening an issue as I only have it as soon as I reference my jasmine task.


slackersoft commented Aug 26, 2014

It sounds like this might actually be an issue with jasmine-node and not jasmine itself. Jasmine-node is not maintained by the jasmine team, so it might be best to take the issue over there.

@slackersoft slackersoft added the waiting label Aug 26, 2014


slackersoft commented Oct 8, 2014

Closing this as we haven't seen a response in some time, and it sounds like the issue is with another library and not jasmine itself. Feel free to re-open or open a new issue if you're still having the problem and it looks like it the fault of jasmine.

Thanks for using jasmine!

@slackersoft slackersoft closed this Oct 8, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment