scoop解决WARN Token might be misconfigured. Response status code does not indicate success: 401 (Unauthorized).报错
scoop install main/aria2
WARN Purging previous failed installation of aria2.
ERROR 'aria2' isn't installed correctly.
Removing older version (1.37.0-1).
'aria2' was uninstalled.
Installing 'aria2' (1.37.0-1) [64bit] from 'main' bucket
WARN Token might be misconfigured.
Response status code does not indicate success: 401 (Unauthorized).
URL https://github.com/aria2/aria2/releases/download/release-1.37.0/aria2-1.37.0-win-64bit-build1.zip is not valid
最近重置了下scoop,安装软件时,出现上述报错,可用如下解决:
scoop config rm gh_token
git config --global --unset http.https://github.com/.extraheader
执行完毕可正常使用。