-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
I can't get your sample code on the readme to run at all. I keep getting this,
TypeError: thing.on is not a function
at D:\repos\eredocs\node_modules\imap-promise\ImapPromise.js:39:9
at collect_events (D:\repos\eredocs\node_modules\imap-promise\ImapPromise.js:37:9)
at ImapPromises.getMailAsync (D:\repos\eredocs\node_modules\imap-promise\ImapPromise.js:35:50)
at D:\repos\eredocs\utils\ImapEmail.js:128:17
From previous event:
at readEmailImap (D:\repos\eredocs\utils\ImapEmail.js:125:6)
at D:\repos\eredocs\resources\imap_start.js:39:26
at Object.<anonymous> (D:\repos\eredocs\resources\imap_start.js:43:5)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
at internal/main/run_main_module.js:17:47 +299ms
Oops: thing.on is not a functionMetadata
Metadata
Assignees
Labels
No labels