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

Anonymous request to use sjcl #415

Open
fsereno opened this issue Apr 2, 2020 · 1 comment
Open

Anonymous request to use sjcl #415

fsereno opened this issue Apr 2, 2020 · 1 comment

Comments

@fsereno
Copy link

fsereno commented Apr 2, 2020

We are getting the following on our site from Require JS:

Mismatched anonymous define() module: function(){return sjcl}

We do not knowingly use sjcl.js anywhere in our solution, why and how would our site be requesting sjcl.js ?

The error is just a result of the module trying to load as AMD, but I am very confused why we are getting this when we do not use sjcl.

What kind of resources use sjcl and how could I find out ?

@ForestJohnson
Copy link

ForestJohnson commented May 26, 2020

This would be much better as a stack overflow question than as an issue on this repository. SJCL has nothing to do with your issue. The issue you have is with YOUR application, not with SJCL.

Probably one of the other packages you are using on your site has sjcl as a dependency.

Maybe you should use the JS debugger in the browser, turn on break on unhandled exceptions, then load the page and check the stack trace of how you got to that code. that should tell you who is requiring sjcl.

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