Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error: resource not found ({} ) when running travis cli command

I am getting this message whenever I try to run a travis command.
This is the minimal reproducible example:

$ travis version
1.11.1
$ ruby -v
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [arm64-darwin22]
$ travis status
resource not found ({}
)

I am on macOS Ventura / Apple Silicon

I have tried different rub versions, reinstalled the Travis CLI, no success.

like image 634
de. Avatar asked Oct 16 '25 01:10

de.


1 Answers

After reaching out to travis support I got the suggestion to first log in using the travis cli like this:

travis login --pro --github-token GITHUB_PERSONAL_ACCESS_TOKEN

Where GITHUB_PERSONAL_ACCESS_TOKEN can be found on GitHub under:
Settings > Developer Settings > Personal access tokens

I could then perform my travis cli tasks without further errors.

While this solved my problem, I still consider this behaviour of the travis CLI a bug.

like image 61
de. Avatar answered Oct 19 '25 00:10

de.



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!