15
4

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 3 years have passed since last update.

VSCodeでYAMLを編集してたらIncorrect type. Expected "string".

Posted at

問題

VSCodeでHexoの設定ファイルの_config.ymlを編集していたら,特に変なことはしていないのだが,

Incorrect type. Expected "string".

とエラーが出てしまった.

解決策

VSCodeの設定で"yaml.schemaStore.enable"falseにする

"yaml.schemaStore.enable": false

もしくはGUIの方から

ここのチェックを外す

スクリーンショット 2020-10-03 19.53.52.png

参考

Incorrect type. Expected "string"

誰かの参考になれば

15
4
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
15
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?