panpipe icon indicating copy to clipboard operation
panpipe copied to clipboard

Rambo error when running pandoc function

Open jacmacmod opened this issue 4 years ago • 2 comments

When I run Pandoc:

Panpipe.pandoc("# Example doc", to: :html)

I am seeing this error: sh: line 0: exec: /project/_build/dev/lib/rambo/priv/rambo: cannot execute: No such file or directory {:error, "rambo exited with 126"}

jacmacmod avatar Mar 17 '22 08:03 jacmacmod

Are you running on a Mac with a M1? Then you're probably running into this issue: https://github.com/jayjun/rambo/pull/13

The (hopefully temporary) solution mentioned there, worked for me:

It only worked for me when I added :rambo to my list of compilers in my project's mix.exs

marcelotto avatar Mar 17 '22 11:03 marcelotto

I am running on a mac with m1. Thank you😇

jacmacmod avatar Mar 18 '22 00:03 jacmacmod