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

UnhandledPromiseRejectionWarning: SyntaxError: Unexpected token #622

Closed
shubhtrino opened this issue May 20, 2018 · 0 comments
Closed

UnhandledPromiseRejectionWarning: SyntaxError: Unexpected token #622

shubhtrino opened this issue May 20, 2018 · 0 comments

Comments

@shubhtrino
Copy link

I'm getting this error when code runs on the server. it works well on the local machine.

it shows error in googleauth.js file

(node:4908) UnhandledPromiseRejectionWarning: SyntaxError: Unexpected token
in JSON at position 170
UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 5)

@fhinkel fhinkel closed this as completed Feb 6, 2019
ahrarmonsur pushed a commit that referenced this issue Nov 18, 2022
* chore: split samples into individual files

* chore: removed cli option

* chore: update copyright

* fix: update to latest format

* fix: tests

* fix: broken tests
ahrarmonsur pushed a commit that referenced this issue Nov 18, 2022
* chore: split samples into individual files

* chore: removed cli option

* chore: update copyright

* fix: update to latest format

* fix: tests

* fix: broken tests
NimJay pushed a commit that referenced this issue Nov 18, 2022
* chore: split samples into individual files

* chore: removed cli option

* chore: update copyright

* fix: update to latest format

* fix: tests

* fix: broken tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants