Git Product home page Git Product logo

Comments (9)

synox avatar synox commented on July 18, 2024

Looks like

require('array.prototype.flatmap').shim()
is not loaded.

from void-mail.

synox avatar synox commented on July 18, 2024

I was able to preproduce the problem.

Can you please share your pm2 config?

from void-mail.

erm3nda avatar erm3nda commented on July 18, 2024

from void-mail.

synox avatar synox commented on July 18, 2024

Maybe you could add to https://github.com/synox/void-mail/blob/master/docs/installation.md how to use pm2.

I am working on a patch, its coming soon today.

from void-mail.

synox avatar synox commented on July 18, 2024

Commit e818f06 should resolve the issue. Please test.

from void-mail.

erm3nda avatar erm3nda commented on July 18, 2024

from void-mail.

synox avatar synox commented on July 18, 2024

You can update now.

from void-mail.

erm3nda avatar erm3nda commented on July 18, 2024

Fixed, thanks.

from void-mail.

erm3nda avatar erm3nda commented on July 18, 2024

The problem is there again. Seems that is being triggered by a new email.

0|email | > [email protected] start /root/email
0|email | > node ./app.js
0|email |

/root/.pm2/logs/email-error.log last 15 lines:
0|email | (node:2179) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
0|email | (node:2179) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
0|email | (node:7942) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'toLowerCase' of undefined
0|email | at MailRepository.add (/root/email/domain/mail-repository.js:22:29)
0|email | at mail.to.forEach.to (/root/email/application/mail-processing-service.js:56:24)
0|email | at Array.forEach ()
0|email | at MailProcessingService.onNewMail (/root/email/application/mail-processing-service.js:55:11)
0|email | at ImapService.imapService.on.mail (/root/email/app.js:28:24)
0|email | at ImapService.emit (events.js:198:13)
0|email | at mails.forEach.mail (/root/email/application/imap-service.js:222:11)
0|email | at Array.forEach ()
0|email | at ImapService._getMailHeadersAndEmitAsEvents (/root/email/application/imap-service.js:218:10)
0|email | at process._tickCallback (internal/process/next_tick.js:68:7)
0|email | (node:7942) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
0|email | (node:7942) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

from void-mail.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.