rnadler / ng2-password-strength-bar

Angular 2/4/5 Password Strength Bar
http://bobonmedicaldevicesoftware.com/blog/2016/12/09/publishing-an-angular-2-component-npm-package/
MIT License
20 stars 16 forks source link

ng2-password-strength-ba r/index"' has no exported member 'PasswordStrengthBar #7

Closed dotnetexpert closed 7 years ago

dotnetexpert commented 7 years ago

after upgrading ClI iam getting this

node_modules/ng2-password-strength-ba r/index"' has no exported member 'PasswordStrengthBar

rnadler commented 7 years ago

Please see the README.md notes:

1.1.x Version Update Note

If you upgrade from v1.0.x to v1.1.x you will need to change the PasswordStrengthBar import. There are two options:

  1. Change to PasswordStrengthBarModule and add this to the imports section of the @NgModule metadata instead of the declarations (shown below), or
  2. Change to PasswordStrengthBarComponent and update the name in the declarations section to match.
dotnetexpert commented 7 years ago

Changed to PasswordStrengthBarComponent. and it solved the issue. thanks