Open Closed

Build Errors After Replacing Account Module Packages With Source Code #1318


User avatar
0
FarReach created
  • ABP Framework version: v4.3
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace: Error: ./src/main.ts Module build failed (from ./node_modules/@ngtools/webpack/src/ivy/index.js): Error: Debug error: DtsModuleScopeResolver.read(AccountSettingsModule from C:/Repos/BerganKDV.Fraud/angular/projects/account/admin/src/account-settings.module.ts), but not a .d.ts file at MetadataDtsModuleScopeResolver.resolve (C:\Repos\BerganKDV.Fraud\angular\node_modules@angular\compiler-cli\src\ngtsc\scope\src\dependency.js:52:23) at MetadataDtsModuleScopeResolver.resolve (C:\Repos\BerganKDV.Fraud\angular\node_modules@angular\compiler-cli\src\ngtsc\scope\src\dependency.js:100:46) at LocalModuleScopeRegistry.getExportedScope (C:\Repos\BerganKDV.Fraud\angular\node_modules@angular\compiler-cli\src\ngtsc\scope\src\local.js:529:51) at LocalModuleScopeRegistry.getScopeOfModuleReference (C:\Repos\BerganKDV.Fraud\angular\node_modules@angular\compiler-cli\src\ngtsc\scope\src\local.js:271:44) at LocalModuleScopeRegistry.getScopeOfModule (C:\Repos\BerganKDV.Fraud\angular\node_modules@angular\compiler-cli\src\ngtsc\scope\src\local.js:148:22) at LocalModuleScopeRegistry.getScopeForComponent (C:\Repos\BerganKDV.Fraud\angular\node_modules@angular\compiler-cli\src\ngtsc\scope\src\local.js:122:22) at ComponentDecoratorHandler.resolve (C:\Repos\BerganKDV.Fraud\angular\node_modules@angular\compiler-cli\src\ngtsc\annotations\src\component.js:365:42) at TraitCompiler.resolve (C:\Repos\BerganKDV.Fraud\angular\node_modules@angular\compiler-cli\src\ngtsc\transform\src\compilation.js:392:50) at NgCompiler.resolveCompilation (C:\Repos\BerganKDV.Fraud\angular\node_modules@angular\compiler-cli\src\ngtsc\core\src\compiler.js:542:27) at NgCompiler.<anonymous> (C:\Repos\BerganKDV.Fraud\angular\node_modules@angular\compiler-cli\src\ngtsc\core\src\compiler.js:423:34) at step (C:\Repos\BerganKDV.Fraud\angular\node_modules\tslib\tslib.js:143:27) at Object.next (C:\Repos\BerganKDV.Fraud\angular\node_modules\tslib\tslib.js:124:57) at fulfilled (C:\Repos\BerganKDV.Fraud\angular\node_modules\tslib\tslib.js:114:62) at processTicksAndRejections (node:internal/process/task_queues:94:5)

Error: ./src/polyfills.ts Module build failed (from ./node_modules/@ngtools/webpack/src/ivy/index.js): Error: Debug error: DtsModuleScopeResolver.read(AccountSettingsModule from C:/Repos/BerganKDV.Fraud/angular/projects/account/admin/src/account-settings.module.ts), but not a .d.ts file at MetadataDtsModuleScopeResolver.resolve (C:\Repos\BerganKDV.Fraud\angular\node_modules@angular\compiler-cli\src\ngtsc\scope\src\dependency.js:52:23) at MetadataDtsModuleScopeResolver.resolve (C:\Repos\BerganKDV.Fraud\angular\node_modules@angular\compiler-cli\src\ngtsc\scope\src\dependency.js:100:46) at LocalModuleScopeRegistry.getExportedScope (C:\Repos\BerganKDV.Fraud\angular\node_modules@angular\compiler-cli\src\ngtsc\scope\src\local.js:529:51) at LocalModuleScopeRegistry.getScopeOfModuleReference (C:\Repos\BerganKDV.Fraud\angular\node_modules@angular\compiler-cli\src\ngtsc\scope\src\local.js:271:44) at LocalModuleScopeRegistry.getScopeOfModule (C:\Repos\BerganKDV.Fraud\angular\node_modules@angular\compiler-cli\src\ngtsc\scope\src\local.js:148:22) at LocalModuleScopeRegistry.getScopeForComponent (C:\Repos\BerganKDV.Fraud\angular\node_modules@angular\compiler-cli\src\ngtsc\scope\src\local.js:122:22) at ComponentDecoratorHandler.resolve (C:\Repos\BerganKDV.Fraud\angular\node_modules@angular\compiler-cli\src\ngtsc\annotations\src\component.js:365:42) at TraitCompiler.resolve (C:\Repos\BerganKDV.Fraud\angular\node_modules@angular\compiler-cli\src\ngtsc\transform\src\compilation.js:392:50) at NgCompiler.resolveCompilation (C:\Repos\BerganKDV.Fraud\angular\node_modules@angular\compiler-cli\src\ngtsc\core\src\compiler.js:542:27) at NgCompiler.<anonymous> (C:\Repos\BerganKDV.Fraud\angular\node_modules@angular\compiler-cli\src\ngtsc\core\src\compiler.js:423:34) at step (C:\Repos\BerganKDV.Fraud\angular\node_modules\tslib\tslib.js:143:27) at Object.next (C:\Repos\BerganKDV.Fraud\angular\node_modules\tslib\tslib.js:124:57) at fulfilled (C:\Repos\BerganKDV.Fraud\angular\node_modules\tslib\tslib.js:114:62) at processTicksAndRejections (node:internal/process/task_queues:94:5)

