LoginSignup
0
1

More than 5 years have passed since last update.

Gitbook v3.2.0 だと serve=>watch がうまくいかなかった@windows

Posted at

Gitbook 触ってみました(いまさら)

環境は Windows10

$ node -v
6.2.0
$ npm -v
3.10.1

な感じです。タイトル通りでうまくいかなかった。

serveするがwatchでリビルドしない

serve してからファイル更新すると、

Stopping server

Error: EPERM: operation not permitted, mkdir 'C:\Users\xxxxx\xxxxx\_book'

コマンドプロンプトを管理者権限で起動などいろいろしてみたがダメ。

解決策:v3系だと上手くいかないので、gitbook fetch 2.6.7 してから、gitbook serve --gitbook=2.6.7 する。

styles-sass プラグインが古い

にある通り。

node-sass ビルドできなくて使えない。nodeのバージョン、4系にしたらうまくビルドした。そしてこのプラグイン、watchでビルドとかしてくれないのを知り白目になる。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1