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.

GraphiQLがフリーズした時にやること

Last updated at Posted at 2019-06-13
スクリーンショット 2019-06-13 14.17.13.png

GraphQLのアプリケーションを開発している時に
必須なデバッグツール「GraphiQL」(ぐらふぃーきゅーえる?)。
https://electronjs.org/apps/graphiql

たまにフリーズしてしまって使えなくなることがあるんです。

「GraphiQL freeze」とかで検索をしてみても中々答えが見つからず
多分キャッシュだろうなと思ったので、キャッシュを削除したら直りました。

GraphiQLのキャッシュを削除する

rm -rf ~/Library/Application\ Support/GraphiQL

上記実行後、GraphiQLを再起動する。

雑談

GraphQLとGraphiQLは、ややこしいので改名してほしい!
特にRailsでGraphQLを使った開発する時
参考文献に

graphiql-rails をインストールする。

と書かれているのをみて写経していたのですが
私のような、コピペをしない残念な開発者は graphql-rails(「i」がない) と書いてしまいました。
これ、module not found ですよ。
コピペしていきましょうね。

例えば「GraphQL Debug Tool」とかオーソドックスな名前でもいいから...!

以上です。

Happy Coding!

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?