dependency installation
when installing dependencies with the yarn install command, this happens. where can i find this file?

Generate outputs
❯ Generate to src/graphql/data/__generated__/types-and-hooks.ts
✖
Failed to load schema from ./src/graphql/data/schema.graphql:
Unable to find any GraphQL type definitions for the following pointers:
- ./src/graphql/data/schema.graphql
Error:
Unable to find any GraphQL type definitions for the following po…
◼ Load GraphQL documents
◼ Generate
It seems that node fetch schema from https://api.uniswap.org was failed because of network unreachable. I fixed it by enable http proxy. In my case, I'm using proxy client Clashx Pro on mac and enable ’增强模式‘ to make sure node command pass through the proxy. And you can also use other tools to make the node command pass through the proxy
How you solve this problem I have same problem and I'm not using any proxy.
When I run
yarn
I get a similar error graphql install error
[graphql] [STARTED] Load GraphQL schemas
[graphql] [FAILED]
[graphql] [FAILED] Failed to load schema from ./src/graphql/data/schema.graphql:
[graphql] [FAILED]
[graphql] [FAILED]
[graphql] [FAILED] Unable to find any GraphQL type definitions for the following pointers:
[graphql] [FAILED]
[graphql] [FAILED] - ./src/graphql/data/schema.graphql
[graphql] [FAILED]
[graphql] [FAILED] Error:
[graphql] [FAILED] Unable to find any GraphQL type definitions for the following pointers:
[graphql] [FAILED]
[graphql] [FAILED] - ./src/graphql/data/schema.graphql
[graphql] [FAILED]
[graphql] [FAILED] at prepareResult (/home/marcuswentz/github/interface/node_modules/@graphql-tools/load/cjs/load-typedefs.js:93:15)
[graphql] [FAILED] at loadTypedefs (/home/marcuswentz/github/interface/node_modules/@graphql-tools/load/cjs/load-typedefs.js:43:20)
[graphql] [FAILED] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[graphql] [FAILED] at async loadSchema (/home/marcuswentz/github/interface/node_modules/@graphql-tools/load/cjs/schema.js:15:21)
[graphql] [FAILED] at async loadSchema (/home/marcuswentz/github/interface/node_modules/@graphql-codegen/cli/cjs/load.js:36:24)
[graphql] [FAILED] at async /home/marcuswentz/github/interface/node_modules/@graphql-codegen/cli/cjs/codegen.js:191:69
[graphql] [FAILED] at async /home/marcuswentz/github/interface/node_modules/@graphql-codegen/cli/cjs/codegen.js:190:56
[graphql] [FAILED] at async /home/marcuswentz/github/interface/node_modules/@graphql-codegen/cli/cjs/codegen.js:67:17
[graphql] [FAILED] at async Task.run (/home/marcuswentz/github/interface/node_modules/@graphql-codegen/cli/node_modules/listr2/dist/index.cjs:979:11)
[graphql] [FAILED] at async /home/marcuswentz/github/interface/node_modules/p-map/index.js:57:22
[graphql] [FAILED]
[graphql] [FAILED] GraphQL Code Generator supports:
[graphql] [FAILED] - ES Modules and CommonJS exports (export as default or named export "schema")
[graphql] [FAILED] - Introspection JSON File
[graphql] [FAILED] - URL of GraphQL endpoint
[graphql] [FAILED] - Multiple files with type definitions (glob expression)
[graphql] [FAILED] - String in config file
[graphql] [FAILED]
[graphql] [FAILED] Try to use one of above options and run codegen again.
[graphql] [FAILED]
[graphql] [FAILED]
I have
node -v
return
v18.16.0
and
yarn -v
return
1.22.19
I'm getting same error I think the graph scheme is not fetched.
@easoninus Can you help here?
I was experimenting with my proxy settings, then when I ran
yarn
I started getting this error
There appears to be trouble with your network connection. Retrying...
I followed this guide to reset my proxy settings: https://bobbyhadz.com/blog/there-appears-to-be-trouble-with-your-network-connection-yarn
However, I am still getting the same error I mentioned here: https://github.com/Uniswap/interface/issues/5962#issuecomment-1735852614
@easoninus
How did you setup your proxy exactly with yarn? Do you have a guide that you followed to set this up?