0

Angular 5 で angular-medium-editor ライブラリを使用できません

インストールされたパッケージ:

"angular-medium-editor": "^4.0.0-alpha",
"angular/core": "^5.2.0",
"typescript": "~2.5.3"

コマンド中ng serveに次のエラーが発生します。

ERROR in ./node_modules/angular-medium-editor/medium-editor.directive.ts
Module build failed: Error: /Users/K2A/GIT/traveldiary/webapp/node_modules/angular-medium-editor/medium-editor.directive.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
The missing file seems to be part of a third party library. TS files in published libraries are often a sign of a badly packaged library. Please open an issue in the library repository to alert its author and ask them to package the library using the Angular Package Format 
at AngularCompilerPlugin.getCompiledFile (/webapp/node_modules//src/angular_compiler_plugin.js:656:23)
at plugin.done.then (/node_modules//src/loader.js:467:39)
at 
at process._tickCallback (internal/process/next_tick.js:188:7)
@ ./src/app/pages/pages.module.ts 18:32-88
@ ./src/app/app.module.ts
@ ./src/main.ts
@ multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts

この問題を修正してライブラリを使用するにはどうすればよいですか?

4

1 に答える 1