sjcl icon indicating copy to clipboard operation
sjcl copied to clipboard

Anonymous request to use sjcl

Open fsereno opened this issue 5 years ago • 1 comments

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 ?

fsereno avatar Apr 02 '20 11:04 fsereno

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.

ForestJohnson avatar May 26 '20 15:05 ForestJohnson