Skip to content

Commit 4061bb6

Browse files
committed
downgrade node.js to v5 for support build pdf #1
1 parent 3ec4f2c commit 4061bb6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ Need the package fo git, make, node.js, npm and gitbook-cli.
1414
# Ubuntu.
1515
$ sudo apt-get install nodejs npm
1616

17+
1. Install [n](https://github.com/tj/n) with npm.
18+
19+
$ sudo npm install n -g
20+
21+
1. Downgrade node.js to v5.12.0. (see [Build error with node v6 · Issue #1](https://github.com/chusiang/how-to-build-the-gitbook-with-gitbook-cli/issues/1))
22+
23+
$ n 5.12.0
24+
1725
1. Install gitbook-cli package.
1826

1927
$ sudo npm install -g gitbook-cli

0 commit comments

Comments
 (0)