win11环境配置
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- powershell, shell
- Domain
- build-system, documentation
Research direction
Start by reading Makefile and scripts/build_web.sh, then reproduce make web in Windows PowerShell. Document the required make installation, Git shell environment, and Windows environment-variable setup; done when a Windows 11 user can follow the instructions to run the web build successfully.
Written by the indexing model from the issue text.
Description
问题1:powershell无make
(.venv) PS C:xxxxxxxxxxxxxxxxxxxxxx> make web
make : 无法将“make”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路径正确,然后再试一次。
所在位置 行:1 字符: 1
+ make web
+ ~~~~
+ CategoryInfo : ObjectNotFound: (make:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
【建议解决方案】
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
scoop install make
问题2:build_web.sh 是 Unix Shell 脚本,但 PowerShell 中没有 env / sh。
(.venv) PS C:xxxxxxxxx> make web
./scripts/build_web.sh
process_begin: CreateProcess(NULL, env sh C:\Users\bambo\Documents\Projects\whale-cli\scripts\build_web.sh, ...) failed.
make (e=2): ϵͳ������ָ�����ļ���
make: *** [Makefile:7: web] Error 2
【建议解决方案】使用git的sh
(Get-Command git).Source
$gitRoot = Split-Path (Split-Path (Get-Command git).Source)
$env:Path = "$gitRoot\usr\bin;$gitRoot\bin;$env:Path"
make web
问题3:win11的环境变量配置
$env:xxxx=xxxxx
- Dominant language
- HTML
- Stars
- 10
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Similar issues
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
priority: p3
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
googleapis/librarian#7636 ·
-
package-update
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
oSoWoSo/vOid_Community_repOsitory#147 · 1 comment ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
agentic-workflows cascade-suspected
Difficulty 1/5 Under an hour Newbie friendliness 88/100