Repository navigation
Replies: 1 comment
|
不用 WSL,我在 Windows 上直接用 PowerShell 就能 pnpm install 跟跑測試。 報錯的話先看 Node 和 pnpm 版本。Node 要 24.12 以上(.node-version 寫 24.18.1),pnpm 要用 package.json 鎖的 12.6.0, 另一個 Windows 常卡的是符號連結,repo 裡有用 symlink 同步的檔案。要先開開發人員模式(Win10 在 設定 → 更新與安全性 → 開發人員專用),再 如果錯誤裡有 node-gyp,就是缺 Visual Studio Build Tools(C++ 桌面開發那個)。 還是不行的話把第一段錯誤貼上來看看。 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
没装WSL,pnpm install,报错挺多啊
All reactions