Okta OAuth Crypto error

We are using the
@okta/okta-auth-js”: “5.4.1”

Getting the below error while running the project.

TypeScript error in 
Web/ClientApp/node_modules/@okta/okta-auth-js/lib/index.d.ts(24,10):'from' expected.  TS1005    

22 | export * from './AuthStateManager';    
23 | export * from './util';  > 
24 | export * as crypto from './crypto';       
     |              ^    
25 |


Can some help here.

Thanks

This post is a duplicate of Okta OAuth Error