gitbook安装及插件使用

来源:互联网 发布:好听的爱情句子知乎 编辑:程序博客网 时间:2024/06/05 14:25

打开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。

0 0
原创粉丝点击