laze icon indicating copy to clipboard operation
laze copied to clipboard

Laze import fails: "git: 'cache' is not a git command"

Open elenaf9 opened this issue 8 months ago • 0 comments

I tried to import another laze file in my laze-project:

imports:
  - git:
      url: https://github.com/future-proof-iot/RIOT-rs
      commit: 3880b249564a249d6cd52b5aedc52597d35882bb
apps:
  - name: hello-world
    selects:
      - ?release

This fails with:

...
laze: reading cache: No such file or directory (os error 2)
IMPORT Git https://github.com/future-proof-iot/RIOT-rs:3880b249564a249d6cd52b5aedc52597d35882bb -> build/imports/RIOT-rs-15100188751454132781
git: 'cache' is not a git command. See 'git --help'.
laze: error: could not import from git url: https://github.com/future-proof-iot/RIOT-rs commit: 3880b249564a249d6cd52b5aedc52597d35882bb

Is this a bug or am I missing something in my laze file?

elenaf9 avatar May 31 '24 11:05 elenaf9