gitbook-cli | GitBook 's command line interface | Command Line Interface library
kandi X-RAY | gitbook-cli Summary
kandi X-RAY | gitbook-cli Summary
GitBook's command line interface
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of gitbook-cli
gitbook-cli Key Features
gitbook-cli Examples and Code Snippets
Community Discussions
Trending Discussions on gitbook-cli
QUESTION
When executing any gitbook
command in the terminal, the following error is thrown:
ANSWER
Answered 2020-Oct-05 at 15:18The issue was originally a problem inside graceful-fs
but they solved it in this commit I believe.
The problem is that GitBook is still using outdated dependencies that pull in versions of graceful-fs without the fix.
The solution I found was to update graceful-fs
inside gitbook like this:
If you've installed gitbook globally by doing npm install -g gitbook-cli
then your path in macOS should be something like /usr/local/lib/node_modules/gitbook-cli/node_modules/npm/node_modules
. Your path may differ depending on your OS or installation location.
Run this:
QUESTION
There is a simple procedure to put buttons for copying code of gitbooks. What would be the way to do that in a bookdown?
...ANSWER
Answered 2019-Sep-20 at 15:36We just added the Copy
button in the development version of bookdown. You may test it via
QUESTION
Installed the gitbook and gitbook-cli modules, because of an incompatibility problem, multiple versions are installed, how to switch the package version of the module ?
demo:
$ gitbook ls
GitBook Versions Installed:
* 3.2.3
3.1.1
3.1.0
3.0.3
3.0.0
2.6.7
2.6.6
2.6.4
2.5.0
2.3.2
2.1.0
2.0.0
Run "gitbook update" to update to the latest version.
ANSWER
Answered 2017-Sep-28 at 04:00According to Documentation,
By default, GitBook CLI will read the gitbook version to use from the book configuration, but you can force a specific version using --gitbook option:
QUESTION
after i install the nodejs and npm , gitbook-cli ,there is an error.like this:
...ANSWER
Answered 2017-Jul-12 at 08:20As this answer explain, const
support is not enabled by default in node.js version 0.10 and require --harmony
flag if you want to use it.
As this version of fs-extra package use const
keyword in his index.js file, you got this error.
You can have a look at this compatibility table for a summary for const
and let
support by version.
Just upgrade your node.js version to solve this issue.
Also, I don't think it is a good idea to launch gitbook as root user.
QUESTION
I'm trying to follow a simple tutorial found on Udemy. For some reason the example code is working (probably because the tutorial is slightly out of date). I've done some googling about
Here is the output when trying to start the server.
...ANSWER
Answered 2017-Mar-31 at 14:53Its evident from the error that you cannot define multiple loaders
inside loaders
, since you have declared loaders
inside loaders
whereas it should be loader
and assigned a single value. Also install and use babel-presets for react
, es2015
, stage-0
if you use ES6 like
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gitbook-cli
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page