angular-toolkit icon indicating copy to clipboard operation
angular-toolkit copied to clipboard

ng g web-worker fail

Open Mike-Jia opened this issue 2 years ago • 1 comments

When I run ng g web-worker with @ionic/[email protected], an unhandled exception occurred.

image

Then I modify the https://github.com/ionic-team/angular-toolkit/blob/main/packages/schematics/collection.json , it's work. I don't know if this is the reason, please check.

image

Mike-Jia avatar Jun 28 '22 06:06 Mike-Jia

It seems that this issue will also occur if we use other aliases (like pg for page, or c for component).

For example:

  • ng g page my-page works as expected.

image

  • But ng g pg my-page won't work.

image

jonz94 avatar Oct 02 '22 00:10 jonz94