如何修复 pio remote agent start: You are not authorized! Please log in to PlatformIO Account.

问题:

运行

pio_remote_agent_start.sh
pio remote agent start

时你看到类似这样的错误消息

pio_remote_error_log.txt
2021-10-05 17:37:23 [info] Name: Raspberry Pi
2021-10-05 17:37:23 [info] Connecting to PlatformIO Remote Development Cloud
2021-10-05 17:37:23 [info] Successfully connected
2021-10-05 17:37:23 [info] Authenticating
2021-10-05 17:37:23 [error] You are not authorized! Please log in to PlatformIO Account.
2021-10-05 17:37:23 [info] Successfully disconnected

解决方案

你需要登录到你的 PlatformIO 账户。运行

pio_account_login.sh
pio account login

它将提示你输入用户名和密码。如果你没有账户,使用以下命令注册

pio_account_register.sh
pio account register

Check out similar posts by category: PlatformIO