When I run ng g web-worker with @ionic/angular-toolkit@6.1.0, an unhandled exception occurred.  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. 