Playground not loading on Serverless with Lambda Middleware version 1.3.6
See original GitHub issueThis issue pertains to the following package(s):
- GraphQL Playground - Electron App
- GraphQL Playground HTML
- GraphQL Playground
- GraphQL Playground Express Middleware
- GraphQL Playground Hapi Middleware
- GraphQL Playground Koa Middleware
- GraphQL Playground Lambda Middleware
What OS and OS version are you experiencing the issue(s) on?
Ubuntu 16.04 and Windows 10
What version of graphql-playground(-electron/-middleware) are you experiencing the issue(s) on?
graphql-playground-middleware-lambda 1.3.6
What is the expected behavior?
The playground should load as usual.
What is the actual behavior?
On Servless Offline you get
{"domain":{"domain":null,"_events":{},"_eventsCount":1,"members":[]}}
or on AWS you get
{"message": "Internal server error"}
What steps may we take to reproduce the behavior?
- Remove yarn.lock in either
graphql-playground-middleware-lambda/examples/basic
orserverless-graphql/app-backend/rest-api
- Run
yarn install
ornpm install
- Start with
serverless deploy
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Playground not loading on Serverless with Lambda ... - GitHub
This issue pertains to the following package(s): GraphQL Playground - Electron App GraphQL Playground HTML GraphQL Playground GraphQL ...
Read more >graphql-playground-middleware-lambda - npm
GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration).. Latest version: 1.7.24, ...
Read more >apollo-server-lambda - npm Package Health Analysis - Snyk
Learn more about apollo-server-lambda: package health score, popularity, security, maintenance, versions and more.
Read more >Deploying with AWS Lambda - Apollo GraphQL Docs
Setting up a project to work with Lambda isn't that different from a typical NodeJS project. First, install the apollo-server-lambda package:.
Read more >Error: DynamoRole already exists - Serverless Framework
I am trying to run deploy-prod on the serverless-graphql dynamodb example. Serverless Framework is giving me the following error which I ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This should be fixed with
graphql-playground-middleware-lambda@1.3.9
✅I think I am facing an issue related to this, I am working on an example with following dependencies:-
The
GraphQLServer
fromgraphql-yoga
gets a working middleware path -http://cdn.jsdelivr.net/npm/graphql-playground-react@1.3.20/build/static/js/middleware.js
But
GraphQLServerLambda
fromgraphql-yoga
gets me a 404 middleware path -http://cdn.jsdelivr.net/npm/graphql-playground-react@1.3.7/build/static/js/middleware.js
I tried to setup this on local to attempt a fix (by tinkering
graphql-playground-html
version) by linkinggraphql-yoga
,graphql-playground
to in order but I think I am missing something there.Also, I wanted to know why do we have different packages in
graphql-playground
, do they need to be linked separately for development? What are the upsides of doing it in this way over say having one release forgraphql-playground
itself and whenever a sub-package changes, we can bump up the version ofgraphql-playground
. Just curious about the though process behind current structure.