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

Email-password authentication returning an unhandled error #128

Closed
ZaninAndrea opened this issue Nov 10, 2017 · 2 comments
Closed

Email-password authentication returning an unhandled error #128

ZaninAndrea opened this issue Nov 10, 2017 · 2 comments

Comments

@ZaninAndrea
Copy link

Hi,
I followed the instructions here to install the email-password template.

Running the example mutation

mutation {
  signupUser(email: "99.zanin@gmail.com", password: "__PASSWORD__") {
    token
  }
}

The following error arises

{
  "data": {
    "signupUser": null
  },
  "errors": [
    {
      "locations": [
        {
          "line": 2,
          "column": 3
        }
      ],
      "path": [
        "signupUser"
      ],
      "code": 5000,
      "message": "A function returned an unhandled error. Please check the logs for executionId 'eu-west-1:simple:cj9tyz5jl08nt0175m45favux'",
      "requestId": "eu-west-1:simple:cj9tyz5jl08nt0175m45favux"
    }
  ]
}
@benjaminogles
Copy link

I had to remove a bunch of ES6 syntax features to get it to work. I don't know if the templates assume that we have a webpack config to transpile everything before deploying or if I am missing something else.

@ZaninAndrea
Copy link
Author

Issue solved: I was deploying from windows, switching to Ubuntu made the trick

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

No branches or pull requests

2 participants