-
Notifications
You must be signed in to change notification settings - Fork 6
Error: You must set GRAPHQL_HOST environment variable prior to using Apollo. #27
Comments
and "make in" doesn't work too |
have you figured it out @alanhenschel ? They should be automatically set. |
No, they just don't work, I get login but now return another error, Type error on a function Uma graphql where trow errors |
Is the docker container up? |
Yes, I do all the steps, but "make in" doesn't work, so I keep going and start next.js, the login screen appears but I can't go forward. Drupal works fine. |
When you try to login the POST request is sent to what address? |
Redirect to the root, on my case localhost:3000, te full error message is: I handled rejection(type error): err.graphQLErrors[0] is undefined |
So I believe the problem is since you are running the Next.js outside the container, What is the error when you |
Error: docker exec requires at least 2 arguments |
Setting the variable gives another error: only absolute URLs are supported |
Sorry, my mistake, the GRAPHQL_HOST shoud not have the port so it should actually be And you also have to remove the port 3000 mapping from the app container. diff --git a/docker-compose.yml b/docker-compose.yml
index a22810f..a28fb37 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -22,7 +22,6 @@ services:
hostname: app
ports:
- "80:80"
- - "3000:3000"
dns:
- 8.8.8.8
cap_add: |
About the |
i have this error when i try to run yarn dev. I using Ubuntu.
The text was updated successfully, but these errors were encountered: