Closed RiverLi closed 3 years ago
This error does not appear to be related to the v1.0.1 change. Is it possible to provide code that reproduces the problem? Thanks.
This error does not appear to be related to the v1.0.1 change. Is it possible to provide code that reproduces the problem? Thanks. app.module.ts file: `[//3rd party import { BrowserModule } from "@angular/platform-browser"; import { BrowserAnimationsModule } from "@angular/platform-browser/animations"; import { NgModule, ErrorHandler, APP_INITIALIZER } from "@angular/core"; import { HttpModule } from '@angular/http'; import { HTTP_INTERCEPTORS, HttpClientModule, HttpClient } from "@angular/common/http"; import { ClipboardModule } from "ngx-clipboard"; import { NgSelectModule } from "@ng-select/ng-select"; import { Ng9PasswordStrengthBarModule } from "ng9-password-strength-bar"; import { MomentModule } from "ngx-moment"; import { FormsModule } from "@angular/forms"; import { CustomFormsModule } from "ngx-custom-validators"; import { NgxChartsModule } from "@swimlane/ngx-charts"; import {TranslateModule, TranslateLoader, MissingTranslationHandler, MissingTranslationHandlerParams} from "@ngx-translate/core"; import { httpLoaderFactory } from "./shared/factories/httploader.factory"; import { OAuthModule } from 'angular-oauth2-oidc';
//other imports ...... ...... ......
@NgModule({ imports: [ ..., Ng9PasswordStrengthBarModule, ... ], declarations: [ ... ], providers: [ ... ], bootstrap: [AppComponent] }) ](url)`
After changing to 1.0.1, the code compile error in the line of import.
The v1.0.1 NPM publish was bad. Please try v1.0.2.
1.0.0 Version has no problem, but 1.0.1 has problem.
ERROR in src/app/app.module.ts:9:46 - error TS2307: Cannot find module 'ng9-password-strength-bar'.
9 import { Ng9PasswordStrengthBarModule } from "ng9-password-strength-bar";