angular - Error: s does not have a module def (ɵmod property) - Stack Overflow

admin2025-05-02  0

During Angular update I see this error Error: S does not have a module def (ɵmod property)

I am updating angular 15 to 16

"@angular/cli": "^16.2.16",

The error does not specify which module is causing the problem:

Error: S does not have a module def (ɵmod property)

  1. Tried to moving all the component, pipes declaration from providers to declration.
  2. Cleared cache, .anuglar file.
  3. Re-installed node_modules.
转载请注明原文地址:http://anycun.com/QandA/1746120695a91955.html