Marak / Marak/node_mailer

TypeError: require(...).createCredentials is not a function

Open
#79 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.