1
我試圖運行例如咖啡腳本來自:CoffeScript and node-imap的CoffeeScript:ImapConnection不在節點IMAP定義
發送郵件工作正常,但是當我嘗試閱讀的郵件,我得到了這樣那樣的錯誤:
TypeError: imap.ImapConnection is not a function
at Object.<anonymous> (/home/rmatuszak/Dokumenty/NodeJS/mail/coffee2/read.coffee:15:14)
at Object.<anonymous> (/home/rmatuszak/Dokumenty/NodeJS/mail/coffee2/read.coffee:7:1)
at Module._compile (module.js:409:26)
at Object.exports.run (/usr/lib/node_modules/coffee-script/lib/coffee-script/coffee-script.js:134:23)
at compileScript (/usr/lib/node_modules/coffee-script/lib/coffee-script/command.js:224:29)
at compilePath (/usr/lib/node_modules/coffee-script/lib/coffee-script/command.js:174:14)
at Object.exports.run (/usr/lib/node_modules/coffee-script/lib/coffee-script/command.js:98:20)
at Object.<anonymous> (/usr/lib/node_modules/coffee-script/bin/coffee:7:41)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)
at startup (node.js:139:18)
at node.js:968:3
在這個問題的主頁上有人提到這個問題,但沒有得到答案。有沒有人有過這樣的問題?
請將您的解決方案發布到原始問題並詢問關於超時問題的新問題 –