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

TypeError: binary is not a function #9

Closed
joech4n opened this issue Nov 2, 2016 · 4 comments
Closed

TypeError: binary is not a function #9

joech4n opened this issue Nov 2, 2016 · 4 comments

Comments

@joech4n
Copy link

joech4n commented Nov 2, 2016

Hi, I'm getting the following error when activating the workflow. Any ideas what's causing it?

```
TypeError: binary is not a function
    at ClientRequest.<anonymous> (/usr/local/lib/node_modules/alfred-emoj/node_modules/got/index.js:44:62)
```

-
Emoj 0.2.0
Alfred 3.1.1
darwin x64 14.5.0
@sindresorhus
Copy link
Owner

I would guess you're on an outdated Node.js version. Try upgrading to the latest.

@joech4n
Copy link
Author

joech4n commented Nov 3, 2016

Thad did it! Upgrading from:

 ❯ node --version                                                                                                              [08:07:18]
v5.5.0

to:

 ❯ node --version                                                                                                              [08:22:49]
v7.0.0

fixed it. Thank you!

@joech4n joech4n closed this as completed Nov 3, 2016
@SamVerschueren
Copy link
Contributor

Strange, it should work for Node 4+.

@pakair
Copy link

pakair commented Jun 5, 2018

5 Jun 07:57:30 - [info] Node-RED version: v0.18.7
5 Jun 07:57:30 - [info] Node.js version: v4.2.6
5 Jun 07:57:30 - [info] Linux 4.13.0-43-generic x64 LE
...
5 Jun 07:57:31 - [info] Starting flows
5 Jun 07:57:31 - [info] Started flows
5 Jun 07:57:36 - [red] Uncaught Exception:
5 Jun 07:57:36 - TypeError: binary is not a function
at Function.from (native)
at Function.from (native)
at /usr/local/lib/node_modules/node-red/nodes/core/core/75-exec.js:135:46
at ChildProcess.exithandler (child_process.js:220:5)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at maybeClose (internal/child_process.js:821:16)
at Socket. (internal/child_process.js:319:11)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)

I get similar error, what can I do? thanks.

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

4 participants