Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.1.9 success and error back firing if module does not exist on server (node) #922

Closed
jstrimpel opened this issue Oct 18, 2013 · 2 comments

Comments

@jstrimpel
Copy link

I just updated to 2.1.9. When I attempt to load a module on the server that does not exist both the success and error are called.

var requirejs = require('requirejs');

requirejs(['foobar'], function () {
    console.log('SUCCESS');
}, function () {
    console.log('ERROR');
});
@jstrimpel
Copy link
Author

I am experiencing a few issues running 2.1.9 in node. I rolled back to 2.1.8 until I have time to further debug and provide examples.

@jrburke
Copy link
Member

jrburke commented Oct 23, 2013

Thanks for pointing this out. This was also filed at #911 so I will close this as a duplicate of that bug, which I have marked as something to look into for 2.1.10.

@jrburke jrburke closed this as completed Oct 23, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants