Open Closed

ABP CLI Installation Error #1478


User avatar
0
shobhit created

Hi Team, I am getting below error in my new machine. Not sure what i am missing. I have followed the setup instruction from: https://docs.abp.io/en/commercial/latest/getting-started?UI=NG&DB=EF&Tiered=Yes

C:\Users\MYName>dotnet tool install -g Volo.Abp.Cli

error NU1101: Unable to find package volo.abp.cli. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages The tool package could not be restored. Tool 'volo.abp.cli' failed to install. This failure may have been caused by:

  • You are attempting to install a preview release and did not use the --version option to specify the version.
  • A package by this name was found, but it was not a .NET tool.
  • The required NuGet feed cannot be accessed, perhaps because of an Internet connection problem.
  • You mistyped the name of the tool.

For more reasons, including package naming enforcement, visit https://aka.ms/failure-installing-tool


7 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you try to disable your other nuget source? Or just use nuget source? dotnet tool install -g Volo.Abp.Cli --add-source https://api.nuget.org/v3/index.json

  • User Avatar
    0
    shobhit created

    Thanks @maliming. This problem solved.

    Now "abp login mhd_hmz" is not able to login. Error message indicate that abp commercial license is not available but till now we have only 2 dev license. One i am using and this is 2nd license for my another team member.

    Please help.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you try this?

    abp login mhd_hmz --organization "Projile Corporation"
    
  • User Avatar
    0
    shobhit created

    hi @maliming, Please find the error message screen shot.

  • User Avatar
    0
    shobhit created

    Hi Team, My team is blocked as i am not able to start with ABP setup. Can someone help me on urgent basis.

  • User Avatar
    0
    alper created
    Support Team Director

    ok the problem is "mhd_hmz" user is assigned to your inactive organization "Projile" and you are using "Projile Corporation". we added the user "mhd_hmz" to the "Projile Corporation" organization

    try the command and it will work

    abp login mhd_hmz -p <your-password>
    
  • 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 November 18, 2024, 05:54