# Angular Okta-hosted-login example building error

**URL:** <https://devforum.okta.com/t/angular-okta-hosted-login-example-building-error/18843>\
**Category:** Questions\
**Created:** [January 11, 2022, 1:26pm UTC](https://devforum.okta.com/t/angular-okta-hosted-login-example-building-error/18843 "2022-01-11T13:26:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fcojavierm](https://avatars.discourse-cdn.com/v4/letter/f/a183cd/32.png) [@fcojavierm](https://devforum.okta.com/u/fcojavierm)\
**Post date:** [January 11, 2022, 1:26pm UTC](https://devforum.okta.com/t/angular-okta-hosted-login-example-building-error/18843/1 "2022-01-11T13:26:04Z")

</div>

Hi

Last year, before July, I migrated a login process for an Angular application to Okta. It never went to production due to some internal topics of my company.  
Now I resumed it and when I build the application with _ng build_, I’m getting the next error

> Warning: Support was requested for IE 11 in the project’s browserslist configuration. IE 11 support is deprecated since Angular v12.  
> For more information, see [Angular](https://angular.io/guide/browser-support)  
> ⠋ Generating browser application bundles (phase: setup)…\_\_dirname: C:\gitrepositorypom\xxxx  
> ✔ Browser application bundle generation complete.  
> Error: node\_modules/@okta/okta-auth-js/lib/idx/remediators/EnrollPoll.d.ts:23:5 - error **TS2416: Property ‘getValuesAfterProceed’ in type ‘EnrollPoll’ is not assignable to the same property in base type ‘Remediator’.  
> Type ‘() =\> unknown’ is not assignable to type ‘() =\> RemediationValues’.**  
> **Type ‘unknown’ is not assignable to type ‘RemediationValues’.**  
> **23 getValuesAfterProceed(): unknown;**  
> ~~~~~~~~~~~~~~~~~~~~~

So I decided to clone the Okta Angular example from [GitHub - okta/samples-js-angular: samples-js-angular](https://github.com/okta/samples-js-angular.git). Once it is clone I do _npm install_ and _ng build_ for the _okta-hosted-login_ example and I’m getting the same error

My knowledge of Angular is quite limited as this application is the only one Angular application I worked with.

Can anyone help me with this error?

I’m developing in Windows with Node.js v16.13.2.

Thanks  
Javier

---

<div class="post-metadata">

**Author:** ![fcojavierm](https://avatars.discourse-cdn.com/v4/letter/f/a183cd/32.png) [@fcojavierm](https://devforum.okta.com/u/fcojavierm)\
**Post date:** [January 13, 2022, 10:20am UTC](https://devforum.okta.com/t/angular-okta-hosted-login-example-building-error/18843/2 "2022-01-13T10:20:27Z")

</div>

Please check [Okta Sign-In Widget and Angular Tutorial not working - Bugs - Okta Developer Forums](https://devforum.okta.com/t/okta-sign-in-widget-and-angular-tutorial-not-working/18844)

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [February 12, 2024, 6:06pm UTC](https://devforum.okta.com/t/angular-okta-hosted-login-example-building-error/18843/3 "2024-02-12T18:06:49Z")

</div>


