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
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
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