Closed danjor closed 1 year ago
I'm sorry, but this issue is not caused by Angular CLI.
Please file an issue in the NX project.
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.
Command
generate
Is this a regression?
The previous version in which this bug was not present was
15.1.1
Description
With angular CLI version 14, and v15 (all except 15.1.1)
Calling this
yarn nx generate @nrwl/angular:library my-lib --directory=package.json --verbose
Cause the CLI fail in node_modules\@schematics\angular\component\index.js:32:19 without even calling workspace library schematic and angular library schematic either with error :Minimal Reproduction
With angular CLI version 14, and v15 (all except 15.1.1)
Calling this
yarn nx generate @nrwl/angular:library my-lib --directory=package.json --verbose
Cause the CLI to fail in node_modules\@schematics\angular\component\index.js:32:19 without even calling workspace library schematic and angular library schematic either with error :Full Output :
With angular CLI version 15.1.1, and angular CLI 14, it worked :
I can see that in the log for the case that didn't worked I have this print that I don't have in the working output log :
[NX] Angular devkit readJsonWorkspace fell back to Nx workspaces logic
Exception or Error
No response
Your Environment
Anything else relevant?
No response