OktaAuth problem module es6

import { OktaAuth} from ‘@okta/okta-auth-js’;
this.authClient = new OktaAuth(config);

When I try to import okta as a module there is an error in the console

factory.js:16 Uncaught SyntaxError: The requested module ‘./…/…/…/…/…/tiny-emitter/index.js’ does not provide an export named ‘default’ (at factory.js:16:8)

if I remove Import and I use a script, OktaAuth works