Closed yaner-here closed 3 months ago
部署大型Node项目的时候记得避开Windows,或许Mac或者Linux是不错的选择。
大規模なNodeプロジェクトをデプロイする際には、Windowsを避けてください。MacまたはLinuxが良い選択かもしれません。
When deploying a large Node project, be sure to avoid Windows. Mac or Linux might be a better choice.
@TNXG Thanks for replying. I created a new Github Codespace and everything worked, which exceeds my expectations. After inspecting the pnpm lockfile, I believe that there's a potential conflict indeed, but for some reason, it won't lead to error in some specific environments.
https://github.com/Innei/Shiro/blob/653cac2ee21b7ddb9f9fdc4ab1c4d53cb511db4e/pnpm-lock.yaml#L236-L238
https://github.com/Innei/Shiro/blob/653cac2ee21b7ddb9f9fdc4ab1c4d53cb511db4e/pnpm-lock.yaml#L4085-L4088
After upgrading my pnpm
, the problem has gone. Perhaps higher version of pnpm
doesn't follow peer dependencies very strictly? Who knows ㄟ( ▔, ▔ )ㄏ
PS C:\> pnpm --version
8.12.0
PS C:\> npm install pnpm -g
changed 1 package in 3s
PS C:\> pnpm --version
9.2.0
Describe the bug
Versions of
kbar
andreact
are hardcoded inpackage.json
. https://github.com/Innei/Shiro/blob/653cac2ee21b7ddb9f9fdc4ab1c4d53cb511db4e/package.json#L96 https://github.com/Innei/Shiro/blob/653cac2ee21b7ddb9f9fdc4ab1c4d53cb511db4e/package.json#L111Reproduction
pnpm install
System Info
Used Package Manager
pnpm
Validations