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

TypeError: Right-hand side of 'instanceof' is not an object #52

Open
jakubhavle opened this issue Dec 18, 2019 · 1 comment
Open

TypeError: Right-hand side of 'instanceof' is not an object #52

jakubhavle opened this issue Dec 18, 2019 · 1 comment

Comments

@jakubhavle
Copy link

jakubhavle commented Dec 18, 2019

Question

Your Environment

| Software | Version(s) |
| OSX | Catalina |
| the-traveler -> 1.0.1 |
| Node 13 |
| Operating System |
OSX

Question

Hey, not sure if this is bug, or i have somethign wrong in my code. But iam getting this error when i am calling getAccessToken()

TypeError: Right-hand side of 'instanceof' is not an object at normalize (normalize-arguments.js:153) at got (create.js:32) at Function.got.<computed> [as post] (create.js:64) at HttpService.js:44 at new Promise (<anonymous>) at HTTPService.post (HttpService.js:43) at OAuthResource.js:87 at new Promise (<anonymous>) at OAuthResource.getAccessToken (OAuthResource.js:86) at Module../src/components/Auth/OAuthReturn.js (OAuthReturn.js:13) at __webpack_require__ (bootstrap:785) at fn (bootstrap:150) at Module../src/index.js (index.css?e32c:37) at __webpack_require__ (bootstrap:785) at fn (bootstrap:150) at Object.1 (travelerClient.js:10) at __webpack_require__ (bootstrap:785) at checkDeferredModules (bootstrap:45) at Array.webpackJsonpCallback [as push] (bootstrap:32) at main.chunk.js:1

Context

Iam trying just authorize my account on bungie. Iam used "create-react-app"to boostrap the basic project and then just import traveler..

I also can provide whole git with this project in case if it will be needed

@jakubhavle
Copy link
Author

Edit: IT is more issue of GOT npm package then the traveler it self, unfortunately i didnt have time to experiment and try find and solution. But will do during weekend

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

1 participant