比较符合我的疑点的讨论 yarn install changes yarn.lock file · Issue #4379 · yarnpkg/yarn · GitHub https://github.com/yarnpkg/yarn/issues/4147 Lockfiles should be committed on all projects | Yarn Blog