Collection "@schematics/angular" cannot be resolved.
See original GitHub issueCurrent Behavior
Cannot generate angular app/library.
Expected Behavior
Steps to Reproduce
- Created new workspace with
npx create-nx-workspace@latest --packageManager pnpm - Trying to generate new library with
generate @nrwl/angular:library --name=shared-ui --linter=eslint --strict --unitTestRunner=jest - Getting
Collection "@schematics/angular" cannot be resolved.
Environment
❯ pnx report
> birk@0.0.0 nx /Users/solshark/Development/wmt/birk
> nx "report"
> NX Report complete - copy this into the issue template
Node : 14.17.5
OS : darwin x64
pnpm : 6.14.2
nx : Not Found
@nrwl/angular : 12.7.2
@nrwl/cli : 12.7.2
@nrwl/cypress : 12.7.2
@nrwl/devkit : 12.7.2
@nrwl/eslint-plugin-nx : 12.7.2
@nrwl/express : Not Found
@nrwl/jest : 12.7.2
@nrwl/linter : 12.7.2
@nrwl/nest : 12.7.2
@nrwl/next : Not Found
@nrwl/node : 12.7.2
@nrwl/nx-cloud : Not Found
@nrwl/react : Not Found
@nrwl/schematics : Not Found
@nrwl/tao : 12.7.2
@nrwl/web : Not Found
@nrwl/workspace : 12.7.2
@nrwl/storybook : 12.7.2
@nrwl/gatsby : Not Found
typescript : 4.3.5
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Collection "@schematics/angular" cannot be resolved
If you installed angular-cli with -g key, it should be fine. If not, try installing angular-cli globally. Then you could check dependencies.
Read more >Collection "@igniteui/angular-schematics" cannot be resolved
The schematics collection is added to your project when you install Ignite UI for Angular. Both versions of the tooling allow for generating ......
Read more >@schematics/angular - npm
Schematics specific to Angular. Latest version: 15.0.4, last published: 9 days ago. Start using @schematics/angular in your project by ...
Read more >Schematics for libraries - Angular
When you create an Angular library, you can provide and package it with schematics that integrate it with the Angular CLI. With your...
Read more >Schematic "page" not found in collection "@schematics/angular".
An unhandled exception occurred: Schematic "page" not found in collection "@schematics/angular". · Uninstall and Reinstall angular cli · npm ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I’ve created new project using following command:
pnpx create-nx-workspace --package-manager=pnpmNext, trying to generate new library using plugin for WebStorm:
git@github.com:solshark/i6820.git
I’ve solved it with a direct
pnpx nx .... generate .... and so on...you can use it.