© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
BazziteB
Bazzite•17mo ago•
10 replies
n1ete

ujust update npm failing

ujust update
── 18:10:31 - Node Package Manager ─────────────────────────────────────────────
npm error code EEXIST
npm error syscall symlink
npm error path ../../../lib/node_modules/npm/man/man5/package-json.5
npm error dest /var/home/linuxbrew/.linuxbrew/share/man/man5/package-json.5
npm error errno -17
npm error EEXIST: file already exists, symlink '../../../lib/node_modules/npm/man/man5/package-json.5' -> '/var/home/linuxbrew/.linuxbrew/share/man/man5/package-json.5'
npm error File exists: /var/home/linuxbrew/.linuxbrew/share/man/man5/package-json.5
npm error Remove the existing file and try again, or run npm
npm error with --force to overwrite files recklessly.
npm error A complete log of this run can be found in: /home/n1ete/.npm/_logs/2024-10-02T16_10_31_775Z-debug-0.log
npm failed: 
   0: Command failed: `/home/linuxbrew/.linuxbrew/bin/npm update '--location=global'`
   1: `/home/linuxbrew/.linuxbrew/bin/npm` failed: exit status: 239

Location:
   src/steps/node.rs:102
Retry? (y)es/(N)o/(s)hell/(q)uit
── 18:10:31 - Node Package Manager ─────────────────────────────────────────────
npm error code EEXIST
npm error syscall symlink
npm error path ../../../lib/node_modules/npm/man/man5/package-json.5
npm error dest /var/home/linuxbrew/.linuxbrew/share/man/man5/package-json.5
npm error errno -17
npm error EEXIST: file already exists, symlink '../../../lib/node_modules/npm/man/man5/package-json.5' -> '/var/home/linuxbrew/.linuxbrew/share/man/man5/package-json.5'
npm error File exists: /var/home/linuxbrew/.linuxbrew/share/man/man5/package-json.5
npm error Remove the existing file and try again, or run npm
npm error with --force to overwrite files recklessly.
npm error A complete log of this run can be found in: /home/n1ete/.npm/_logs/2024-10-02T16_10_31_775Z-debug-0.log
npm failed: 
   0: Command failed: `/home/linuxbrew/.linuxbrew/bin/npm update '--location=global'`
   1: `/home/linuxbrew/.linuxbrew/bin/npm` failed: exit status: 239

Location:
   src/steps/node.rs:102
Retry? (y)es/(N)o/(s)hell/(q)uit

deleting the symbolic link doesnt help, any idea whats causing this and how to fix?
Solution
Either run
/home/linuxbrew/.linuxbrew/bin/npm update '--location=global' --force
/home/linuxbrew/.linuxbrew/bin/npm update '--location=global' --force
or just disable npm update from topgrade
Jump to solution
BazziteJoin
The operating system for the next generation of gamers.
29,482Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

ujust update failing with strange polkit errors
BazziteBBazzite / 🛟bazzite-help
6mo ago
Errors during ujust-update
BazziteBBazzite / 🛟bazzite-help
13mo ago
Cannot use ujust update
BazziteBBazzite / 🛟bazzite-help
15mo ago
Unable to update using ujust update
BazziteBBazzite / 🛟bazzite-help
14mo ago