Skip to content

Fix bugs:#7

Open
khoazero123 wants to merge 1 commit into
nodkz:masterfrom
khoazero123:master
Open

Fix bugs:#7
khoazero123 wants to merge 1 commit into
nodkz:masterfrom
khoazero123:master

Conversation

@khoazero123

Copy link
Copy Markdown

Fixed "rule is not a function" when run "npm run relay"
getOperation is not a function

rule is not a function
getOperation is not a function
@nodkz

nodkz commented Jun 19, 2019

Copy link
Copy Markdown
Owner

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.

@nodkz

nodkz commented Jun 19, 2019

Copy link
Copy Markdown
Owner

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",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants