Error: pathspec 'null' did not match any file(s) known to git

Hi,
i’m trying to update to 8.7.3, when i try this command:

git checkout $(curl -s https://api.github.com/repos/input-output-hk/cardano-node/releases/latest | jq -r .tag_name)

I receive this error:
error: pathspec ‘null’ did not match any file(s) known to git

These are my conf:
ghcup --version:
The GHCup Haskell installer, version 0.1.20.0

ghc --version:
The Glorious Glasgow Haskell Compilation System, version 8.10.7

cabal --version:
cabal-install version 3.8.1.0
compiled using version 3.8.1.0 of the Cabal library

I also RUN:
git fetch
git checkout master
Already on ‘master’

I have already installed blst

Any IDEA? Help?
Thank you

Try

git checkout $(curl -s https://api.github.com/repos/IntersectMBO/cardano-node/releases/latest | jq -r .tag_name)

The cardano-node repo is on IntersectMBO now. The IOHK repo should be redirecting to it, but maybe not.

You can also just

git checkout tags/8.7.3

or whatever version you want.

it works! thank you…

the guide “coincashew” is wrong, needs an update to “IntersectMBO”

Yeah, I’ll do a request to fix that. It used to redirect but it might have changed.

1 Like