graphql-playground icon indicating copy to clipboard operation
graphql-playground copied to clipboard

Use graphql ws instead of subscriptions-transport-ws

Open ardatan opened this issue 3 years ago • 15 comments

subscriptions-transport-ws has been deprecated in favor of graphql-ws. This PR replaces graphql-ws with subscriptions-transport-ws https://github.com/apollographql/subscriptions-transport-ws/commit/76d9777f45823673cd57918df258cfc35aa81480

ardatan avatar Dec 03 '20 10:12 ardatan

Any traction on this PR?

rufman avatar Feb 01 '21 18:02 rufman

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Feb 22 '21 18:02 CLAassistant

FYI, you can ignore the CLAassistant comment. I've disabled it for this repo since we use EasyCLA now.

brianwarner avatar Feb 22 '21 18:02 brianwarner

So is there anything I can do to get this merged?

ardatan avatar Feb 22 '21 18:02 ardatan

@ardatan this is a tricky one, since this will "break" legacy protocol support which has been an issue with express-graphql for example. can we have an opt-in setting for supporting the legacy client for folks who need backwards compatibility?

acao avatar Apr 03 '21 20:04 acao

Can't wait for this PR to merge!! Any updates?

quant-daddy avatar Apr 15 '21 16:04 quant-daddy

@skk2142 see the comment above; just waiting for the PR to be updated for legacy support!

acao avatar Apr 15 '21 21:04 acao

hello guys, I had some time so I made a PR for this 1326

lethot avatar May 01 '21 16:05 lethot

Any updates?

maxpain avatar Jun 25 '21 10:06 maxpain

Ideally, the subscription client API should be a pluggable API. The subscription-transport-ws can be the default Handler (or Interface implementation) for backward compatibility. graphql-ws or other implementation/transport (such as SSE) can be used if wanted.

faboulaws avatar Sep 16 '21 11:09 faboulaws

Any updates?

iamraviprakash avatar Feb 20 '22 19:02 iamraviprakash

I badly need graphql-ws support in Playground. @ardatan I tried using your repo

mkdir graphql-playground-test
cd graphql-playground-test
npm init -y
npm install https://github.com/ardatan/graphql-playground.git#use-graphql-ws 

but am getting many versioning issues. Posted here as no issues or discussion on the fork.

