spotify-web-api-node
spotify-web-api-node copied to clipboard
RefreshAccessToken not a function
I am using Vue so I needed to install a different package while working but I thought it was pretty similar functionality. Everything was working but when I tried to use the 'refreshAccessToken' function, I was met with an error stating "TypeError: vue__WEBPACK_IMPORTED_MODULE_1__.default.spotify.refreshAccessToken is not a function"
Am I missing something?
Hi, i'm struggling with the same error, were you able to solve it?
Bump. Currently getting the same error with Sveltekit.
Same issue here. Is this not possible to use in a frontend?
The @types/spotify-web-api-node does not match up with the current state of the package.
https://github.com/thelinmichael/spotify-web-api-node/blob/be15f1c742b35134ce5bd35521d8bf1ab1ba67cf/src/spotify-web-api.js#L12-L86
In other words, that function does not actually exist.