#383

examples pull fails on Windows: safe destination storage unsupported on win32

Openlizliz404opened 2mo ago

Environment

  • Windows 11, PowerShell 5.1, Node v22.18.0
  • CLI: npx -y vgpu → vgpu 0.3.1
  • The runtime itself is healthy on this machine: npx vgpu check acquires a real device ("validation": { "attempted": true, "ok": true }) and headless rendering via vgpu/node (Dawn) works, including target.read() pixel assertions.

Steps

npx -y vgpu examples pull black-hole --out ./vgpu-blackhole

Result

{"error":{"code":"VGPU-EXAMPLES-FILESYSTEM","message":"Safe destination storage is unsupported on win32"}}

Non-zero exit; no files written.

Expected

examples pull writes the example manifest + files into --out on Windows, same as on macOS/Linux.

Notes

  • examples search "black hole" works fine on the same machine and shell, so the registry/API path is reachable. This looks like the safe-destination resolution lacking a win32 branch rather than a broken environment.
  • Workaround that worked for me: git clone --depth 1 https://github.com/vercel-labs/vgpu and copy from apps/docs/examples/<slug>, then validate locally with npx vgpu check <file.wgsl>.
  • Happy to test a fix on this Windows setup.

Activity

0

No activity yet.