apollo-ios: Error in "Loading schema for Unnamed Project"
I have added schema.json after downloading it from endpoint but still facing this issue.
› Error: Error initializing Apollo GraphQL project "Unnamed Project": Error:
› Error in "Loading schema for Unnamed Project": Error: Unable to read file
› schema.json. ENOENT: no such file or directory, open 'schema.json'
Command PhaseScriptExecution failed with a nonzero exit code```
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 17 (7 by maintainers)
@designatednerd I got it working, primarily the issue was incorrect placement of
schema.json
and.graphql
files which was causing errors.Mentioning correct path/position of these files in documentation would saves a lot time of many developers. Thanks