그래프에 ng2-nvd3 모듈을 사용하고 있습니다. 아래는 제가 오류가 아래에 무엇입니까 코드ionic2 'AppModule'모듈에서 예기치 않은 'nvD3'값이 선언되었습니다.
각 2, 이온 2
import {nvD3} from "ng2-nvd3/build/lib/ng2-nvd3";
@NgModule({
declarations: [
nvD3,
...
})
입니다. 사람이 여기, 내가 같은 오류가 발생한
[15:51:10] lint finished in 1.04 s
[15:51:11] ngc: Error: Unexpected value 'nvD3' declared by the module 'AppModule'
at /Users/…/node_modules/@angular/compiler/bundles/compiler.umd.js:14044:33
at Array.forEach (native)
at CompileMetadataResolver.getNgModuleMetadata (/Users/…/node_modules/@angular/compiler/bundles/compiler.umd.js:14031:51)
at /Users/..//node_modules/@angular/compiler/bundles/compiler.umd.js:12801:47
at Array.forEach (native)
at analyzeModules (/Users/…/node_modules/@angular/compiler/bundles/compiler.umd.js:12800:17)
at OfflineCompiler.analyzeModules (/Users/…/node_modules/@angular/compiler/bundles/compiler.umd.js:12826:18)
at CodeGenerator.codegen (/Users/…/node_modules/@angular/compiler-cli/src/codegen.js:105:47)
at codegen (/Users/…/node_modules/@angular/compiler-cli/src/main.js:7:81)
at Object.main (/Users/..//node_modules/@angular/tsc-wrapped/src/main.js:30:16)
같은 문제가 발생했습니다. 이 문제를 해결할 수 있을까요? 감사합니다 – Martin