# Frontend Angular Tutorials not working

**URL:** <https://devforum.okta.com/t/frontend-angular-tutorials-not-working/18845>\
**Category:** Questions\
**Created:** [January 11, 2022, 1:57pm UTC](https://devforum.okta.com/t/frontend-angular-tutorials-not-working/18845 "2022-01-11T13:57:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![henning410](https://avatars.discourse-cdn.com/v4/letter/h/7bcc69/32.png) [@henning410](https://devforum.okta.com/u/henning410)\
**Post date:** [January 11, 2022, 1:57pm UTC](https://devforum.okta.com/t/frontend-angular-tutorials-not-working/18845/1 "2022-01-11T13:57:33Z")

</div>

When i try to code the tutorials like on [Okta Auth JS and Angular | Okta Developer](https://developer.okta.com/code/angular/okta_angular_auth_js/)  
i always get the same error:

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;

Seems like the tutorial is based on an old version of @okta/okta-auth-js. But when I do, like in the tutorial, “npm i @okta/okta-auth-js” I get the newest version. Why is this tutorial then for old versions? And how can i fix it?

---

<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 8, 2024, 9:16pm UTC](https://devforum.okta.com/t/frontend-angular-tutorials-not-working/18845/2 "2024-02-08T21:16:45Z")

</div>


