© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
BazziteB
Bazzite•8mo ago•
18 replies
larvs

"ujust upgrade" error msg

Im getting the following output when trying to perform a ujust upgrade or a ujust update cmd.

── 19:30:41 - Node Package Manager ─────────────────────────────────────────────
npm error code EEXIST
npm error syscall symlink
npm error path ../../../lib/node_modules/npm/man/man7/package-spec.7
npm error dest /var/home/linuxbrew/.linuxbrew/share/man/man7/package-spec.7
npm error errno -17
npm error EEXIST: file already exists, symlink '../../../lib/node_modules/npm/man/man7/package-spec.7' -> '/var/home/linuxbrew/.linuxbrew/share/man/man7/package-spec.7'
npm error File exists: /var/home/linuxbrew/.linuxbrew/share/man/man7/package-spec.7
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/hlong/.npm/_logs/2025-06-25T18_30_41_919Z-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
── 19:30:41 - Node Package Manager ─────────────────────────────────────────────
npm error code EEXIST
npm error syscall symlink
npm error path ../../../lib/node_modules/npm/man/man7/package-spec.7
npm error dest /var/home/linuxbrew/.linuxbrew/share/man/man7/package-spec.7
npm error errno -17
npm error EEXIST: file already exists, symlink '../../../lib/node_modules/npm/man/man7/package-spec.7' -> '/var/home/linuxbrew/.linuxbrew/share/man/man7/package-spec.7'
npm error File exists: /var/home/linuxbrew/.linuxbrew/share/man/man7/package-spec.7
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/hlong/.npm/_logs/2025-06-25T18_30_41_919Z-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
image.png
Solution
try switching to nvm instead, using the official guide on node's website
https://nodejs.org/en/download
Node.js — Download Node.js®
Node.js® is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts.
Node.js — Download Node.js®
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 upgrade fails
BazziteBBazzite / 🛟bazzite-help
14mo ago
Emergency Mode after ujust upgrade
BazziteBBazzite / 🛟bazzite-help
9mo ago
Error running ujust upgrade - more space needed on filesystem
BazziteBBazzite / 🛟bazzite-help
11mo ago
VSCode podman broken after `ujust upgrade`
BazziteBBazzite / 🛟bazzite-help
2mo ago