Right Stuff를 로컬에서 실행하려는 시도에서는 린팅이 작동하지만, GitHub에서는 다음과 같은 오류가 발생합니다:
Run yarn install --frozen-lockfile
error This project's package.json defines "packageManager": "yarn@pnpm@9.15.5". However the current global version of Yarn is 1.22.22.
Presence of the "packageManager" field indicates that the project is meant to be used with Corepack, a tool included by default with all official Node.js distributions starting from 16.9 and 14.19.
Corepack must currently be enabled by running corepack enable in your terminal. For more information, check out https://yarnpkg.com/corepack.
이것은 “install JS Dependencies” 단계에서 발생하는 것이므로, 제가 한 일 때문에 이런 문제가 생기는 것 같지는 않습니다.
맞아요. 그걸 기억하려고 노력하고 있지만, 아직 자동화되지는 않았거든요. 약 30%의 경우에만 그렇게 하고 있습니다.
이제 이런 오류가 나요:
Run pnpm install --frozen-lockfile
ERR_PNPM_LOCKFILE_CONFIG_MISMATCH Cannot proceed with the frozen installation. The current "settings.autoInstallPeers" configuration doesn't match the value found in the lockfile
Update your lockfile using "pnpm install --no-frozen-lockfile"
그래서 지시대로 했더니, 이번에는 이런 오류가 나요:
Run bundle install
Don't run Bundler as root. Installing your bundle as root will break this
application for all non-root users on this machine.
Could not locate Gemfile
이게 우리가 필요한 거죠? 알고 보니 stylelint.config.mjs가 오래된 상태였네요. 그래서 그건 해결됐습니다.
어쨌든, 아직
ERR_PNPM_LOCKFILE_CONFIG_MISMATCH Cannot proceed with the frozen installation. The current "settings.autoInstallPeers" configuration doesn't match the value found in the lockfile