C:\Users\aaron\Tests\graphql-playground-test>npm install https://github.com/ardatan/graphql-playground.git#use-graphql-ws
npm ERR! code 1
npm ERR! git dep preparation failed
npm ERR! command C:\Program Files\nodejs\node.exe C:\Users\aaron\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js install --force --cache=C:\Users\aaron\AppData\Local\npm-cache --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-run
npm ERR! npm WARN using --force Recommended protections disabled.
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: [email protected]
npm ERR! npm WARN node_modules/react
npm ERR! npm WARN   peer react@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN     peer styled-components@">= 2" from [email protected]
npm ERR! npm WARN     node_modules/babel-plugin-styled-components
npm ERR! npm WARN     1 more (graphql-playground-react)
npm ERR! npm WARN   20 more (graphql-playground-electron, ...)
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react@">= 16.3.0" from [email protected]
npm ERR! npm WARN node_modules/styled-components
npm ERR! npm WARN   peer styled-components@">= 2" from [email protected]
npm ERR! npm WARN   node_modules/babel-plugin-styled-components
npm ERR! npm WARN   1 more (graphql-playground-react)
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: [email protected]
npm ERR! npm WARN node_modules/react
npm ERR! npm WARN   peer react@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN     peer styled-components@">= 2" from [email protected]
npm ERR! npm WARN     node_modules/babel-plugin-styled-components
npm ERR! npm WARN     1 more (graphql-playground-react)
npm ERR! npm WARN   20 more (graphql-playground-electron, ...)
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react@">= 16.3.0" from [email protected]
npm ERR! npm WARN node_modules/styled-components
npm ERR! npm WARN   peer styled-components@">= 2" from [email protected]
npm ERR! npm WARN   node_modules/babel-plugin-styled-components
npm ERR! npm WARN   1 more (graphql-playground-react)
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: [email protected]
npm ERR! npm WARN node_modules/react
npm ERR! npm WARN   peer react@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN     peer styled-components@">= 2" from [email protected]
npm ERR! npm WARN     node_modules/babel-plugin-styled-components
npm ERR! npm WARN     1 more (graphql-playground-react)
npm ERR! npm WARN   20 more (graphql-playground-electron, ...)
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react@">= 16.3.0" from [email protected]
npm ERR! npm WARN node_modules/styled-components
npm ERR! npm WARN   peer styled-components@">= 2" from [email protected]
npm ERR! npm WARN   node_modules/babel-plugin-styled-components
npm ERR! npm WARN   1 more (graphql-playground-react)
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: [email protected]
npm ERR! npm WARN node_modules/react
npm ERR! npm WARN   peer react@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN     peer styled-components@">= 2" from [email protected]
npm ERR! npm WARN     node_modules/babel-plugin-styled-components
npm ERR! npm WARN     1 more (graphql-playground-react)
npm ERR! npm WARN   20 more (graphql-playground-electron, ...)
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react@"^16.13.1" from [email protected]
npm ERR! npm WARN node_modules/react-dom
npm ERR! npm WARN   peer react-dom@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN   8 more (graphql-playground-electron, ...)
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: [email protected]
npm ERR! npm WARN node_modules/react
npm ERR! npm WARN   peer react@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN     peer styled-components@">= 2" from [email protected]
npm ERR! npm WARN     node_modules/babel-plugin-styled-components
npm ERR! npm WARN     1 more (graphql-playground-react)
npm ERR! npm WARN   20 more (graphql-playground-electron, ...)
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react@"^16.13.1" from [email protected]
npm ERR! npm WARN node_modules/react-dom
npm ERR! npm WARN   peer react-dom@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN   8 more (graphql-playground-electron, ...)
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: [email protected]
npm ERR! npm WARN node_modules/react
npm ERR! npm WARN   peer react@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN     peer styled-components@">= 2" from [email protected]
npm ERR! npm WARN     node_modules/babel-plugin-styled-components
npm ERR! npm WARN     1 more (graphql-playground-react)
npm ERR! npm WARN   20 more (graphql-playground-electron, ...)
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react@"^16.13.1" from [email protected]
npm ERR! npm WARN node_modules/react-dom
npm ERR! npm WARN   peer react-dom@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN   8 more (graphql-playground-electron, ...)
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: [email protected]
npm ERR! npm WARN node_modules/react
npm ERR! npm WARN   peer react@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN     peer styled-components@">= 2" from [email protected]
npm ERR! npm WARN     node_modules/babel-plugin-styled-components
npm ERR! npm WARN     1 more (graphql-playground-react)
npm ERR! npm WARN   20 more (graphql-playground-electron, ...)
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react@"^16.13.1" from [email protected]
npm ERR! npm WARN node_modules/react-dom
npm ERR! npm WARN   peer react-dom@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN   8 more (graphql-playground-electron, ...)
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: [email protected]
npm ERR! npm WARN node_modules/react
npm ERR! npm WARN   peer react@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN     peer styled-components@">= 2" from [email protected]
npm ERR! npm WARN     node_modules/babel-plugin-styled-components
npm ERR! npm WARN     1 more (graphql-playground-react)
npm ERR! npm WARN   20 more (graphql-playground-electron, ...)
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react@"^16.13.1" from [email protected]
npm ERR! npm WARN node_modules/react-dom
npm ERR! npm WARN   peer react-dom@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN   8 more (graphql-playground-electron, ...)
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: [email protected]
npm ERR! npm WARN node_modules/react
npm ERR! npm WARN   peer react@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN     peer styled-components@">= 2" from [email protected]
npm ERR! npm WARN     node_modules/babel-plugin-styled-components
npm ERR! npm WARN     1 more (graphql-playground-react)
npm ERR! npm WARN   20 more (graphql-playground-electron, ...)
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react@"^16.13.1" from [email protected]
npm ERR! npm WARN node_modules/react-dom
npm ERR! npm WARN   peer react-dom@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN   8 more (graphql-playground-electron, ...)
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: [email protected]
npm ERR! npm WARN node_modules/react
npm ERR! npm WARN   peer react@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN     peer styled-components@">= 2" from [email protected]
npm ERR! npm WARN     node_modules/babel-plugin-styled-components
npm ERR! npm WARN     1 more (graphql-playground-react)
npm ERR! npm WARN   20 more (graphql-playground-electron, ...)
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react@"^16.13.1" from [email protected]
npm ERR! npm WARN node_modules/react-dom
npm ERR! npm WARN   peer react-dom@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN   8 more (graphql-playground-electron, ...)
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: [email protected]
npm ERR! npm WARN node_modules/react
npm ERR! npm WARN   peer react@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN     peer styled-components@">= 2" from [email protected]
npm ERR! npm WARN     node_modules/babel-plugin-styled-components
npm ERR! npm WARN     1 more (graphql-playground-react)
npm ERR! npm WARN   20 more (graphql-playground-electron, ...)
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react@"^16.13.1" from [email protected]
npm ERR! npm WARN node_modules/react-dom
npm ERR! npm WARN   peer react-dom@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN   8 more (graphql-playground-electron, ...)
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: [email protected]
npm ERR! npm WARN node_modules/react
npm ERR! npm WARN   peer react@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN     peer styled-components@">= 2" from [email protected]
npm ERR! npm WARN     node_modules/babel-plugin-styled-components
npm ERR! npm WARN     1 more (graphql-playground-react)
npm ERR! npm WARN   20 more (graphql-playground-electron, ...)
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react@"^16.13.1" from [email protected]
npm ERR! npm WARN node_modules/react-dom
npm ERR! npm WARN   peer react-dom@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN   8 more (graphql-playground-electron, ...)
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: [email protected]
npm ERR! npm WARN node_modules/react
npm ERR! npm WARN   peer react@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN     peer styled-components@">= 2" from [email protected]
npm ERR! npm WARN     node_modules/babel-plugin-styled-components
npm ERR! npm WARN     1 more (graphql-playground-react)
npm ERR! npm WARN   20 more (graphql-playground-electron, ...)
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react@"^16.13.1" from [email protected]
npm ERR! npm WARN node_modules/react-dom
npm ERR! npm WARN   peer react-dom@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN   8 more (graphql-playground-electron, ...)
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: [email protected]
npm ERR! npm WARN node_modules/react
npm ERR! npm WARN   peer react@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN     peer styled-components@">= 2" from [email protected]
npm ERR! npm WARN     node_modules/babel-plugin-styled-components
npm ERR! npm WARN     1 more (graphql-playground-react)
npm ERR! npm WARN   20 more (graphql-playground-electron, ...)
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react@"^16.13.1" from [email protected]
npm ERR! npm WARN node_modules/react-dom
npm ERR! npm WARN   peer react-dom@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN   8 more (graphql-playground-electron, ...)
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: [email protected]
npm ERR! npm WARN node_modules/react
npm ERR! npm WARN   peer react@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN     peer styled-components@">= 2" from [email protected]
npm ERR! npm WARN     node_modules/babel-plugin-styled-components
npm ERR! npm WARN     1 more (graphql-playground-react)
npm ERR! npm WARN   20 more (graphql-playground-electron, ...)
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react@"^16.0.0-0" from [email protected]
npm ERR! npm WARN node_modules/enzyme-adapter-react-16
npm ERR! npm WARN   dev enzyme-adapter-react-16@"^1.1.1" from [email protected]
npm ERR! npm WARN   packages/graphql-playground-react
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: [email protected]
npm ERR! npm WARN node_modules/react
npm ERR! npm WARN   peer react@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN     peer styled-components@">= 2" from [email protected]
npm ERR! npm WARN     node_modules/babel-plugin-styled-components
npm ERR! npm WARN     1 more (graphql-playground-react)
npm ERR! npm WARN   20 more (graphql-playground-electron, ...)
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react@"^15.6.0 || ^16.0.0" from [email protected]
npm ERR! npm WARN node_modules/graphiql
npm ERR! npm WARN   graphiql@"^0.17.5" from [email protected]
npm ERR! npm WARN   packages/graphql-playground-react
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: [email protected]
npm ERR! npm WARN node_modules/react
npm ERR! npm WARN   peer react@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN     peer styled-components@">= 2" from [email protected]
npm ERR! npm WARN     node_modules/babel-plugin-styled-components
npm ERR! npm WARN     1 more (graphql-playground-react)
npm ERR! npm WARN   20 more (graphql-playground-electron, ...)
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react@">=15.5 <16" from [email protected]
npm ERR! npm WARN node_modules/react-codemirror
npm ERR! npm WARN   react-codemirror@"^1.0.0" from [email protected]
npm ERR! npm WARN   packages/graphql-playground-react
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: [email protected]
npm ERR! npm WARN node_modules/react
npm ERR! npm WARN   peer react@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN     peer styled-components@">= 2" from [email protected]
npm ERR! npm WARN     node_modules/babel-plugin-styled-components
npm ERR! npm WARN     1 more (graphql-playground-react)
npm ERR! npm WARN   20 more (graphql-playground-electron, ...)
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react@"^15.3.0 || ^16.0.0" from [email protected]
npm ERR! npm WARN node_modules/react-copy-to-clipboard
npm ERR! npm WARN   react-copy-to-clipboard@"^5.0.1" from [email protected]
npm ERR! npm WARN   packages/graphql-playground-react
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: [email protected]
npm ERR! npm WARN node_modules/react
npm ERR! npm WARN   peer react@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN     peer styled-components@">= 2" from [email protected]
npm ERR! npm WARN     node_modules/babel-plugin-styled-components
npm ERR! npm WARN     1 more (graphql-playground-react)
npm ERR! npm WARN   20 more (graphql-playground-electron, ...)
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react@">=15.0.0" from [email protected]
npm ERR! npm WARN node_modules/react-helmet
npm ERR! npm WARN   react-helmet@"^5.2.0" from [email protected]
npm ERR! npm WARN   packages/graphql-playground-react
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: [email protected]
npm ERR! npm WARN node_modules/react
npm ERR! npm WARN   peer react@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN     peer styled-components@">= 2" from [email protected]
npm ERR! npm WARN     node_modules/babel-plugin-styled-components
npm ERR! npm WARN     1 more (graphql-playground-react)
npm ERR! npm WARN   20 more (graphql-playground-electron, ...)
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react@"^0.14.9 || ^15.3.0 || ^16.0.0-rc || ^16.0" from [email protected]
npm ERR! npm WARN node_modules/react-input-autosize
npm ERR! npm WARN   react-input-autosize@"^2.2.1" from [email protected]
npm ERR! npm WARN   packages/graphql-playground-react
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: [email protected]
npm ERR! npm WARN node_modules/react
npm ERR! npm WARN   peer react@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN     peer styled-components@">= 2" from [email protected]
npm ERR! npm WARN     node_modules/babel-plugin-styled-components
npm ERR! npm WARN     1 more (graphql-playground-react)
npm ERR! npm WARN   20 more (graphql-playground-electron, ...)
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react@"^0.14.0 || ^15.0.0 || ^16" from [email protected]
npm ERR! npm WARN node_modules/react-modal
npm ERR! npm WARN   react-modal@"^3.1.11" from [email protected]
npm ERR! npm WARN   packages/graphql-playground-react
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: [email protected]
npm ERR! npm WARN node_modules/react
npm ERR! npm WARN   peer react@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN     peer styled-components@">= 2" from [email protected]
npm ERR! npm WARN     node_modules/babel-plugin-styled-components
npm ERR! npm WARN     1 more (graphql-playground-react)
npm ERR! npm WARN   20 more (graphql-playground-electron, ...)
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react@"^16.8.3" from [email protected]
npm ERR! npm WARN node_modules/react-redux
npm ERR! npm WARN   react-redux@"^7.2.0" from [email protected]
npm ERR! npm WARN   packages/graphql-playground-react
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: [email protected]
npm ERR! npm WARN node_modules/react
npm ERR! npm WARN   peer react@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN     peer styled-components@">= 2" from [email protected]
npm ERR! npm WARN     node_modules/babel-plugin-styled-components
npm ERR! npm WARN     1 more (graphql-playground-react)
npm ERR! npm WARN   20 more (graphql-playground-electron, ...)
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react@">=15" from [email protected]
npm ERR! npm WARN node_modules/react-router-dom
npm ERR! npm WARN   react-router-dom@"^4.2.2" from [email protected]
npm ERR! npm WARN   packages/graphql-playground-react
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: [email protected]
npm ERR! npm WARN node_modules/react
npm ERR! npm WARN   peer react@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN     peer styled-components@">= 2" from [email protected]
npm ERR! npm WARN     node_modules/babel-plugin-styled-components
npm ERR! npm WARN     1 more (graphql-playground-react)
npm ERR! npm WARN   20 more (graphql-playground-electron, ...)
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react@"^0.14.0 || ^15.0.0 || ^16.0.0" from [email protected]
npm ERR! npm WARN node_modules/react-sortable-hoc
npm ERR! npm WARN   react-sortable-hoc@"^0.8.3" from [email protected]
npm ERR! npm WARN   packages/graphql-playground-react
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: [email protected]
npm ERR! npm WARN node_modules/react
npm ERR! npm WARN   peer react@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN     peer styled-components@">= 2" from [email protected]
npm ERR! npm WARN     node_modules/babel-plugin-styled-components
npm ERR! npm WARN     1 more (graphql-playground-react)
npm ERR! npm WARN   20 more (graphql-playground-electron, ...)
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react@">=15.0.0" from [email protected]
npm ERR! npm WARN node_modules/react-transition-group
npm ERR! npm WARN   react-transition-group@"^2.2.1" from [email protected]
npm ERR! npm WARN   packages/graphql-playground-react
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: [email protected]
npm ERR! npm WARN node_modules/react
npm ERR! npm WARN   peer react@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN     peer styled-components@">= 2" from [email protected]
npm ERR! npm WARN     node_modules/babel-plugin-styled-components
npm ERR! npm WARN     1 more (graphql-playground-react)
npm ERR! npm WARN   20 more (graphql-playground-electron, ...)
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react@"^15.3.0 || ^16.0.0-alpha" from [email protected]
npm ERR! npm WARN node_modules/react-virtualized
npm ERR! npm WARN   react-virtualized@"^9.12.0" from [email protected]
npm ERR! npm WARN   packages/graphql-playground-react
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: [email protected]
npm ERR! npm WARN node_modules/react
npm ERR! npm WARN   peer react@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN     peer styled-components@">= 2" from [email protected]
npm ERR! npm WARN     node_modules/babel-plugin-styled-components
npm ERR! npm WARN     1 more (graphql-playground-react)
npm ERR! npm WARN   20 more (graphql-playground-electron, ...)
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react@">=15.0 || 0.14.x" from [email protected]
npm ERR! npm WARN node_modules/why-did-you-update
npm ERR! npm WARN   dev why-did-you-update@"0.1.1" from [email protected]
npm ERR! npm WARN   packages/graphql-playground-react
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: [email protected]
npm ERR! npm WARN node_modules/react
npm ERR! npm WARN   peer react@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN     peer styled-components@">= 2" from [email protected]
npm ERR! npm WARN     node_modules/babel-plugin-styled-components
npm ERR! npm WARN     1 more (graphql-playground-react)
npm ERR! npm WARN   20 more (graphql-playground-electron, ...)
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react@"^0.15.0" from [email protected]
npm ERR! npm WARN node_modules/graphcool-styles
npm ERR! npm WARN   graphcool-styles@"0.2.7" from [email protected]
npm ERR! npm WARN   packages/graphql-playground-electron
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: [email protected]
npm ERR! npm WARN node_modules/react
npm ERR! npm WARN   peer react@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN     peer styled-components@">= 2" from [email protected]
npm ERR! npm WARN     node_modules/babel-plugin-styled-components
npm ERR! npm WARN     1 more (graphql-playground-react)
npm ERR! npm WARN   20 more (graphql-playground-electron, ...)
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react@"^16.0.0" from [email protected]
npm ERR! npm WARN node_modules/react-test-renderer
npm ERR! npm WARN   react-test-renderer@"^16.0.0-0" from [email protected]
npm ERR! npm WARN   node_modules/enzyme-adapter-react-16
npm ERR! npm WARN   1 more (graphql-playground-electron)
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: [email protected]
npm ERR! npm WARN node_modules/react
npm ERR! npm WARN   peer react@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN     peer styled-components@">= 2" from [email protected]
npm ERR! npm WARN     node_modules/babel-plugin-styled-components
npm ERR! npm WARN     1 more (graphql-playground-react)
npm ERR! npm WARN   20 more (graphql-playground-electron, ...)
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react@"15.x.x || 16.x.x" from [email protected]
npm ERR! npm WARN node_modules/styled-jsx
npm ERR! npm WARN   styled-jsx@"2.2.6" from [email protected]
npm ERR! npm WARN   packages/graphql-playground-electron
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: react@undefined
npm ERR! npm WARN node_modules/react
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react@"^0.15.0" from [email protected]
npm ERR! npm WARN node_modules/graphcool-styles
npm ERR! npm WARN   graphcool-styles@"0.2.7" from [email protected]
npm ERR! npm WARN   packages/graphql-playground-electron
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: [email protected]
npm ERR! npm WARN node_modules/react
npm ERR! npm WARN   peer react@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN     peer styled-components@">= 2" from [email protected]
npm ERR! npm WARN     node_modules/babel-plugin-styled-components
npm ERR! npm WARN     1 more (graphql-playground-react)
npm ERR! npm WARN   17 more (react-dom, enzyme-adapter-react-16, graphiql, ...)
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react@"^0.15.0" from [email protected]
npm ERR! npm WARN node_modules/graphcool-styles
npm ERR! npm WARN   peer graphcool-styles@"^0.1.31" from [email protected]
npm ERR! npm WARN   node_modules/graphcool-ui
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: react@undefined
npm ERR! npm WARN node_modules/react
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react@"^0.15.0" from [email protected]
npm ERR! npm WARN node_modules/graphcool-styles
npm ERR! npm WARN   peer graphcool-styles@"^0.1.31" from [email protected]
npm ERR! npm WARN   node_modules/graphcool-ui
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: [email protected]
npm ERR! npm WARN node_modules/react-dom
npm ERR! npm WARN   peer react-dom@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN     peer styled-components@">= 2" from [email protected]
npm ERR! npm WARN     node_modules/babel-plugin-styled-components
npm ERR! npm WARN     1 more (graphql-playground-react)
npm ERR! npm WARN   8 more (graphql-playground-electron, ...)
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react-dom@"^15.4.2" from [email protected]
npm ERR! npm WARN node_modules/react-addons-test-utils
npm ERR! npm WARN   dev react-addons-test-utils@"15.6.2" from [email protected]
npm ERR! npm WARN   packages/graphql-playground-electron
npm ERR! npm WARN
npm ERR! npm WARN Conflicting peer dependency: [email protected]
npm ERR! npm WARN node_modules/react-dom
npm ERR! npm WARN   peer react-dom@"^15.4.2" from [email protected]
npm ERR! npm WARN   node_modules/react-addons-test-utils
npm ERR! npm WARN     dev react-addons-test-utils@"15.6.2" from [email protected]
npm ERR! npm WARN     packages/graphql-playground-electron
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: [email protected]
npm ERR! npm WARN node_modules/react-dom
npm ERR! npm WARN   peer react-dom@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN     peer styled-components@">= 2" from [email protected]
npm ERR! npm WARN     node_modules/babel-plugin-styled-components
npm ERR! npm WARN     1 more (graphql-playground-react)
npm ERR! npm WARN   8 more (graphql-playground-electron, ...)
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react-dom@">=15.5 <16" from [email protected]
npm ERR! npm WARN node_modules/react-codemirror
npm ERR! npm WARN   react-codemirror@"^1.0.0" from [email protected]
npm ERR! npm WARN   packages/graphql-playground-react
npm ERR! npm WARN
npm ERR! npm WARN Conflicting peer dependency: [email protected]
npm ERR! npm WARN node_modules/react-dom
npm ERR! npm WARN   peer react-dom@">=15.5 <16" from [email protected]
npm ERR! npm WARN   node_modules/react-codemirror
npm ERR! npm WARN     react-codemirror@"^1.0.0" from [email protected]
npm ERR! npm WARN     packages/graphql-playground-react
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: [email protected]
npm ERR! npm WARN packages/graphql-playground-electron/node_modules/react
npm ERR! npm WARN   react@"16.13.1" from [email protected]
npm ERR! npm WARN   packages/graphql-playground-electron
npm ERR! npm WARN     [email protected]
npm ERR! npm WARN     node_modules/graphql-playground-electron
npm ERR! npm WARN   2 more (react-redux, react-test-renderer)
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react@"^0.14.0 || ^15.0.0-0 || ^16.0.0-0" from [email protected]
npm ERR! npm WARN packages/graphql-playground-electron/node_modules/react-redux
npm ERR! npm WARN   react-redux@"^5.0.7" from [email protected]
npm ERR! npm WARN   packages/graphql-playground-electron
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: [email protected]
npm ERR! npm WARN packages/graphql-playground-electron/node_modules/react
npm ERR! npm WARN   react@"16.13.1" from [email protected]
npm ERR! npm WARN   packages/graphql-playground-electron
npm ERR! npm WARN     [email protected]
npm ERR! npm WARN     node_modules/graphql-playground-electron
npm ERR! npm WARN   2 more (react-redux, react-test-renderer)
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react@"^16.0.0" from [email protected]
npm ERR! npm WARN packages/graphql-playground-electron/node_modules/react-test-renderer
npm ERR! npm WARN   dev react-test-renderer@"16.4.0" from [email protected]
npm ERR! npm WARN   packages/graphql-playground-electron
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: [email protected]
npm ERR! npm WARN packages/graphql-playground-electron/node_modules/react
npm ERR! npm WARN   react@"16.13.1" from [email protected]
npm ERR! npm WARN   packages/graphql-playground-electron
npm ERR! npm WARN     [email protected]
npm ERR! npm WARN     node_modules/graphql-playground-electron
npm ERR! npm WARN   2 more (react-redux, react-test-renderer)
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react@"^0.15.0" from [email protected]
npm ERR! npm WARN packages/graphql-playground-electron/node_modules/graphcool-styles
npm ERR! npm WARN   graphcool-styles@"0.2.7" from [email protected]
npm ERR! npm WARN   packages/graphql-playground-electron
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: react@undefined
npm ERR! npm WARN packages/graphql-playground-electron/node_modules/react
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react@"^0.15.0" from [email protected]
npm ERR! npm WARN packages/graphql-playground-electron/node_modules/graphcool-styles
npm ERR! npm WARN   graphcool-styles@"0.2.7" from [email protected]
npm ERR! npm WARN   packages/graphql-playground-electron
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: [email protected]
npm ERR! npm WARN packages/graphql-playground-electron/node_modules/webpack
npm ERR! npm WARN   dev webpack@"3.10.0" from [email protected]
npm ERR! npm WARN   packages/graphql-playground-electron
npm ERR! npm WARN     [email protected]
npm ERR! npm WARN     node_modules/graphql-playground-electron
npm ERR! npm WARN   4 more (extract-text-webpack-plugin, file-loader, ...)
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer webpack@"^4.0.0" from [email protected]
npm ERR! npm WARN packages/graphql-playground-electron/node_modules/webpack-dev-server
npm ERR! npm WARN   dev webpack-dev-server@"3.1.11" from [email protected]
npm ERR! npm WARN   packages/graphql-playground-electron
npm ERR! npm WARN
npm ERR! npm WARN Conflicting peer dependency: [email protected]
npm ERR! npm WARN node_modules/webpack
npm ERR! npm WARN   peer webpack@"^4.0.0" from [email protected]
npm ERR! npm WARN   packages/graphql-playground-electron/node_modules/webpack-dev-server
npm ERR! npm WARN     dev webpack-dev-server@"3.1.11" from [email protected]
npm ERR! npm WARN     packages/graphql-playground-electron
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN ERESOLVE overriding peer dependency
npm ERR! npm WARN While resolving: [email protected]
npm ERR! npm WARN Found: [email protected]
npm ERR! npm WARN node_modules/react
npm ERR! npm WARN   peer react@">= 16.3.0" from [email protected]
npm ERR! npm WARN   node_modules/styled-components
npm ERR! npm WARN     peer styled-components@">= 2" from [email protected]
npm ERR! npm WARN     node_modules/babel-plugin-styled-components
npm ERR! npm WARN     1 more (graphql-playground-react)
npm ERR! npm WARN   19 more (react-dom, enzyme-adapter-react-16, graphiql, ...)
npm ERR! npm WARN
npm ERR! npm WARN Could not resolve dependency:
npm ERR! npm WARN peer react@"^15.7.0" from [email protected]
npm ERR! npm WARN node_modules/graphcool-styles/node_modules/react-dom
npm ERR! npm WARN   react-dom@"^15.3.2" from [email protected]
npm ERR! npm WARN   node_modules/graphcool-styles
npm ERR! npm WARN
npm ERR! npm WARN Conflicting peer dependency: [email protected]
npm ERR! npm WARN node_modules/react
npm ERR! npm WARN   peer react@"^15.7.0" from [email protected]
npm ERR! npm WARN   node_modules/graphcool-styles/node_modules/react-dom
npm ERR! npm WARN     react-dom@"^15.3.2" from [email protected]
npm ERR! npm WARN     node_modules/graphcool-styles
npm ERR! npm ERR! code ETARGET
npm ERR! npm ERR! notarget No matching version found for react@^0.15.0.
npm ERR! npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! npm ERR! notarget a package version that doesn't exist.
npm ERR!
npm ERR! npm ERR! A complete log of this run can be found in:
npm ERR! npm ERR!     C:\Users\aaron\AppData\Local\npm-cache\_logs\2022-04-07T13_22_13_255Z-debug-0.log

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\aaron\AppData\Local\npm-cache\_logs\2022-04-07T13_22_07_470Z-debug-0.log

AaronNGray avatar Apr 07 '22 13:04 AaronNGray

I badly need graphql-ws support in Playground.

@AaronNGray i ended up switching to altair https://github.com/altair-graphql/altair it works well and supports graphql-ws. my only issue with it is that autocomplete can be a little laggy, but i think it's b/c we have a very large schema.

planning to eventually switch to graphiql 2.0, looks like it'll be a while.

brettjashford avatar Apr 07 '22 15:04 brettjashford

@ardatan I just merged another PR that does this my bad, perhaps you'd like to follow up with a new PR?

acao avatar Apr 25 '22 06:04 acao

@ardatan I just merged another PR that does this my bad, perhaps you'd like to follow up with a new PR?

Would it be possible to publish to npm the changes you merged please? It might fix most of the issues people are reporting in issues and in this PR

adriencohen avatar Jul 13 '22 08:07 adriencohen