Change in R or Blogdown will not let me serve my website

I've been using blogdown and followed this fantastic article for publishing my own website. After installing R on a new computer and cloning my repo, I'm no longer able to serve my site using blogdown::serve_site()

The stack trace is below. I don't understand this error and can't find anything related online.

> blogdown::serve_site()
Launching the server via the command:
  /Users/marshall.krassenstein/Library/Application Support/Hugo/0.88.1/hugo server --bind 127.0.0.1 -p 4321 --themesDir themes -t starter-hugo-academic -D -F --navigateToChanged
Error: fatal error: pipe failed

goroutine 1 [running]:
runtime.throw(0x600d7d9, 0xb)
	/usr/local/go/src/runtime/panic.go:1117 +0x72 fp=0xc009053878 sp=0xc009053848 pc=0x40390f2
runtime.sigNoteSetup(0x72e2ba0)
	/usr/local/go/src/runtime/os_darwin.go:98 +0xc5 fp=0xc0090538a0 sp=0xc009053878 pc=0x40355e5
os/signal.signal_enable(0xcceffb4f00000002)
	/usr/local/go/src/runtime/sigqueue.go:228 +0xa5 fp=0xc0090538c0 sp=0xc0090538a0 pc=0x406f3e5
os/signal.enableSignal(...)
	/usr/local/go/src/os/signal/signal_unix.go:49
os/signal.Notify.func1(0x2)
	/usr/local/go/src/os/signal/signal.go:145 +0x88 fp=0xc0090538e0 sp=0xc0090538c0 pc=0x597df28
os/signal.Notify(0xc00850aea0, 0xc009053b20, 0x2, 0x2)
	/usr/local/go/src/os/signal/signal.go:165 +0x185 fp=0xc009053958 sp=0xc0090538e0 pc=0x597d945
github.com/gohugoio/hugo/commands.(*commandeer).serve(0xc000537340, 0xc000154540, 0x0, 0xc00b6b2000)
	/root/project/hugo/commands/server.go:508 +0x629 fp=0xc009053b50 sp=0xc009053958 pc=0x59b4029
github.com/gohu

After more googling, I stumbled onto this: Too many files (only on non root user) - support - HUGO

Hope it helps anyone else who has run into this problem!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.