在我的角度2项目中,当我运行npm run build:prod我得到一个error.can任何一个建议种子项目的平均值2.0(Angular和nodejs)
Property 'readFiles' is private and only accessible within class 'ImageUploadDirective'.
我的appmodule.ts是
import { ImageUploadDirective, ImageUploadModule } from 'ng2-imageupload';
import { MapComponent } from './map/mapComponent';
import { AgmCoreModule } from 'angular2-google-maps/core';
import { HttpModule } from '@angular/http';
import { routing } from './app.routing';
@NgModule({
declarations: [
AppComponent,
MapComponent,
Add_address,Add_City,Add_District,Add_sub_urbans
],
imports: [AgmCoreModule.forRoot({
apiKey: "Key",
libraries: ["places"]
}),
BrowserModule,
ImageUploadModule,
],
providers:[ApiMessageService,RealEstateService],
bootstrap: [AppComponent]
})
export class AppModule {
}