Greetings Good People,
I’m new to Hugo (a week ago) so please forgive what must be a noob question. I’m on a Windows 10 machine.
I was following a tutorial and installed hugo with the package manager Scoop.
At some point I followed another tutorial on installing Hugo Extended with Chocolately (which is installed with JSON installation). I believe I originally installed Hugo v0.89.1 and somewhere in there I updated to 89.4 but don’t recall how.
Originally, when I did a hugo server
I would see that Hugo-Extended was running.
However, at some point I lost the Extended and when I stop and start the Hugo server now I get the plain vanilla Hugo. I suspected that I might somehow have multiple copies of Hugo installed so I did a where hugo
which returned the following:
C:\ProgramData\chocolatey\bin\hugo.exe
C:\Users\myUserName.MyDomain\scoop\shims\hugo.exe
D:\Hugo\bin\hugo.exe
It is possible that the D: installation came from npm.
The D: drive is where I have my HugoSites projects installed
I know how to uninstall Hugo using Scoop (and Chocolately) command but I’m not sure where the
D:\Hugo\bin\hugo.exe came from.
What I want to get to is ONE INSTALLATION of Hugo Extended (preferably by Chocolatey).
Can anyone help clear up my confusion, please? Thanks in advance.
###################
UPDATE
###################
I tried scoop uninstall hugo
and got the ERROR: ‘hugo’ isn’t installed.
Running scoop uninstall hugo-extended
worked (uninstall successful).
Then I tried chcolatey uninstall hugo-extended
and got:
hugo-extended is not installed
So then I tried: chocolatey uninstall hugo
and got:
Chocolatey v0.11.3
Uninstalling the following packages:
hugo
hugo v0.89.4
This is try 1/3. Retrying after 300 milliseconds.
Error converted to warning:
Access to the path 'C:\ProgramData\chocolatey\bin\hugo.exe' is denied.
This is try 2/3. Retrying after 400 milliseconds.
Error converted to warning:
Access to the path 'C:\ProgramData\chocolatey\bin\hugo.exe' is denied.
Maximum tries of 3 reached. Throwing error.
hugo not uninstalled. An error occurred during uninstall:
Access to the path 'C:\ProgramData\chocolatey\bin\hugo.exe' is denied.
Chocolatey uninstalled 0/1 packages. 1 packages failed.
I’ve gotten this same “denied” error in Powershell and CMD (both run as Administrator).
where hugo
now shows only the chocolatey and D: installations