You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use the relay compiler from CLI everything works fine (relay-compiler --watch --output quiet-with-errors), but when I use the extension I get this error:
[ERROR] Config `/Users/federicozivolo/Developer/my-project/workspaces/web-client/relay.config.js` is invalid:
- The `schema` configured for project `default` does not exist at `../backend/schema.graphql`.
I also tried to move the graphql file to the web-client folder, and update the schema: property but I get the same error.
What worked for me is to resolve the path to an absolute one in the config file:
I'm trying to use the Relay extension for Visual Studio Code on my monorepo project (Yarn monorepo).
My Relay configuration file is at
workspaces/web-client/relay.config.js
, and my schema is atworkspaces/backend/schema.graphql
.When I use the relay compiler from CLI everything works fine (
relay-compiler --watch --output quiet-with-errors
), but when I use the extension I get this error:I also tried to move the graphql file to the web-client folder, and update the
schema:
property but I get the same error.What worked for me is to resolve the path to an absolute one in the config file:
The text was updated successfully, but these errors were encountered: