Open M-Arnone opened 5 months ago
The solution was to :
1. Remove the current version of Hugo
If you did it with apt just do
sudo apt-get remove --purge hugo
If you did it manually :
sudo rm /usr/local/bin/hugo
sudo rm -rf /usr/local/share/hugo
2. Build Hugo from source (I'm on Mint)
Note : This will install the extended version of Hugo.
wget https://github.com/gohugoio/hugo/releases/tag/v0.126.1/hugo_0.126.1_linux-arm64.deb sudo dpkg -i hugo_0.126.1_linux-arm64.deb
3. Install 3 npm packages :
npm install postcss-cli
npm install autoprefixer
npm install postcss-import
I tried to installed Hugo from source and from apt but didn't work.
Environment variables
And I followed this tutorial to install the extended edition of Hugo.
I'm on Linux Mint 21.3 x86_64