0D54z00007POjbMCATOkta Classic EngineAuthenticationAnswered2022-01-27T16:52:36.000Z2022-01-25T21:51:46.000Z2022-01-27T16:52:36.000Z

ScottM.00708 (Customer) asked a question.

rollup error in node_modules/@okta/okta-angular/fesm5/okta-angular.js (16:9)

Angular 7 rollup build is failing with the following error.

 

[!] Error: 'OktaAuth' is not exported by node_modules/@okta/okta-auth-js/dist/okta-auth-js.umd.js

https://github.com/rollup/rollup/wiki/Troubleshooting*name-is-not-exported-by-module

node_modules/@okta/okta-angular/fesm5/okta-angular.js (16:9)

14: import { Router, NavigationStart } from '@angular/router';

15: import { Location } from '@angular/common';

16: import { OktaAuth, AuthSdkError, toRelativeUrl } from '@okta/okta-auth-js';

 

 

I have been unable to find a reason why


  • Hello @Scott

    I hope you are having a great day 

     

    Thank you for posting, this seems to be a very specific error and we may need more details to understand your deployment and determine the correct solution for your problem therefore I suggest you to open a case with our service desk, in the link below you can find the information needed to open the support case: https://help.okta.com/en/prod/Content/Topics/Directory/get-support.htm

     

    Have a great day ahead

     

    Henry E.

    Okta Inc

    Expand Post
This question is closed.

Recommended content

No recommended content found...