'Bitbake rpi-basic-image Error ninja-build

I'm learning Yocto project. Started creating an image for Raspberry Pi 4. I ran bitbake rpi-basic-image and got an error:

fatal: repository '/PATH/yocto/rpi64-build/downloads/git2/github.com.ninja-build.ninja.git/' does not exist

but when i run bitbake -c menuconfig virtual/kernel everything dowloads and works fine.

I didn't find anything about it.



Solution 1:[1]

Can you share more of the build log? It looks like a previous download of ninja has been manually previously deleted, try deleting *ninja-build* in downloads/ and downloads/git/.

Solution 2:[2]

files tree screenshot

terminal screenshot

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Ross Burton
Solution 2 Andrew