portify icon indicating copy to clipboard operation
portify copied to clipboard

TypeError: Cannot read property 'name' of undefined

Open zeroasterisk opened this issue 11 years ago • 0 comments

I cloned the repo, did npm install, and node app.js - walked through steps, and several playlists transferred... but one crapped out, probably because the last character was !

/Users/admin/portify/data/app.js:132
    googleMusic.createPlaylist(item.name, null, false, function(playlist) {
                                   ^
TypeError: Cannot read property 'name' of undefined
    at transferPlaylist (/Users/admin/portify/data/app.js:132:33)
    at /Users/admin/portify/data/app.js:90:3
    at /Users/admin/portify/data/gmusic.js:57:5
    at Request.callback (/Users/admin/portify/data/node_modules/superagent/lib/node/index.js:656:3)
    at Request.<anonymous> (/Users/admin/portify/data/node_modules/superagent/lib/node/index.js:131:10)
    at Request.EventEmitter.emit (events.js:95:17)
    at IncomingMessage.<anonymous> (/Users/admin/portify/data/node_modules/superagent/lib/node/index.js:802:12)
    at IncomingMessage.EventEmitter.emit (events.js:117:20)
    at _stream_readable.js:920:16
    at process._tickCallback (node.js:415:13)

zeroasterisk avatar Jan 13 '14 18:01 zeroasterisk