Starts in:
1 DAY
12 HRS
28 MIN
38 SEC
Starts in:
1 D
12 H
28 M
38 S
Open Closed

ABP suite is not working #748


User avatar
0
shobhit created

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

  • ABP Framework version: v4.0.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Seperated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:

1- In existing project ABP "nueget package replace by code" is not working and throwing various errors in ABP console 2- cannot create new entity as mulitple namepsaces changed in C# which is breaking the whole project 3- Cannot add new/change UI as proxy generation command is creating new proxy folder structure which is different than previous version. It is causing whole UI to break.

Please confirm who can help me or when i will get fix solution so that i can focus on building my product but not fiding bugs in ABP framework. Currently i am blocked and just waiting for ABP team response.


15 Answer(s)
  • User Avatar
    -1
    alper created
    Support Team Director
    1. In existing project ABP "nuget package replace by code" is not working and throwing various errors in ABP console

    Can you write which module you are trying to add by source-code? Also ensure that your ABP CLI and ABP Suite versions must be the same with your project version. Suite and CLI must be v4.0.2 in your case.

    1. Cannot create new entity as mulitple namepsaces changed in C# which is breaking the whole project

    This shouldn't be problem if you are using the same Suite version. See How can I install a specific version of ABP Suite?

    1. Cannot add new/change UI as proxy generation command is creating new proxy folder structure which is different than previous version. It is causing whole UI to break.

    If you change the backend's project structure, the proxy folder structure also changes. Folder paths are being created according to namespaces. Updating the links to those proxies in the UI will fix it You can try all proxy imports directly from the proxy folder import {SomeDto} from '@proxy' If you revise tsconfig you can achieve this. Create a new project to see the new tsconfig.json file.

  • User Avatar
    0
    shobhit created

    My response:

    1- SaaS Tenant Module

    2-

    3- I have not make any folder st. Change. After upgrade from 4.0.0. to 4.0.2, C# class namespace has changed in my current project. Similarly anuglar proxy generation for the same existing module has also changed.

    i hope it makes sense.

  • User Avatar
    0
    shobhit created

    Today i got new surprise. ABP suite is not working at all.

  • User Avatar
    0
    shobhit created

    To Add more, today Angular UI is not getting generated also:

  • User Avatar
    0
    shobhit created

    Hello @alper, For how long i have to wait so that my team can work and we can deliver our project instead of finding bugs in ABP suite. Please confirm or tell me next escalation point.

  • User Avatar
    0
    alper created
    Support Team Director

    I couldn't reproduce your problem. Added SaS module and no compile errors.

    can you check you can go to the highlighted URL in your browser? sometimes network problems prevent reaching GitHub.

  • User Avatar
    0
    shobhit created

    Hi @Alper, I am sure i can show you via screen share, if screen shot is not good enough proof. Anyway internet is working as i have make sure that aspect.

            @Alper i need immediate help. I am not able to generate new ABP entity. It has blocked me completely. Please help ASAP.
    
  • User Avatar
    0
    alper created
    Support Team Director

    can you pls show a screenshot that you can succesfully and navigate to https://api.github.com/repos/abpframework/abp/releases also can you try again to create the entity via Suite.

    PS: Suite is not a blocker. It's a complementary tool that helps you to generate a CRUD page. You can always create entity manually.

  • User Avatar
    0
    shobhit created

    Hi Alper, Even though it is complementary tool but we are using it to for dev purpose. I am not sure how to go ahead without this tool. Sometime back only i have tried to create new entity. If this tool is alternate what process i should follow to create ui?

           ![image.png](/QA/files/45ecb3b1a1de388598f739f9e5ab6f14.png)
    
  • User Avatar
    0
    shobhit created

  • User Avatar
    0
    alper created
    Support Team Director

    If this tool is alternate what process i should follow to create ui?

    In this document, you can follow how to create CRUD pages step by step. https://docs.abp.io/en/commercial/latest/tutorials/book-store/part-1?UI=MVC&DB=EF

    I see that you can successfully browse https://api.github.com/repos/abpframework/abp/releases . So do you still get the following error right now?

  • User Avatar
    0
    shobhit created

    Hi Alper, Back to my original question:

        1- In existing project ABP "nuget package replace by code" is not working and throwing various errors in ABP console
    start ABP: ![image.png](/QA/files/4fde7282eedaa1b2cfdf39f9f3e84b28.png)
    Open ABP UI: ![image.png](/QA/files/773e16104f527f5390f439f9f3e8e289.png)
    Go to Accont module and click on "Replace package with source code" button
    Got Error: ![image.png](/QA/files/fe364a31f42e394b874339f9f3ea7b2f.png)
    ABP console Error: 
    
    Determining projects to restore...
    

    Writing C:\Users\shobhit\AppData\Local\Temp\tmp5D0A.tmp info : Adding PackageReference for package 'Volo.Abp.Account.Pro.Shared.Application' into project 'D:\Projile\EzpandCC\EzpandCC\aspnet-core\src\EzpandCC.Application\EzpandCC.Application.csproj'. info : Restoring packages for D:\Projile\EzpandCC\EzpandCC\aspnet-core\src\EzpandCC.Application\EzpandCC.Application.csproj... info : Package 'Volo.Abp.Account.Pro.Shared.Application' is compatible with all the specified frameworks in project 'D:\Projile\EzpandCC\EzpandCC\aspnet-core\src\EzpandCC.Application\EzpandCC.Application.csproj'. info : PackageReference for package 'Volo.Abp.Account.Pro.Shared.Application' version '4.0.2' added to file 'D:\Projile\EzpandCC\EzpandCC\aspnet-core\src\EzpandCC.Application\EzpandCC.Application.csproj'. info : Committing restore... info : Writing assets file to disk. Path: D:\Projile\EzpandCC\EzpandCC\aspnet-core\src\EzpandCC.Application\obj\project.assets.json log : Restored D:\Projile\EzpandCC\EzpandCC\aspnet-core\src\EzpandCC.Application\EzpandCC.Application.csproj (in 2.92 sec). Determining projects to restore... Writing C:\Users\shobhit\AppData\Local\Temp\tmp7872.tmp info : Adding PackageReference for package 'Volo.Abp.Account.Pro.Shared.Application.Contracts' into project 'D:\Projile\EzpandCC\EzpandCC\aspnet-core\src\EzpandCC.Application.Contracts\EzpandCC.Application.Contracts.csproj'. info : Restoring packages for D:\Projile\EzpandCC\EzpandCC\aspnet-core\src\EzpandCC.Application.Contracts\EzpandCC.Application.Contracts.csproj... info : Package 'Volo.Abp.Account.Pro.Shared.Application.Contracts' is compatible with all the specified frameworks in project 'D:\Projile\EzpandCC\EzpandCC\aspnet-core\src\EzpandCC.Application.Contracts\EzpandCC.Application.Contracts.csproj'. info : PackageReference for package 'Volo.Abp.Account.Pro.Shared.Application.Contracts' version '4.0.2' added to file 'D:\Projile\EzpandCC\EzpandCC\aspnet-core\src\EzpandCC.Application.Contracts\EzpandCC.Application.Contracts.csproj'. info : Committing restore... info : Writing assets file to disk. Path: D:\Projile\EzpandCC\EzpandCC\aspnet-core\src\EzpandCC.Application.Contracts\obj\project.assets.json log : Restored D:\Projile\EzpandCC\EzpandCC\aspnet-core\src\EzpandCC.Application.Contracts\EzpandCC.Application.Contracts.csproj (in 1.29 sec). [16:56:09 ERR] Error occured while adding the module Volo.Account.Prowith source-code to the solution "68c1908a-96c6-4764-b804-408a194636d6".. 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 186 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 144 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 98 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)

    So as a customer how i can add a module source code **(i know ABP suite is complementry and ABP team cannot help me but i hope Module is part of source code and i am sure ABP team could help me here).**
        
    
  • User Avatar
    0
    yekalkan created
    Support Team Fullstack Developer

    @shobhit

    Does upgrading CLI & Suite to v4.1.0 fix this problem?

  • User Avatar
    0
    shobhit created

    i am still running on 4.0.2. Should i upgrade first? if yes, Please share the instruction. I have a running application and next week we have client demo.

  • User Avatar
    0
    alper created
    Support Team Director

    run this to update

    dotnet tool update -g Volo.Abp.Cli && abp suite update
    

    also you need to update your packages to 4.1.0

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06