You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C:\Users\Owner\Desktop\DiscordBots\SpotifyDiscord\spoticord\app.js:50
var song = {uri: res.track.track_resource.uri, name: res.track.track_resource.name, album: res.track.album_resource.name, artist: res.track.artist_resource.name, start, end, playing: res.playing};
^
TypeError: Cannot read property 'name' of undefined
at C:\Users\Owner\Desktop\DiscordBots\SpotifyDiscord\spoticord\app.js:50:121
at Request._callback (C:\Users\Owner\Desktop\DiscordBots\SpotifyDiscord\spoticord\spotify.js:59:16)
at Request.self.callback (C:\Users\Owner\Desktop\DiscordBots\SpotifyDiscord\spoticord\node_modules\request\request.js:186:22)
at emitTwo (events.js:135:13)
at Request.emit (events.js:224:7)
at Request. (C:\Users\Owner\Desktop\DiscordBots\SpotifyDiscord\spoticord\node_modules\request\request.js:1163:10)
at emitOne (events.js:125:13)
at Request.emit (events.js:221:7)
at IncomingMessage. (C:\Users\Owner\Desktop\DiscordBots\SpotifyDiscord\spoticord\node_modules\request\request.js:1085:12)
at Object.onceWrapper (events.js:322:30)
The text was updated successfully, but these errors were encountered:
C:\Users\Owner\Desktop\DiscordBots\SpotifyDiscord\spoticord\app.js:50
var song = {uri: res.track.track_resource.uri, name: res.track.track_resource.name, album: res.track.album_resource.name, artist: res.track.artist_resource.name, start, end, playing: res.playing};
^
TypeError: Cannot read property 'name' of undefined
at C:\Users\Owner\Desktop\DiscordBots\SpotifyDiscord\spoticord\app.js:50:121
at Request._callback (C:\Users\Owner\Desktop\DiscordBots\SpotifyDiscord\spoticord\spotify.js:59:16)
at Request.self.callback (C:\Users\Owner\Desktop\DiscordBots\SpotifyDiscord\spoticord\node_modules\request\request.js:186:22)
at emitTwo (events.js:135:13)
at Request.emit (events.js:224:7)
at Request. (C:\Users\Owner\Desktop\DiscordBots\SpotifyDiscord\spoticord\node_modules\request\request.js:1163:10)
at emitOne (events.js:125:13)
at Request.emit (events.js:221:7)
at IncomingMessage. (C:\Users\Owner\Desktop\DiscordBots\SpotifyDiscord\spoticord\node_modules\request\request.js:1085:12)
at Object.onceWrapper (events.js:322:30)
The text was updated successfully, but these errors were encountered: