Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem on palette in NodeRedversion 2.0 #23

Closed
hammeronthenet opened this issue Jul 23, 2021 · 6 comments
Closed

Problem on palette in NodeRedversion 2.0 #23

hammeronthenet opened this issue Jul 23, 2021 · 6 comments

Comments

@hammeronthenet
Copy link

Hi,
it seems there's a problem installing the component on NodeRed version 2.0 .

The component doesn't appear on palette (but it's installed, no errors!) and all the flows (if imported) that have the graphql query component show it grayed.

I've got no other clues at the moment.

Regards.

@hammeronthenet
Copy link
Author

After further investigations it seems a general problem: I'm unable to use the components also in old nodered versione (1.1.3).
Maybe a problem in update?

I see an error in console (nodered 1.1.3):

Cannot read property 'color' of undefined

I don't know what it could be at the moment.

@moritz89
Copy link
Contributor

moritz89 commented Aug 5, 2021

I have the same problem. I was on 0.2.5 but when upgrading to 1.1.0 the GraphQL node is grayed out and not visible in the node selection on the left.

image

image

@khtufteland
Copy link

I have experienced the same problem. However, I found a missing , in the code. By adding it the comma to the end did it work:

template: { value: "{\n getUserById(id: 32) {\n firstName\n lastName\n email\n }\n}", required: true }

@rgstephens Do you want me to create a PR?

@tomasinouk
Copy link

hi guys, I had similar problem, needed to remove extra comma for it to show properly:
I am on Node-Red v2.0.6

authorization: { type: "password" },

@foorschtbar
Copy link

Problem is already fixed with pull #24, but version 1.20 is not live. https://flows.nodered.org/node/node-red-contrib-graphql shows still 1.1.0

@rgstephens
Copy link
Owner

version 1.20 is not live.

Re-submitted https://flows.nodered.org/node/node-red-contrib-graphql. Thanks to @filipproch for pointing out the source of the issue in #28

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 a pull request may close this issue.

6 participants