Closed YogliB closed 1 year ago
The issue is also present for non angular workspaces. We're using only devkit/workspace packages and once we import anything from workspace package it throws reported error.
What's the issue?
@nrwl/workspace still uses internally angular-devkit, (ast-utils file), and because it's not provided 8n package dependencies, consumers are forced to instal angular devkit manually.
Fix: We need to add angular-devkit to workspace package does
I can send PR if that's ok with you folks @FrozenPandaz @brandonroberts
Cheers
created issue for better visibility https://github.com/nrwl/nx/issues/6153
I am experiencing this same issue
Still get this issue on 13.10.2
, have to manually add @angular-devkit/schematics
to my devDependencies
Hi, this is still happening in 13.10.5
.
The @nrwl/workspace/src/utils/ast-utils.js
seems to be the cause of the issue.
This issue has been automatically marked as stale because it hasn't had any recent activity. It will be closed in 14 days if no further activity occurs. If we missed this issue please reply to keep it active. Thanks for being a part of the Nx community! 🙏
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.
Current Behavior
I'm using pnpm with nx and having some trouble generating suing third party generators. I'm getting an error the some
@angular/*
dependencies are missing.It seems that @nrwl/workspace depends on some angular packages that aren't listed in its package.json.
As far as I know, this could be an issue for pnpm because of how it works.
Expected Behavior
No error should happen, and the generator should run.
Steps to Reproduce
Failure Logs
Environment