Error: (webpack)-dev-server/client?http://0.0.0.0:0&sockPath=/sockjs-node Module build failed (from ./node_modules/@ngtools/webpack/src/ivy/index.js): Error: Debug error: DtsModuleScopeResolver.read(AccountSettingsModule from C:/Repos/BerganKDV.Fraud/angular/projects/account/admin/src/account-settings.module.ts), but not a .d.ts file at MetadataDtsModuleScopeResolver.resolve (C:\Repos\BerganKDV.Fraud\angular\node_modules@angular\compiler-cli\src\ngtsc\scope\src\dependency.js:52:23) at MetadataDtsModuleScopeResolver.resolve (C:\Repos\BerganKDV.Fraud\angular\node_modules@angular\compiler-cli\src\ngtsc\scope\src\dependency.js:100:46) at LocalModuleScopeRegistry.getExportedScope (C:\Repos\BerganKDV.Fraud\angular\node_modules@angular\compiler-cli\src\ngtsc\scope\src\local.js:529:51) at LocalModuleScopeRegistry.getScopeOfModuleReference (C:\Repos\BerganKDV.Fraud\angular\node_modules@angular\compiler-cli\src\ngtsc\scope\src\local.js:271:44) at LocalModuleScopeRegistry.getScopeOfModule (C:\Repos\BerganKDV.Fraud\angular\node_modules@angular\compiler-cli\src\ngtsc\scope\src\local.js:148:22) at LocalModuleScopeRegistry.getScopeForComponent (C:\Repos\BerganKDV.Fraud\angular\node_modules@angular\compiler-cli\src\ngtsc\scope\src\local.js:122:22) at ComponentDecoratorHandler.resolve (C:\Repos\BerganKDV.Fraud\angular\node_modules@angular\compiler-cli\src\ngtsc\annotations\src\component.js:365:42) at TraitCompiler.resolve (C:\Repos\BerganKDV.Fraud\angular\node_modules@angular\compiler-cli\src\ngtsc\transform\src\compilation.js:392:50) at NgCompiler.resolveCompilation (C:\Repos\BerganKDV.Fraud\angular\node_modules@angular\compiler-cli\src\ngtsc\core\src\compiler.js:542:27) at NgCompiler.<anonymous> (C:\Repos\BerganKDV.Fraud\angular\node_modules@angular\compiler-cli\src\ngtsc\core\src\compiler.js:423:34) at step (C:\Repos\BerganKDV.Fraud\angular\node_modules\tslib\tslib.js:143:27) at Object.next (C:\Repos\BerganKDV.Fraud\angular\node_modules\tslib\tslib.js:124:57) at fulfilled (C:\Repos\BerganKDV.Fraud\angular\node_modules\tslib\tslib.js:114:62) at processTicksAndRejections (node:internal/process/task_queues:94:5)

  • Steps to reproduce the issue: We added the Account Module source code via Abp Suite and did a yarn start

2 Answer(s)
  • User Avatar
    0
    Mehmet created

    Hi @FarReach,

    It is a known issue. We are trying to fix the problem. It will probably be resolved in v4.3.1.

    Thanks.

  • User Avatar
    0
    ServiceBot created
    Support Team Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 26, 2024, 06:07