Closed jmMeessen closed 10 months ago
hey @jmMeessen, sorry to hear that. can you please tell me which OS you are using?
Thanks for looking into this with me, @tfsomrat
I am using Mac OS Sonoma 14.2.1 (23C71). So rather "run of the mill" I guess.
I am on the same OS, and I have downloaded your repo and tried it on my machine and some other machines. and everything works expectedly. I don't understand why it's not working on your machine.
So we can safely exclude something with the theme's code but rather something on my two laptops.
Just in case, are you using bash or zsh as default shell?
( I will the new update script during my lunch break or tonight. Am on UTC+1)
I am using ZSH, but I tried on default terminal of the mac as well
why don't you try running hugo mod clean --all && hugo mod get -u ./... && hugo mod tidy
This is indeed how I am investigating the issue (that is now confirmed to be a local issue). And the failing download is caused by the hugo mod get...
command.
Google articles with the error message point to a GO misconfiguration. I checked this and am puzzled as I am able to program in GO (have several programs published). I am investigating a Hugo misconfiguration: up to now I used a containerized Hugo distribution.
I am now a big step forward and know that the problem is local to my two laptops. But still scratching my head....
As mentioned in https://github.com/zeon-studio/hugoplate/issues/68#issuecomment-1874612105 , the command
npm run update-modules
fails withgo: malformed module path "hugoplate": missing dot in first path element
.I cloned a fresh copy of the hugoplate repo, ran
npm run project-setup
and thennpm install
. But the update-modules still fails with the same error 😞I am using up to date prerequisite I believe:
Any idea where to search to fix the theme update? Where is the theme module defined ?