kin-labs / kinetic

MIT License
40 stars 24 forks source link

fix: point codegen.yml to http://127.0.0.1:3000/graphql #491

Closed beeman closed 1 year ago

beeman commented 1 year ago

Got this error after updating to Node 18:

      Failed to load schema from http://localhost:3000/graphql:
      fetch failed
      TypeError: fetch failed
      at Object.fetch (node:internal/deps/undici/undici:11118:11)
      at processTicksAndRejections (node:internal/process/task_queues:95:5)
      at async UrlLoader.load (/Users/beeman/kin/kin-labs/kinetic/node_modules/@graphql-tools/url-loader/cjs/index.js:562:29)
      at async /Users/beeman/kin/kin-labs/kinetic/node_modules/@graphql-tools/load/cjs/load-typedefs/load-file.js:17:39

The fix seems to be pointing it to 127.0.0.1.

nx-cloud[bot] commented 1 year ago

☁️ Nx Cloud Report

CI is running/has finished running commands for commit a1ff92dfc2eb1a36666eb5c5566fdf716e2d40c6. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


✅ Successfully ran 3 targets - [`nx e2e api-e2e --skip-nx-cache`](https://cloud.nx.app/runs/9gWNZuizgC) - [`nx e2e sdk-e2e --skip-nx-cache`](https://cloud.nx.app/runs/3F4g4tdzpC) - [`nx e2e web-e2e --skip-nx-cache`](https://cloud.nx.app/runs/xpKWwcOwUj)

Sent with 💌 from NxCloud.