打开bitnami node.js 栈,打开npm下载安装gitbook。
E:\gitbook>gitbook init
You need to install "gitbook-cli" to have access to the gitbook command anywhere on your system.
If you've installed this package globally, you need to uninstall it.
>> Run "npm uninstall -g gitbook" then "npm install -g gitbook-cli"
安装完后出现这个。可能是重复安装导致的。
但是卸载再次安装之后还是不能使用。
发现是命令行中 -g gitbook-cli 中间不能有空格。
最终成功在4000端口中运行出gitbook。