-
Notifications
You must be signed in to change notification settings - Fork 8
Not able to build for --prod #19
Description
This issue persists. If I do squeezebox/dist it fails on ng build --prod saying @NgModule tag or strange private public property error.
If I do just squeezebox import withd just 'squeezebox' build works but, then ng serve fails.
These occur independently from tsconfig includes or excludes. So either I can ng build or ng serve not both by using the same import style.
ng build error:
node_modules/squeezebox/tests/index.component.ts.AppComponent.html(4,27): : Property 'itemsList' is private and only accessible within class 'AppComponent'
ng serve error:
ERROR in ./node_modules/squeezebox/index.ts
Module build failed: Error: /Users/username/Code/myproject/node_modules/squeezebox/index.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).