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
ERROR ReferenceError: global is not defined
at Object.getWindow (window.js:12)
at Object.randomString (random.js:9)
at TransactionManager.push../node_modules/auth0-js/src/web-auth/transaction-manager.js.TransactionManager.generateTransaction (transaction-manager.js:45)
at TransactionManager.push../node_modules/auth0-js/src/web-auth/transaction-manager.js.TransactionManager.process (transaction-manager.js:20)
at WebAuth.push../node_modules/auth0-js/src/web-auth/index.js.WebAuth.authorize (index.js:581)
at new AuthComponent (auth.component.ts:25)
at createClass (core.js:10146)
at createDirectiveInstance (core.js:10033)
at createViewNodes (core.js:11255)
at callViewAction (core.js:11571)
Hello,
I'm facing this issue with fresh Angular 6 CLI project. The code to reproduce is very easy (config doesn't make sense here)
and it produces
This's because of
in window.js
According angular/angular-cli#9827 (comment)
Angular team doesn't provide anymore any shimming for Node.js globals.
version: 9.5.1
Chrome 66 on MacOS, but I believe it's not browser specific.
The text was updated successfully, but these errors were encountered: