TypeError: require(...).createCredentials is not a function
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 385
- Forks
- 60
- PR merge metrics
- No merged PRs in 30d
Description
TypeError: require(...).createCredentials is not a function
at starttls (C:\ELMSearch\SDL\node_modules\mailer\node_modules\nodemailer\lib\starttls.js:19:40)
at SMTPClient. (C:\ELMSearch\SDL\node_modules\mailer\node_modules\nodemailer\lib\smtp.js:527:22)
at SMTPClient._dataListener (C:\ELMSearch\SDL\node_modules\mailer\node_modules\nodemailer\lib\smtp.js:468:20)
at SMTPClient._onData (C:\ELMSearch\SDL\node_modules\mailer\node_modules\nodemailer\lib\smtp.js:642:14)
at Socket.emit (events.js:315:20)
at addChunk (_stream_readable.js:295:12)
at readableAddChunk (_stream_readable.js:271:9)
at Socket.Readable.push (_stream_readable.js:212:10)
at TCP.onStreamRead (internal/stream_base_commons.js:186:23)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reported call sites in node_modules/mailer/node_modules/nodemailer/lib/starttls.js and lib/smtp.js, then check the installed Node.js and dependency versions that produce the createCredentials error. Confirm whether the failure can be reproduced; the repository is marked deprecated, so completion would require a clearly supported resolution rather than an unverified patch.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100