rickbrenn / refit

A CLI tool for easily managing dependency updates 📦
MIT License
10 stars 0 forks source link

Does not work on Windows #4

Open 2dragonly opened 2 weeks ago

2dragonly commented 2 weeks ago

I get Error: spawn EINVAL running it on Windows

E:\website>pnpm dlx refit
Packages: +254
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 254, reused 0, downloaded 254, added 254, done

  ERROR  spawn EINVAL

 Error: spawn EINVAL
     at ChildProcess.spawn (node:internal/child_process:420:11)
     at spawn (node:child_process:759:9)
     at z
 (file:///C:/Users/Admin/AppData/Local/pnpm-cache/dlx/nx4qnwa7aakaopskjhi22hqide/19301d4a7de-e5ec/node_modules/.pnpm/refit@1.0.2/node_modules/refit/dist/main.bundle.js:1:2203)
     at Module.me
 (file:///C:/Users/Admin/AppData/Local/pnpm-cache/dlx/nx4qnwa7aakaopskjhi22hqide/19301d4a7de-e5ec/node_modules/.pnpm/refit@1.0.2/node_modules/refit/dist/main.bundle.js:1:9151)
     at Xe (file:///C:/Users/Admin/AppData/Local/pnpm-cache/dlx/nx4qnwa7aakaopskjhi22hqide/19301d4a7de-e5ec/node_modules/.pnpm/refit@1.0.2/node_modules/refit/dist/main.bundle.
 js:1:17492)
     at Ye (file:///C:/Users/Admin/AppData/Local/pnpm-cache/dlx/nx4qnwa7aakaopskjhi22hqide/19301d4a7de-e5ec/node_modules/.pnpm/refit@1.0.2/node_modules/refit/dist/main.bundle.
 js:1:19177)
     at async
 file:///C:/Users/Admin/AppData/Local/pnpm-cache/dlx/nx4qnwa7aakaopskjhi22hqide/19301d4a7de-e5ec/node_modules/.pnpm/refit@1.0.2/node_modules/refit/dist/main.bundle.js:1:19950
rickbrenn commented 2 weeks ago

What terminal are you using on Windows? I'll see if I can reproduce and fix the issue.

2dragonly commented 2 weeks ago

i tried on cmd and powershell core.