Клиентский модуль http - PullRequest
0 голосов
/ 17 января 2019

ионная подача Я получаю эту ошибку, когда набираю

unexpected module 'httpclientmodule' declared by the module 'appmodule'. please add a @pipe/@directive/@component annotation.

Error: Unexpected module 'HttpClientModule' declared by the module 'AppModule'. Please add a @Pipe/@Directive/@Component annotation.
at syntaxError (http://localhost:8100/build/vendor.js:82796:34)`enter code here`
at http://localhost:8100/build/vendor.js:97606:40
at Array.forEach (<anonymous>)
at CompileMetadataResolver.getNgModuleMetadata (http://localhost:8100/build/vendor.js:97588:54)
at JitCompiler._loadModules (http://localhost:8100/build/vendor.js:116723:87)
at JitCompiler._compileModuleAndComponents (http://localhost:8100/build/vendor.js:116684:36)
at JitCompiler.compileModuleAsync  
...