0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

'the use of tab(s) \'\\t\' in source data isn\'t currently supported, please contact makers'

Posted at

概要

api blueprintで書いたAPI仕様書をmockサーバーとして立ち上げるときに、発生したエラーについて。

動作環境

Mac OS Mojave 10.14.2
node v9.3.0
drakov ^1.0.4

エラー

drakovを立ち上げるときに次のようなエラーが出て対処方法にちょっと手間取りました。

'the use of tab(s) \'\\t\' in source data isn\'t currently supported, please contact makers'

蓋を開けてみると単純なことですが、drakovでは、現在のところ参照する.md(または.apib)ファイルのなかにtabで作ったスペースがあるとうまく起動しません

解決方法

.mdファイルの中のtabで作った空白をスペースで置き換えます。

vimを使っている人なら次のコマンドでtabの空白を排除することができます。

:%s/	/

.mdファイルからtabの空白を全て削除できたら、うまく作動しました!

0
0
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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?