Closed vicatcu closed 6 years ago
More diagnostics, I have a project that worked using "ng-packagr": "2.0.0-rc.13", and I tried just copying that project and updating to "ng-packagr": "^3.0.0-rc.2". That breaks it - which I guess shouldn't be a surprise considering the major version rolling - but it's not clear to me what changed about the configuration between 2 and 3. Any pointers?
I fixed it but frankly I'm not sure exactly what I did. I think I had carats in my package.json file associated with @angular packages and it maybe was non-compliant with the expectations of the angular_cli embedded in this project or something? Anyway, I'll close it.
Hi there! I'm having a bad time here trying to get npm run build:lib to succeed and I'm not sure what I'm doing wrong. Here's my console output:
I've tried putting breakpoints down in the angular compile level, and what I'm seeing is the complaint happens because two rootFiles are being offered to createBundleIndexHost:
I have not yet been able to figure out why that is the case though. Can you offer any pointers on where I might be going wrong? I think I followed the guidance on editing tsconfig.json and package.json files in the project, but clearly I missed something. Any help would be appreciated!