Open khoazero123 opened 5 years ago
Probably you use a different version of Relay.
Please run the following command and provide your output here:
npm list react-relay
I think that you install packages via npm
, but in repo used yarn
.
So to avoid this problem I want to update and fix package.json versions.
Thanks.
For me all works as expected when I install packages via yarn install
.
You may obtain a working solution when change in package.json the following lines:
- "react-relay": "^1.4.1",
+ "react-relay": "1.4.1",
- "relay-compiler": "^1.4.1",
+ "relay-compiler": "1.4.1",
Fixed "rule is not a function" when run "npm run relay" getOperation is not a function