-
Notifications
You must be signed in to change notification settings - Fork 205
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
TypeError: Assignment to constant variable. #308
Comments
Hi @brunolemos , Can you show us the exact error message? And could you maybe show us the lines around the Have you defined Inside Thanks for taking the time to report this :-) Best, |
Also, apparently this error can happen when assigning something to a name used by a function (see babel/babel#4166). Could this be the case anywhere in your code? |
Closing due to lack of response. Feel free to reopen if you are still experiencing this. |
The code was doing this two times: |
That seems a bit odd imo! Were they two separate senders? Their state shouldn't be constant afaik. I would love to see a stack trace on this, or the code as it was when the error occurred 😄 |
(So we can figure out exactly what went wrong and get it fixed!) |
Happening when using
x.sendNoRetry(message, { registrationTokens: [regToken] }, function (err, response) {
node-gcm v0.14.0
node v7.10.1
The text was updated successfully, but these errors were encountered: