Closed
Description
🐞 Bug report
Command (mark with an x
)
- new
- build
- serve
- test
- e2e
- generate
- add
- update
- lint
- extract-i18n
- run
- config
- help
- version
- doc
Is this a regression?
NoDescription
I would like to migrate legacy localization IDs to IDs that use the latest algorithms using this guide https://angular.io/guide/migration-legacy-message-id. I am not able to do it as ng extract-i18n --format=legacy-migrate
gives me an error that my webworker file is missing from the TypeScript compilation.
🔬 Minimal Reproduction
- git clone https://github.com/destus90/worker-migrating-legacy-IDs
- npm ci
- ng extract-i18n --format=legacy-migrate
🔥 Exception or Error
worker-migrating-legacy-IDs\src\app\worker.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
at C:\Users\...\worker-migrating-legacy-IDs\node_modules\@ngtools\webpack\src\ivy\loader.js:43:26
🌍 Your Environment
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 12.0.1
Node: 14.15.0
Package Manager: npm 6.14.8
OS: win32 x64
Angular: 12.0.1
... animations, cli, common, compiler, compiler-cli, core, forms
... localize, platform-browser, platform-browser-dynamic, router
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1200.1
@angular-devkit/build-angular 12.0.1
@angular-devkit/core 12.0.1
@angular-devkit/schematics 12.0.1
@schematics/angular 12.0.1
rxjs 6.6.7
typescript 4.2.4
Anything else relevant?