-
-
Notifications
You must be signed in to change notification settings - Fork 482
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] NPM packages fail to update #3214
Comments
Please try to upgrade via terminal, and see if this still fails. |
I'm not particularly familiar with NPM which isn't helping. Interestingly, I don't see Svelte or Cli listed globally with the following command, so there's nothing to manually update:
I've run Looking at the log above there's I don't use NPM so I don't think its configuration would've changed. Hmm, here's Cli and Svelte. I probably installed the two via UniGetUI some months ago. Why do they get installed to
Running
Thanks. |
If running npm update gives the same output, I am afraid this issue has nothing to do with UniGetUI |
@marticliment But why are these packages (modules) installed under UniGetUI's C:\Program Files installation path in the first place? UniGetUI must've installed them there. I don't see why UniGetUI should install them there instead of where NPM installs packages normally. After some further testing, I cannot even install any new NPM packages using UniGetUI. Same lack of permissions error. Installing packages directly via I have deleted I'm not convinced this is an NPM issue. |
I have no such folder on C:\Program Files\UniGetUI, and I have just tested installing UniGetUI on a disposable VM and I don't see any node_modules nor packages.json folder. In fact, those folders are not bundled on the installer, so I don't see how they did get created. If you don't use NPM, you should disable it from UniGetUI Settings |
@marticliment An old, bugged version of UniGetUI would've installed / copied the NPM packages to its installation directory is my guess, but who knows. I understand that you have many UniGetUI issues, and limited time, but disabling NPM from being used is not a solution to this problem. I found another The issue remains however that UniGetUI cannot update or install any NPM packages for some reason. If I could figure out why UniGetUI still causes NPM to try and install new packages to Attempting to install powershell.exe:
node.exe:
It looks like the issue is as simple as UniGetUI is attempting to install NPM packages without the Can you please verify whether or not UniGetUI is passing a global install command to NPM? From the above info, the commands show no UniGetUI's NPM (Verbose) logs contain no errors. |
I will check this, it could be some edge case |
Please confirm these before moving forward
UniGetUI Version
3.1.6-beta2
Windows version, edition, and architecture
Windows 11 Pro
Describe your issue
Not sure when this started, either with the current stable, or since the current beta 1, but I can't seem to update NPM packages anymore.
Steps to reproduce the issue
UniGetUI Log
Package Managers Logs
Relevant information
"Svelte" package update attempt:
(Same output for) "Cli" (Tauri) package update attempt:
The full NPM log as mentioned in the output above for the "Cli" package:
Trying to update "Cli" as admin:
Doesn't appear to be blocked in any way via my firewall.
Screenshots and videos
No response
The text was updated successfully, but these errors were encountered: