You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be good to have a use case or description on how this condition occurred, to know what entry point the non-string object came into the require() or define() APIs to get to that condition. It is costly to file size to put type checks in every function, ideally the issues are caught at the public entry points.
I found a weird bug on line 276 of require.js, in the function called "normalize"
the problem was that 'name' was an object in the code (typeof name === 'object') and split was called on that object which causes problems
to generalize, when you call
so this solves the problem
but I believe you might want to examine require.js to see why an object ended up in the normalize function in your codebase
thanks
The text was updated successfully, but these errors were encountered: