learn-julia-the-hard-way icon indicating copy to clipboard operation
learn-julia-the-hard-way copied to clipboard

make failed

Open iplayfast opened this issue 8 years ago • 3 comments

fresh install of ljthw and gitbook make returns gitbook build make: *** [_book/index.html] Error 1

Hate going down these rabbit holes.

iplayfast avatar Jun 07 '16 14:06 iplayfast

@iplayfast I didn't write the makefile or indeed any of the gitbook stuff..... so I can't fix this, I'm afraid.

Anyone is welcome to chip in ;)

chrisvoncsefalvay avatar Jun 25 '16 04:06 chrisvoncsefalvay

I hit this error too. After trying to recreate the book in a new file I and running gitbook init I received the error

/usr/bin/env: node: No such file or directory

Googling that error led me here. After running

ln -s /usr/bin/nodejs /usr/bin/node

I went back to the learn julia the hard way directory and ran make just fine.

Note that the compilation also requires calibre to be installed.

SteveBronder avatar Jan 21 '17 04:01 SteveBronder

You have to install the command line tools for calibre too:

ln -s /Applications/calibre.app/Contents/MacOS/ebook-convert /usr/local/bin

jnederlo avatar Feb 20 '18 00:02 jnederlo