While installing hugo 0.80 on my Apple Macbook Pro, I faced "fix hugo error:pipe failed" error message. After spending 10 minutes,I was lucky to fix the issue by running the below sets of CLIs:
sudo launchctl limit maxfiles 65535 200000
ulimit -n 65535
sudo sysctl -w kern.maxfiles=100000
sudo sysctl -w kern.maxfilesperproc=65535
hugo server
Start building sites …
| FA | NO | EN
-------------------+----+----+-----
Pages | 18 | 76 | 20
Paginator pages | 0 | 0 | 0
Non-page files | 3 | 1 | 2
Static files | 38 | 38 | 38
Processed images | 7 | 2 | 4
Aliases | 3 | 0 | 0
Sitemaps | 2 | 1 | 1
Cleaned | 0 | 0 | 0
Built in 522 ms
Watching for changes in /Users/ajeetraina/projects/community/{assets,content,layouts,package.json,themes}
Watching for config changes in /Users/ajeetraina/projects/community/config.toml, /Users/ajeetraina/projects/community/themes/docsy/config.toml
Environment: "development"
Serving pages from memory
Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender
Web Server is available at //localhost:1313///community/ (bind address 127.0.0.1)
Press Ctrl+C to stop
Enjoy!