Closed d-koppenhagen closed 2 years ago
When executing ng extract-i18n, an error is shown:
ng extract-i18n
Error: Module not found: Error: Package path ./lib/local-iso-date-value-accessor is not exported from package
The message extraction fails in fact.
$ ng extract-i18n ✔ Browser application bundle generation complete. Initial Chunk Files | Names | Raw Size main.js | main | 1.97 MB | polyfills.js | polyfills | 980.65 kB | runtime.js | runtime | 12.15 kB | | Initial Total | 2.94 MB Lazy Chunk Files | Names | Raw Size src_app_admin_admin_module_ts.js | admin-admin-module | 339.06 kB | src_app_books_books_module_ts.js | books-books-module | 32.91 kB | Build at: 2022-08-05T19:51:26.193Z - Hash: 03fcdd87f271a332 - Time: 5846ms ./src/app/admin/book-form/book-form.component.ts:8:0-84 - Error: Module not found: Error: Package path ./lib/local-iso-date-value-accessor is not exported from package /Users/dannykoppenhagen/dev/buch/code/book-monkey5/96-i18n/node_modules/angular-date-value-accessor (see exports field in /Users/dannykoppenhagen/dev/buch/code/book-monkey5/96-i18n/node_modules/angular-date-value-accessor/package.json) ~/dev/buch/code/book-monkey5/96-i18n (i18n ✘)✹ ᐅ
Have you tried turning it on and off again? 😇
yes. now. :D
Deleting the node_modules and running npm i again solved this issue.
node_modules
npm i
🤪
When executing
ng extract-i18n
, an error is shown:Error: Module not found: Error: Package path ./lib/local-iso-date-value-accessor is not exported from package
The message extraction fails in fact.
Full Error Message