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
See nodejs/node#7224 for context. To summarise, if punycode.jsdetects a global AMD define, then nodeRequire('url').parse('http://foo.bar/baz) breaks because punycode exports nothing for Node's require.
A good solution to this would be to call both define() and assign to module.exports if possible.
The text was updated successfully, but these errors were encountered:
See nodejs/node#7224 for context. To summarise, if punycode.js detects a global AMD
define
, thennodeRequire('url').parse('http://foo.bar/baz)
breaks becausepunycode
exports nothing for Node's require.A good solution to this would be to call both
define()
and assign tomodule.exports
if possible.The text was updated successfully, but these errors were encountered: