Closed Noeldesarrollo closed 4 years ago
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
🐞 Bug report
Command (mark with an
x
)Is this a regression?
I don't know exactly, using cli 7.2.4 version there is no problem
Description
Test done with angular 9 library. At start, we have two modules that are packed in the same library, with paths (aliases) relative to the root library. One of modules, have as dependency some service of other module. And now we have problems executing the build task.
🔬 Minimal Reproduction
You could be able to reproduce 2 different errors. First clone that repo and launch npm install. Now you can launch ng build --prod and get one kind of error, and launch ng build to get another kind of error
This is repo: https://github.com/Noeldesarrollo/angular9-lib-build-issue
🔥 Exception or Error
Error throwed by ng build --prod
Error throwed by ng build
🌍 Your Environment
ng version 9.1.1