Yarn.lock not found

I’ve a nodejs repo with a file structure containing:


the CI scripts contains:

- run: yarn install

in the logs i have:

info No lockfile found.
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn.

and for some reason, i’ve a call to tsc in the step too (post install maybe?)

I couldn’t reproduce this locally, or when ssh-ing inside the runner.

I’m using cimg/base:stable + orb circleci/node@5.0.2 (latest) ; i’ve tried with cimg/node@14.17 as well, same output. I’m clueless how to debug this and how to make it work. there’s voodoo in there.

PS : there’s a store cache key computed by checksum of the generated yarn.lock, but the job depending can’t restore the cache key because “~/project/yarn.lock not found” even though it’s here when i ls -al it ; and yes i do the checkout before restore :wink: