‘rootDir’ is expected to contain all source files

This looks like the problem that is occurring due to the import types which was introduced in TypeScript 2.9. When emitted these are not being rewired properly see line 3. dist/bar/lib/bar.component.d.ts(5,11): export declare class BarComponent implements OnInit { private barService; list: import(“projects/bar/src/lib/types”).Item[]; constructor(barService: BarService); ngOnInit(): void; } In the above emitted dts, list: import(“projects/bar/src/lib/types”).Item[]; should … Read more

Include assets when building angular library

As already said, angular library now support assets since the v9.x of angular. But it isn’t well explained on their website. To make it work you’ll have to: Add an assets folder at the root of your library project Add “assets”: [“./assets”], into the ng-package.json file of the library { “$schema”: “../../node_modules/ng-packagr/ng-package.schema.json”, “dest”: “../../dist/icon”, “assets”: … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)