alltomp3 icon indicating copy to clipboard operation
alltomp3 copied to clipboard

Problem with first test

Open nikolaz111 opened this issue 9 years ago • 1 comments

When I try to run the first line of the README. This error occurs. Any clue? Thanks

> var dl = alltomp3.findAndDownload("imagine dragons on top of the world", "./", function (infos) {
...     console.log("It's finished: ", infos);
... });
TypeError: object is not a function
    at Object.at3.findAndDownload (/home/nicolas/alltomp3/alltomp3/index.js:1164:29)
    at repl:1:19
    at REPLServer.self.eval (repl.js:110:21)
    at repl.js:249:20
    at REPLServer.self.eval (repl.js:122:7)
    at Interface.<anonymous> (repl.js:239:12)
    at Interface.EventEmitter.emit (events.js:95:17)
    at Interface._onLine (readline.js:202:10)
    at Interface._line (readline.js:531:8)
    at Interface._ttyWrite (readline.js:760:14)
    at ReadStream.onkeypress (readline.js:99:10)
    at ReadStream.EventEmitter.emit (events.js:98:17)
    at emitKey (readline.js:1095:12)
    at ReadStream.onData (readline.js:840:14)
    at ReadStream.EventEmitter.emit (events.js:95:17)
    at ReadStream.<anonymous> (_stream_readable.js:746:14)
    at ReadStream.EventEmitter.emit (events.js:92:17)
    at emitReadable_ (_stream_readable.js:408:10)
    at emitReadable (_stream_readable.js:404:5)
    at readableAddChunk (_stream_readable.js:165:9)
    at ReadStream.Readable.push (_stream_readable.js:127:10)
    at TTY.onread (net.js:526:21)

nikolaz111 avatar Apr 17 '16 19:04 nikolaz111

What is your version of Node? (node -v)

NTag avatar Apr 18 '16 15:04 NTag