mscdex / node-nntp

An NNTP client module for node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nzb.js: node.js:63 ... throw e; ... TypeError: Object #<an Object> has no method 'resolve'

supersurfer opened this issue · comments

I get the error below, and as a node.js newbie I don't know how to solve this.

Any tips?

sander@R540:~/node-stuff/node-nntp/examples/nzb$ node nzb.js news.tiscali.nl prince-mp3.nzb

node.js:63
throw e;
^
TypeError: Object # has no method 'resolve'
at Object. (/home/sander/node-stuff/node-nntp/examples/nzb/nzb.js:14:53)
at Module._compile (node.js:462:23)
at Module._loadScriptSync (node.js:469:10)
at Module.loadSync (node.js:338:12)
at Object.runMain (node.js:522:24)
at Array. (node.js:756:12)
at EventEmitter._tickCallback (node.js:55:22)
at node.js:773:9
sander@R540:~/node-stuff/node-nntp/examples/nzb$

What version of node are you using? This error is very odd ....

Ah, the resolve-problem solved by upgrading from Ubuntu's node version 0.2.6 to node 0.4.10