Open Closed

missing access-token.bin errors with new install #7566


User avatar
0
Raff created

I've tried installing the ABP CLI onto a fresh install of windows using the documentation at: https://abp.io/docs/latest/CLI#help

after running: dotnet tool install -g Volo.Abp.Studio.Cli It installed correctly, but won't let me login

using the login command: abp login <username> -p <password> I get the following error:

[16:40:50 INF] ABP CLI 0.7.1 (Beta) [16:40:50 INF] You are running the second generation of the ABP CLI. If you're interested in the legacy CLI, see https://abp.io/new-cli [16:40:51 INF] Checking extensions... [16:40:52 ERR] Could not find a part of the path 'C:\Users\Raff.abp\cli\access-token.bin'.

I've also installed ABP Studio, when I start it and try to login, I get the same message about the missing access-token.bin

After checking the c:\users directory I can see the .abp\cli directory doesn't exist and there is only a .abp\Studio directory, but no access-token exists after searching through the Studio files

How can I get the required access token to be able to login?

Regards Raff


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

    could you try install abpstudio and login with it again?

  • User Avatar
    0
    Raff created

    I uninstalled ABP Studio, restarted windows, then installed ABP Studio again. This seems to have fixed the missing access-token.bin issue, the file now exists and the login works.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    great

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on July 11, 2025, 11:35