Git Product home page Git Product logo

Comments (3)

jtcmedia avatar jtcmedia commented on June 3, 2024 12

This appears to be an issue with gitbook-cli: GitbookIO/gitbook-cli#110.
It has a dependency on an older version of graceful-fs where this problem hasn't been resolved for Node 12. gitbook-cli is deprecated so this won't get fixed but judging from the comments, it looks like there is an effort to maintain a fork of it. I modified the build script in this repo to downgrade to Node 10 and built the books here.

from typescript-book.

wilitp avatar wilitp commented on June 3, 2024 3

I made a Dockerfile that builds and image containing the output in /output/.

FROM node:10

RUN apt update
RUN apt install calibre-bin -y
RUN npm install -g gitbook-cli
WORKDIR /app/
COPY . .

RUN gitbook install
RUN mkdir /output

RUN gitbook mobi . /output/typescript-book.mobi`

Just make sure that the context for the image build is the root of the book's repo.

from typescript-book.

geekdenz avatar geekdenz commented on June 3, 2024 1

Built the book just now from master:

https://drive.google.com/drive/folders/1kBv2xzKssiQfrR6PED8rWPS2IFcoxGU6?usp=sharing

Hoping to make someone's life easier...

from typescript-book.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.