okta / samples-js-angular

samples-js-angular
https://github.com/okta/samples-js-angular
Other
73 stars 149 forks source link

how to setup in angular 10 #118

Open amularajesh opened 3 years ago

arvindkrishnakumar-okta commented 3 years ago

@amularajesh are you looking for any specific setup instructions for Angular 10?

amularajesh commented 3 years ago

@amularajesh are you looking for any specific setup instructions for Angular 10?

yes can you plz help me in angular 10 step by step

ERROR in src/app/app.config.ts:1:63 - error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try npm i @types/node and then add node to the types field in your tsconfig.

oleksandrpravosudko-okta commented 3 years ago

@amularajesh which sample app (custom-login or okta-hosted-login) throws this error? Latest samples use Angular 11 - are you specifying different version in sample's package.json?