It seems pnpm-lock.yaml generated via pnpm version grater that 9 since there is lockfileVersion: '9.0' in its first line.
It doesn't work with pnpm version lower than 9 so I added packageManager key to package.json. If you run corepack enable it will automatically use package manager from packageManager key.
It seems
pnpm-lock.yaml
generated via pnpm version grater that9
since there islockfileVersion: '9.0'
in its first line. It doesn't work with pnpm version lower than 9 so I addedpackageManager
key topackage.json
. If you runcorepack enable
it will automatically use package manager frompackageManager
key.