{"provider_name":"Hatena Blog","description":"Vite + Apollo Client + GraphQL Codegen\u306e\u7d44\u307f\u5408\u308f\u305b\u3067graphql-codegen\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001gql\u95a2\u6570\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306bimport\u3059\u308b\u305f\u3081\u306b\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u3002 import { gql } from '@apollo/client'; [vite] Named export 'gql' not found. The requested module '@apollo/client' is a CommonJS module, which may not support all module.exports as named exports. CommonJS\u2026","version":"1.0","type":"rich","author_name":"oinume","provider_url":"https://hatena.blog","title":"GraphQL Codegen\u3067\u81ea\u52d5\u751f\u6210\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u3067Named export 'gql' not found\u306e\u30d3\u30eb\u30c9\u30a8\u30e9\u30fc\u3092\u56de\u907f\u3059\u308b","width":"100%","height":"190","image_url":null,"categories":["GraphQL"],"blog_title":"oinume journal","url":"https://oinume.hatenablog.com/entry/avoid-gql-not-found","blog_url":"https://oinume.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Foinume.hatenablog.com%2Fentry%2Favoid-gql-not-found\" title=\"GraphQL Codegen\u3067\u81ea\u52d5\u751f\u6210\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u3067Named export &#39;gql&#39; not found\u306e\u30d3\u30eb\u30c9\u30a8\u30e9\u30fc\u3092\u56de\u907f\u3059\u308b - oinume journal\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2025-04-10 08:00:00","author_url":"https://blog.hatena.ne.jp/oinume/"}