Open Closed

Bugs & Issues v4.3.X #1126


User avatar
0
alper created
Support Team Director

To update your version to v4.3.x for both ABP CLI and ABP Suite run the following command

dotnet tool update -g Volo.Abp.Cli --version 4.3.0-rc.1
abp suite update --preview

or

Run this PowerShell script to update both the CLI and Suite to the latest including the preview versions.

v4.3 Preview ABP Framework Version Notes https://blog.abp.io/abp/ABP-Framework-4.3-RC-Has-Been-Published

v4.3 Preview ABP Commercial Version Notes https://blog.abp.io/abp/ABP-Commercial-4.3-RC-Has-Been-Published

From 4.x to 4.3 Migration Guide https://docs.abp.io/en/commercial/4.3/migration-guides/v4_3


188 Answer(s)
  • User Avatar
    0
    nlachmuth created

    Hi,

    i just updated to v4.3.0 an noticed that the abp bundle command throws an exception related to the file management module.

    PS C:\Users\Nico\Source\Repos\nl-bae-crm\aspnet-core\src\NL.Bae.Crm.Blazor> abp bundle
    [11:21:13 INF] ABP CLI (https://abp.io)
    [11:21:13 INF] Version 4.3.0 (Stable)
    [11:21:15 INF] Generating style bundle...
    [11:21:15 INF] Style bundle has been generated successfully.
    [11:21:15 INF] Generating script bundle...
    [11:21:15 WRN] Unable to minify the file: AuthenticationService.js. Adding file to the bundle without minification.
    [11:21:15 ERR] Could not find a part of the path 'C:\Users\Nico\.nuget\packages\volo.filemanagement.blazor\4.3.0\staticwebassets\filemanagement\js\filemanagement.js'.
    System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Nico\.nuget\packages\volo.filemanagement.blazor\4.3.0\staticwebassets\filemanagement\js\filemanagement.js'.
       at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
       at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
       at System.IO.StreamReader.ValidateArgsAndOpenPath(String path, Encoding encoding, Int32 bufferSize)
       at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks)
       at System.IO.File.InternalReadAllText(String path, Encoding encoding)
       at System.IO.File.ReadAllText(String path)
       at Volo.Abp.Cli.Bundling.BundlerBase.GetFileContent(String filePath, Boolean minify) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Bundling\BundlerBase.cs:line 113
       at Volo.Abp.Cli.Bundling.BundlerBase.BundleFiles(BundleOptions options, List`1 bundleDefinitions) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Bundling\BundlerBase.cs:line 78
       at Volo.Abp.Cli.Bundling.BundlerBase.Bundle(BundleOptions options, BundleContext context) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Bundling\BundlerBase.cs:line 37
       at Volo.Abp.Cli.Bundling.BundlingService.BundleAsync(String directory, Boolean forceBuild) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Bundling\BundlingService.cs:line 86
       at Volo.Abp.Cli.Commands.BundleCommand.ExecuteAsync(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\BundleCommand.cs:line 43
       at Volo.Abp.Cli.CliService.RunAsync(String[] args) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\CliService.cs:line 59
    

    It seems that the js asset of the file management module are missing in v4.3.0.

    As a workaround i copied the js folder from v4.2 nuget to the 4.3.0 directory, to get the bundling working.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi serdar.genc@talentra.net

    How to reproduce your problem with code?

  • User Avatar
    0
    MILLENNIUM created

    Dears,

    I downloaded account module with source code on exisiting project (4.3.0-rc.1)

    I get this error when I run the application, it deos not work!:

    Error: Debug error: DtsModuleScopeResolver.read(AccountSettingsModule from D:/Dev/NoonClouds.Hub/angular/projects/account/admin/src/account-settings.module.ts), but not a .d.ts file

    P.S:

    I already tried the old solution but did not work in 4.3.0-rc.1: https://support.abp.io/QA/Questions/807/Bugs--Issues-v42X#answer-64a151bf-76ea-027b-8be3-39fadb31c2ac

  • User Avatar
    0
    cotur created

    Hi @ilitzy

    I've tested 2 cases (File Management & DatePicker) with 4.3 (not rc) version. About the File Management, it worked, I could not reproduced. Can you please test it with 4.3 version and if you have problem, please send me a reproducable minimal example.

    About the DatePicker, yes there is a problem, we will investigate it. Thanks so much.

  • User Avatar
    0
    Dicky.tech@gmail.com created

    Am trying to configure file management module using extensibility system but seems I can't configure file management. I just want to add a new collumn in the file descriptors table.

    `public static void ConfigureExtraProperties()
    {
        OneTimeRunner.Run(() =>
        {
            ObjectExtensionManager.Instance.Modules()
                .ConfigureFileManagement(identity =>
                {
                   `
    
  • User Avatar
    0
    cotur created

    Hi @dicky.tech

    The entites of File Management module are not extensible for now.

  • User Avatar
    0
    alper created
    Support Team Director

    I have updated to the latest 4.3, but the source code cannot be downloaded, what is the reason?


    can you try again. I just couldn't reproduce it

  • User Avatar
    0
    alper created
    Support Team Director

    It looks to me that release V4.3.0 is not using the correctly template layouts. See the attached CLI screen shot


    try this command. I can create v4.3.0 projects

    abp new Acme.BookStore -t app-pro -u blazor-server --mobile none -csf 
    
  • User Avatar
    0
    alper created
    Support Team Director

    @maliming

    @serdar,

    you need to run gulp command after adding Forms module. To do this, open your Web folder and write gulp

  • User Avatar
    0
    alper created
    Support Team Director

    Hi,

    i just updated to v4.3.0 an noticed that the abp bundle command throws an exception related to the file management module.

    PS C:\Users\Nico\Source\Repos\nl-bae-crm\aspnet-core\src\NL.Bae.Crm.Blazor> abp bundle 
    [11:21:13 INF] ABP CLI (https://abp.io) 
    [11:21:13 INF] Version 4.3.0 (Stable) 
    [11:21:15 INF] Generating style bundle... 
    [11:21:15 INF] Style bundle has been generated successfully. 
    [11:21:15 INF] Generating script bundle... 
    [11:21:15 WRN] Unable to minify the file: AuthenticationService.js. Adding file to the bundle without minification. 
    [11:21:15 ERR] Could not find a part of the path 'C:\Users\Nico\.nuget\packages\volo.filemanagement.blazor\4.3.0\staticwebassets\filemanagement\js\filemanagement.js'. 
    System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Nico\.nuget\packages\volo.filemanagement.blazor\4.3.0\staticwebassets\filemanagement\js\filemanagement.js'. 
       at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle) 
       at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options) 
       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) 
       at System.IO.StreamReader.ValidateArgsAndOpenPath(String path, Encoding encoding, Int32 bufferSize) 
       at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks) 
       at System.IO.File.InternalReadAllText(String path, Encoding encoding) 
       at System.IO.File.ReadAllText(String path) 
       at Volo.Abp.Cli.Bundling.BundlerBase.GetFileContent(String filePath, Boolean minify) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Bundling\BundlerBase.cs:line 113 
       at Volo.Abp.Cli.Bundling.BundlerBase.BundleFiles(BundleOptions options, List`1 bundleDefinitions) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Bundling\BundlerBase.cs:line 78 
       at Volo.Abp.Cli.Bundling.BundlerBase.Bundle(BundleOptions options, BundleContext context) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Bundling\BundlerBase.cs:line 37 
       at Volo.Abp.Cli.Bundling.BundlingService.BundleAsync(String directory, Boolean forceBuild) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Bundling\BundlingService.cs:line 86 
       at Volo.Abp.Cli.Commands.BundleCommand.ExecuteAsync(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\BundleCommand.cs:line 43 
       at Volo.Abp.Cli.CliService.RunAsync(String[] args) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\CliService.cs:line 59 
    

    It seems that the js asset of the file management module are missing in v4.3.0.

    As a workaround i copied the js folder from v4.2 nuget to the 4.3.0 directory, to get the bundling working.


    @nlachmuth

    this javascript file has been removed and not used anymore. this is a bug and we have fixed it. your workaround is good. thanks

  • User Avatar
    0
    alper created
    Support Team Director

    Dears,

    I downloaded account module with source code on exisiting project (4.3.0-rc.1)

    I get this error when I run the application, it deos not work!:

    Error: Debug error: DtsModuleScopeResolver.read(AccountSettingsModule from D:/Dev/NoonClouds.Hub/angular/projects/account/admin/src/account-settings.module.ts), but not a .d.ts file

    P.S:

    I already tried the old solution but did not work in 4.3.0-rc.1: https://support.abp.io/QA/Questions/807/Bugs--Issues-v42X#answer-64a151bf-76ea-027b-8be3-39fadb31c2ac


    @MILLENNIUM

    thanks for reporting. I've created a bug ticket internally. Probably will be fixed in the 4.3.1

  • User Avatar
    0
    MCrawford created

    @alper Any idea on how to resolve the new 4.3.0 error? Cannot read the template Volo.Abp.Commercial.SuiteTemplates.Templates.Server.Entity.Partials.ConfigureEntityMultiTenantCondition.txt

  • User Avatar
    0
    chofoza created

    @chofoza , that's the open-source package. you need to add the CmsKit Pro package to your commercial project.

    abp add-module Volo.CmsKit.Pro 
    

    Thank you @alper, I manually removed all the non-Pro packages and added .Pro. All of my projects reference the Pro packages but the install did still fail at the same place. I tried multiple times and it showed errors downloading three different git packages and then continues to show the last one:

    ls-remote --tags --heads ssh://git@github.com/adobe-webplatform/eve.git ls-remote --tags --heads ssh://git@github.com/nhn/raphael.git ls-remote --tags --heads ssh://git@github.com/seonim-ryu/Squire.git (if I keep running add-module I keep getting this error now)

    I also don't have any cms tables in the database, and I tried to add a migration, but I'm assuming because the add-module fails too many steps have been missed for it to work.

  • User Avatar
    0
    chofoza created

    I am having a problem with a recently upgraded project. It runs, and seems fine generally, but when I click on Administration > Settings I get this error:

    Autofac.Core.DependencyResolutionException: None of the constructors found with 'Volo.Abp.Autofac.AbpAutofacConstructorFinder' on type 'Volo.Abp.SettingManagement.Web.Pages.SettingManagement.Components.EmailSettingGroup.EmailSettingGroupViewComponent' can be invoked with the available services and parameters:
    Cannot resolve parameter 'Volo.Abp.SettingManagement.IEmailSettingsAppService emailSettingsAppService' of constructor 'Void .ctor(Volo.Abp.SettingManagement.IEmailSettingsAppService)'.
       at Autofac.Core.Activators.Reflection.ReflectionActivator.GetAllBindings(ConstructorBinder[] availableConstructors, IComponentContext context, IEnumerable`1 parameters)
       at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
       at Autofac.Core.Activators.Reflection.ReflectionActivator.<ConfigurePipeline>b__11_0(ResolveRequestContext ctxt, Action`1 next)
       at Autofac.Core.Resolving.Middleware.DisposalTrackingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
       at Autofac.Builder.RegistrationBuilder`3.&lt;&gt;c__DisplayClass41_0.&lt;PropertiesAutowired&gt;b__0(ResolveRequestContext ctxt, Action`1 next)
       at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
    

    All other admin menu items seem ok. Any ideas? It's a Pro MVC/SQL project without access to any original source code.

  • User Avatar
    0
    alper created
    Support Team Director

    @alper Any idea on how to resolve the new 4.3.0 error? Cannot read the template Volo.Abp.Commercial.SuiteTemplates.Templates.Server.Entity.Partials.ConfigureEntityMultiTenantCondition.txt

    @MCrawford yes I know the solution. actually every release I see this error. You need to be running the same version for both Suite and your project. If you update suite and keep your project abp version old, it will not work. see https://support.abp.io/QA/Questions/671/ABP-Suite-throws-Cannot-read-the-template-VoloAbpCommercialSuiteTemplatesTemplatesXXXX

  • User Avatar
    0
    MCrawford created

    @alper Any idea on how to resolve the new 4.3.0 error? Cannot read the template Volo.Abp.Commercial.SuiteTemplates.Templates.Server.Entity.Partials.ConfigureEntityMultiTenantCondition.txt

    @MCrawford yes I know the solution. actually every release I see this error. You need to be running the same version for both Suite and your project. If you update suite and keep your project abp version old, it will not work. see https://support.abp.io/QA/Questions/671/ABP-Suite-throws-Cannot-read-the-template-VoloAbpCommercialSuiteTemplatesTemplatesXXXX

    @alper That did it thanks for the link, much appreciated. Any chance this will be added as a fix in a future update? Auto cleaning project folders on update command?

  • User Avatar
    0
    serdar.genc@talentra.net created

    @maliming

    @serdar,

    you need to run gulp command after adding Forms module. To do this, open your Web folder and write gulp

    thanks @Alper

  • User Avatar
    0
    serdar.genc@talentra.net created

    ABP Framework version: v4.3 UI type: MVC DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): no

    When run, 'abp add-module Volo.CmsKit.Pro'

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi serdar.genc@talentra.net

    Open the GlobalFeatureConfigurator class in the Domain.Shared project and add the following codes to the Configure method.

    
    OneTimeRunner.Run(() =>
    {
        GlobalFeatureManager.Instance.Modules.CmsKit(cmsKit =>
        {
            cmsKit.EnableAll();
        });
    
        GlobalFeatureManager.Instance.Modules.CmsKitPro(cmsKitPro =>
        {
            cmsKitPro.EnableAll();
        });
    });
    
  • User Avatar
    0
    serdar.genc@talentra.net created

    hi serdar.genc@talentra.net

    Open the GlobalFeatureConfigurator class in the Domain.Shared project and add the following codes to the Configure method.

     
    OneTimeRunner.Run(() => 
    { 
        GlobalFeatureManager.Instance.Modules.CmsKit(cmsKit => 
        { 
            cmsKit.EnableAll(); 
        }); 
     
        GlobalFeatureManager.Instance.Modules.CmsKitPro(cmsKitPro => 
        { 
            cmsKitPro.EnableAll(); 
        }); 
    }); 
    

    Thank you @maliming

  • User Avatar
    0
    serdar.genc@talentra.net created

    When enable Emailing

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi serdar.genc@talentra.net

    How many permissions does your app have? You can resolve it by configure FormOptions. I will check and fix it.

    Configure<FormOptions>(options =>
    {
        options.ValueCountLimit = 1024 * 2;
        //options.
    });
    

    The fix PR https://github.com/abpframework/abp/pull/8810

  • User Avatar
    0
    serdar.genc@talentra.net created

    hi serdar.genc@talentra.net

    How many permissions does your app have? You can resolve it by configure FormOptions. I will check and fix it.

    Configure<FormOptions>(options => 
    { 
        options.ValueCountLimit = 1024 * 2; 
        //options. 
    }); 
    

    The fix PR https://github.com/abpframework/abp/pull/8810

    Hi @maliming, Thank you so much, My problem is solved with FormOptions. permissions :

  • User Avatar
    0
    can.ercan created

    ABP Framework version: v4.3 UI type: Angular DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): no

    When we replace the account module with the source code we get the errors below in the angular project.

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

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

    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 E:/Development/abp/Version43/angular/projects/account/admin/src/account-settings.module.ts), but not a .d.ts file
    at MetadataDtsModuleScopeResolver.resolve (E:\Development\abp\Version43\angular\node_modules@angular\compiler-cli\src\ngtsc\scope\src\dependency.js:52:23) at MetadataDtsModuleScopeResolver.resolve (E:\Development\abp\Version43\angular\node_modules@angular\compiler-cli\src\ngtsc\scope\src\dependency.js:100:46) at LocalModuleScopeRegistry.getExportedScope (E:\Development\abp\Version43\angular\node_modules@angular\compiler-cli\src\ngtsc\scope\src\local.js:529:51)39m at LocalModuleScopeRegistry.getScopeOfModuleReference (E:\Development\abp\Version43\angular\node_modules@angular\compiler-cli\src\ngtsc\scope\src\local.js:271:44) at LocalModuleScopeRegistry.getScopeOfModule (E:\Development\abp\Version43\angular\node_modules@angular\compiler-cli\src\ngtsc\scope\src\local.js:148:22) at LocalModuleScopeRegistry.getScopeForComponent (E:\Development\abp\Version43\angular\node_modules@angular\compiler-cli\src\ngtsc\scope\src\local.js:122:22) at ComponentDecoratorHandler.resolve (E:\Development\abp\Version43\angular\node_modules@angular\compiler-cli\src\ngtsc\annotations\src\component.js:365:42) at TraitCompiler.resolve (E:\Development\abp\Version43\angular\node_modules@angular\compiler-cli\src\ngtsc\transform\src\compilation.js:392:50) at NgCompiler.resolveCompilation (E:\Development\abp\Version43\angular\node_modules@angular\compiler-cli\src\ngtsc\core\src\compiler.js:542:27) at NgCompiler.<anonymous> (E:\Development\abp\Version43\angular\node_modules@angular\compiler-cli\src\ngtsc\core\src\compiler.js:423:34) at step (E:\Development\abp\Version43\angular\node_modules\tslib\tslib.js:143:27) at Object.next (E:\Development\abp\Version43\angular\node_modules\tslib\tslib.js:124:57) at fulfilled (E:\Development\abp\Version43\angular\node_modules\tslib\tslib.js:114:62) at process._tickCallback (internal/process/next_tick.js:68:7)

  • User Avatar
    0
    alper created
    Support Team Director

    ABP Framework version: v4.3 UI type: Angular DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): no

    When we replace the account module with the source code we get the errors below in the angular project.

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

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

    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 E:/Development/abp/Version43/angular/projects/account/admin/src/account-settings.module.ts), but not a .d.ts file
    at MetadataDtsModuleScopeResolver.resolve (E:\Development\abp\Version43\angular\node_modules@angular\compiler-cli\src\ngtsc\scope\src\dependency.js:52:23) at MetadataDtsModuleScopeResolver.resolve (E:\Development\abp\Version43\angular\node_modules@angular\compiler-cli\src\ngtsc\scope\src\dependency.js:100:46) at LocalModuleScopeRegistry.getExportedScope (E:\Development\abp\Version43\angular\node_modules@angular\compiler-cli\src\ngtsc\scope\src\local.js:529:51)39m at LocalModuleScopeRegistry.getScopeOfModuleReference (E:\Development\abp\Version43\angular\node_modules@angular\compiler-cli\src\ngtsc\scope\src\local.js:271:44) at LocalModuleScopeRegistry.getScopeOfModule (E:\Development\abp\Version43\angular\node_modules@angular\compiler-cli\src\ngtsc\scope\src\local.js:148:22) at LocalModuleScopeRegistry.getScopeForComponent (E:\Development\abp\Version43\angular\node_modules@angular\compiler-cli\src\ngtsc\scope\src\local.js:122:22) at ComponentDecoratorHandler.resolve (E:\Development\abp\Version43\angular\node_modules@angular\compiler-cli\src\ngtsc\annotations\src\component.js:365:42) at TraitCompiler.resolve (E:\Development\abp\Version43\angular\node_modules@angular\compiler-cli\src\ngtsc\transform\src\compilation.js:392:50) at NgCompiler.resolveCompilation (E:\Development\abp\Version43\angular\node_modules@angular\compiler-cli\src\ngtsc\core\src\compiler.js:542:27) at NgCompiler.<anonymous> (E:\Development\abp\Version43\angular\node_modules@angular\compiler-cli\src\ngtsc\core\src\compiler.js:423:34) at step (E:\Development\abp\Version43\angular\node_modules\tslib\tslib.js:143:27) at Object.next (E:\Development\abp\Version43\angular\node_modules\tslib\tslib.js:124:57) at fulfilled (E:\Development\abp\Version43\angular\node_modules\tslib\tslib.js:114:62) at process._tickCallback (internal/process/next_tick.js:68:7)

    duplicate of https://support.abp.io/QA/Questions/1126#answer-4438182b-8955-8de1-60ff-39fc1869ff5d

Made with ❤️ on ABP v9.1.0-preview. Updated on November 19, 2024, 12:56