Marcelh1983 / angular-document-viewer

MIT License
62 stars 23 forks source link

library refuses to compile #25

Closed nhhockeyplayer closed 4 years ago

nhhockeyplayer commented 4 years ago

node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng build

ERROR in ./node_modules/ngx-doc-viewer/modules/document-viewer.module.ts Module build failed (from ./node_modules/@ngtools/webpack/src/index.js): Error: /Users/me/new/proj/node_modules/ngx-doc-viewer/modules/document-viewer.module.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 (https://goo.gl/jB3GVv). at AngularCompilerPlugin.getCompiledFile (/Users/me/new/proj/node_modules/@ngtools/webpack/src/angular_compiler_plugin.js:913:23) at /Users/me/new/proj/node_modules/@ngtools/webpack/src/loader.js:41:31 at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5) @ ./src/app/shared/shared.module.ts 29:0-83 50:12-30 @ ./src/app/app.module.ts @ ./src/main.ts @ multi ./src/main.ts