Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_net2.default.connect - is not a function #168

Closed
osterland opened this issue Feb 7, 2018 · 1 comment
Closed

_net2.default.connect - is not a function #168

osterland opened this issue Feb 7, 2018 · 1 comment

Comments

@osterland
Copy link

osterland commented Feb 7, 2018

After the babel fixes, i tried to implement emailJS a second time and run into another error

logger.js:25 [ERROR][2018-02-07T16:28:03.156Z][1][m03f3be9][localhost] Could not connect to server TypeError: _net2.default.connect is not a function log @ logger.js:25 error @ logger.js:33 error @ client.js:1028 (anonymous) @ client.js:143 step @ client.js:30 (anonymous) @ client.js:30 t.invoke @ polyfills.js:3 onInvoke @ core.js:4629 t.invoke @ polyfills.js:3 r.run @ polyfills.js:3 (anonymous) @ polyfills.js:3 t.invokeTask @ polyfills.js:3 onInvokeTask @ core.js:4620 t.invokeTask @ polyfills.js:3 r.runTask @ polyfills.js:3 o @ polyfills.js:3 e.invokeTask @ polyfills.js:3 p @ polyfills.js:2 v @ polyfills.js:2 logger.js:19 [DEBUG][2018-02-07T16:28:03.157Z][1][m03f3be9][localhost] Entering state: 5 logger.js:19 [DEBUG][2018-02-07T16:28:03.157Z][1][m03f3be9][localhost] Closing connection... core.js:1350 ERROR Error: Uncaught (in promise): TypeError: _net2.default.connect is not a function TypeError: _net2.default.connect is not a function at new TCPSocket (node-socket.js:53) at Function.open (node-socket.js:27) at Promise (imap.js:143) at new t (polyfills.js:3) at Imap.connect (imap.js:142) at Promise (client.js:155) at new t (polyfills.js:3) at Client._openConnection (client.js:151) at client.js:128 at Generator.next (<anonymous>) at new TCPSocket (node-socket.js:53) at Function.open (node-socket.js:27) at Promise (imap.js:143) at new t (polyfills.js:3) at Imap.connect (imap.js:142) at Promise (client.js:155) at new t (polyfills.js:3) at Client._openConnection (client.js:151) at client.js:128 at Generator.next (<anonymous>) at c (polyfills.js:3) at c (polyfills.js:3) at polyfills.js:3 at t.invokeTask (polyfills.js:3) at Object.onInvokeTask (core.js:4620) at t.invokeTask (polyfills.js:3) at r.runTask (polyfills.js:3) at o (polyfills.js:3) at e.invokeTask [as invoke] (polyfills.js:3) at p (polyfills.js:2)

The File where the error is thrown is node-socket.js

I manually installed the emailJs tcp socket shims with no luck. I guess im doing sth. really stupid wrong. Cause i could not find anybody else running in this error.

What am i missing here?

ty Kevin

@felixhammerl
Copy link
Contributor

To be continued in #171

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants