windows git bash shell
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- node.js
- Domain
- cli, operating-systems
Research direction
Reproduce sfw npm update in Git Bash on Windows and inspect dist/sfw.mjs, especially trySymlinkLatest and downloadAndVerifyReleaseSync, where the stack trace reports the failure. Determine the expected Windows behavior for the .sfw-cache/latest path, then verify that the update completes successfully without the reported EPERM error.
Written by the indexing model from the issue text.
Description
Running in MIGW64 provided by git for windows
sfw npm update
/ downloading latest sfw binary...Failed to create latest symlink: Error: EPERM: operation not permitted, symlink 'C:\Users\nik\AppData\Roaming\npm\node_modules\sfw.sfw-cache\v0.12.22\sfw-free-windows-x86_64.exe' -> 'C:\Users\nik\AppData\Roaming\npm\node_modules\sfw.sfw-cache\latest'
at Object.symlinkSync (node:fs:1890:11)
at trySymlinkLatest (file:///C:/Users/nik/AppData/Roaming/npm/node_modules/sfw/dist/sfw.mjs:2232:9)
at downloadAndVerifyReleaseSync (file:///C:/Users/nik/AppData/Roaming/npm/node_modules/sfw/dist/sfw.mjs:2259:5)
at async ensureLatestBinary (file:///C:/Users/nik/AppData/Roaming/npm/node_modules/sfw/dist/sfw.mjs:2279:12)
at async main (file:///C:/Users/nik/AppData/Roaming/npm/node_modules/sfw/dist/sfw.mjs:2294:20) {
errno: -4048,
code: 'EPERM',
syscall: 'symlink',
path: 'C:\Users\nik\AppData\Roaming\npm\node_modules\sfw\.sfw-cache\v0.12.22\sfw-free-windows-x86_64.exe',
dest: 'C:\Users\nik\AppData\Roaming\npm\node_modules\sfw\.sfw-cache\latest'
}
- Dominant language
- No language data
- Stars
- 271
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
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.
More from SocketDev/sfw-free
-
Difficulty 1/5 Under an hour Newbie friendliness 87/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
All issues in SocketDev/sfw-free
Similar issues
-
manually bump balena-preload to ^19.0.6Possibly taken @shaunmulligan claimed this today. Open
Difficulty 1/5 1-3 hours Newbie friendliness 66/100
balena-io/balena-cli#3200 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
Maintainers usually reply within 1 day
-
[Bug] `bili -c <name> sessions/storage/export` 无视配置文件 — 静默用默认会话目录 | config flag ignored by store lanesPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
ranxianglei/billion-context#7858 ·
Maintainers usually reply within 1 day
-
Bash init calls `cygpath` unconditionally on Windows, which breaks non-Cygwin shells like `brush`Possibly taken @iliqiliev claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ajeetdsouza/zoxide#1381 ·
Maintainers usually reply within 5 days
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
MakazhanAlpamys/Soup#3415 ·
Maintainers usually reply within 1 day