Open Closed

Error occured while adding the module Volo.AuditLogging.Uiwith source-code to the solution "431ca24a-8d94-4fbf-b22b-810fb47d684b".. #731


User avatar
1
learnabp created
  • ABP Framework version: v4.1.0-rc.2
  • UI type: MVC
  • DB provider: ** EF Core**
  • Tiered (MVC) or Identity Server Seperated (Angular): No
  • Exception message and stack trace:

[01:42:45 ERR] Error occured while adding the module Volo.AuditLogging.Uiwith source-code to the solution "431ca24a-8d94-4fbf-b22b-810fb47d684b".. System.ArgumentNullException: Value cannot be null. (Parameter 'path') at System.IO.Path.GetFullPath(String path) at System.IO.DirectoryInfo..ctor(String path) at Volo.Abp.Cli.ProjectModification.SolutionModuleAdder.RemoveProjectByPostFix(ModuleWithMastersInfo module, String moduleSolutionFile, String targetFolder, String postFix) in D:\github\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectModification\SolutionModuleAdder.cs:line 209 at Volo.Abp.Cli.ProjectModification.SolutionModuleAdder.RemoveUnnecessaryProjectsAsync(String solutionDirectory, ModuleWithMastersInfo module, String[] projectFiles) in D:\github\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectModification\SolutionModuleAdder.cs:line 167 at Volo.Abp.Cli.ProjectModification.SolutionModuleAdder.AddAsync(String solutionFile, String moduleName, String startupProject, String version, Boolean skipDbMigrations, Boolean withSourceCode, Boolean addSourceCodeToSolutionFile, Boolean newTemplate, Boolean newProTemplate) in D:\github\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectModification\SolutionModuleAdder.cs:line 102 at Volo.Abp.Cli.Commands.AddModuleCommand.ExecuteAsync(CommandLineArgs commandLineArgs) in D:\github\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\AddModuleCommand.cs:line 59 at Volo.Abp.Suite.Controllers.AbpSuiteController.AddModuleAsync(AddModuleInput input)

  • Steps to reproduce the issue:
  1. Run abp suite from camond line
  2. Create new solution using the abp suite
  3. Navigate to Modules
  4. Click on Replace packages with source code under the Audit Logging Module
  5. Get the above specified error

3 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    We have created an internal issue for this. it will fix soon.

  • User Avatar
    0
    tqm created

    I have the same problem. Has this problem been solved?

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    4.1 stable version will be released today

    See https://github.com/abpframework/abp/pull/6839

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