Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

dependencies are undefined #478

b5 opened this Issue Sep 27, 2012 · 6 comments


None yet
4 participants

b5 commented Sep 27, 2012

I think I have a fairly repeatable instance of this issue:


If you'd like. Working with require@2.0.6. For now I'm able to rectify the problem through a workaround.


jrburke commented Sep 27, 2012

If you have a test case, that would be awesome. Feel free to pass it to me via email, jrburke at gmail, if it should be private, otherwise putting it up as a github repo would be helpful.

I'm currently working on a requirejs 2.1 dev branch, you also may want to try that to see if it is fixed as part of the changes in that file:

I have finished the planned 2.1 dev changes for require.js 2.1 and working on the r.js optimizer changes, so the current version of the dev2.1 require.js is a good representation of what may go out in that release, unless of course we isolate an issue that needs to be fixed for this ticket.

b5 commented Sep 27, 2012

Thanks James! After dropping require.js dev2.1 into my project, everything seems to be loading just fine.

@b5 b5 closed this Sep 27, 2012


jrburke commented Sep 27, 2012

Great to hear, I want to get the official 2.1 out hopefully within a week, after I go through the r.js optimizer issues for 2.1.

SeyZ commented Jan 20, 2013

Hi, I have exactly the same issue. The current version in the master branch fixes the problem ? Or the dev2.1 is not merged yet? Thanks.


jrburke commented Jan 21, 2013

@SeyZ the latest version of requirejs is 2.1.2 which should have the code from the 2.1dev branch. Although the code has also changed since then. If you notice a failure, a github repo or test case showing a failure would be needed to track down the issue.

I am getting intermittent "mismatched" errors when using 2.1.14.

Uncaught Error: Mismatched anonymous define() module: function () {
return numeral;

It is definitely a race condition as it eventually goes away when I refresh the page 2 or 3 times. I have no idea where to start looking, so any advice would be greatly appreciated.

It is an angular app and I'm using domReady like this:

], function (require, ng) {
'use strict';

require(['domReady!'], function (document) {
    ng.bootstrap(document, ['app']);


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