GithubHelp home page GithubHelp logo

terminal-slack's Introduction

Terminal Slack

A terminal interface for Slack.

Screenshot of Termianl Slack

Controls

Command Key Combination
Move up up arrow or k
Down up down arrow or j
Search /
Exit esc
Select channels list ctrl + c
Select users list ctrl + u
Select writing area ctrl + w
Select message list ctrl + l

Prerequsites

Setup

  1. Download this repository:

    git clone https://github.com/evanyeung/terminal-slack.git
    
  2. Enter the directory:

    cd terminal-slack
    
  3. Install the package:

    npm install
    
  4. Create your Legacy Slack API token.

  5. Install your token on your local machine, inserting your token between the quotes:

    export SLACK_TOKEN='your-slack-token-here'
    
  6. Run the application:

    node main.js
    
  7. Terminal Slack should now launch.

Troubleshooting

  • Terminal Slack opens for a second but then closes again

    This might be due to your SLACK_TOKEN not being recognised. Make sure the put your SLACK_TOKEN between the two single quotes when exporting it:

    export SLACK_TOKEN='xoxp-254112160503-252950188691-252375361712-6cbf56aada30951a9d310a5f23d032a0'
    

terminal-slack's People

Contributors

aaron-hartwig avatar alexkahn139 avatar avindra avatar bryant1410 avatar evanyeung avatar jas14 avatar kcsoderstrom avatar passabilities avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

terminal-slack's Issues

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode

I get the following error on first load:
`let users;
^^^

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:374:25)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Function.Module.runMain (module.js:442:10)
at startup (node.js:136:18)
at node.js:966:3
'
I also get the following errors on npm install:

'npm WARN [email protected] requires a peer of eslint-plugin-import@^1.16.0 but none was installed.
npm WARN [email protected] requires a peer of eslint-plugin-import@^1.16.0 but none was installed.
'
Environment:
4.4.0-62-generic #83-Ubuntu SMP Wed Jan 18 14:10:15 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Exit gracefully when SLACK_TOKEN is not set

I read the README but decided I'd try node main.js anyway and got this error:

TypeError: Cannot read property 'map' of undefined
    at /home/zach/code/terminal-slack/main.js:77:17
    at Request._callback (/home/zach/code/terminal-slack/slackClient.js:34:26)
    at Request.self.callback (/home/zach/code/terminal-slack/node_modules/request/request.js:368:22)
    at emitTwo (events.js:87:13)
    at Request.emit (events.js:172:7)
    at Request.<anonymous> (/home/zach/code/terminal-slack/node_modules/request/request.js:1219:14)
    at emitOne (events.js:82:20)
    at Request.emit (events.js:169:7)
    at IncomingMessage.<anonymous> (/home/zach/code/terminal-slack/node_modules/request/request.js:1167:12)
    at emitNone (events.js:72:20)

It would be better if the user had a friendly message and followed by process.exit(1).

Exception on joining developer channel

I could join my team's main channel on Slack, but when trying to join the "devroom" channel, which is intended for developers talking about non-work related stuff, the app crashes with the following stacktrace:

➀ node main.js
TypeError: Cannot read property 'ts' of undefined
    at /Users/logc/Applications/terminal-slack/main.js:150:60
    at /Users/logc/Applications/terminal-slack/slackClient.js:65:30
    at Request._callback (/Users/logc/Applications/terminal-slack/slackClient.js:34:25)
    at Request.self.callback (/Users/logc/Applications/terminal-slack/node_modules/request/request.js:368:22)
    at emitTwo (events.js:100:13)
    at Request.emit (events.js:185:7)
    at Request.<anonymous> (/Users/logc/Applications/terminal-slack/node_modules/request/request.js:1219:14)
    at emitOne (events.js:95:20)
    at Request.emit (events.js:182:7)
    at IncomingMessage.<anonymous> (/Users/logc/Applications/terminal-slack/node_modules/request/request.js:1167:12)

The code is cloned from this repository, at commit c21b181.

Thanks for your work on this app!

Proxy settings

Can I set proxy settings?
PS desktop client does not allow to specify the proxy server port

Symbol not found

I just cloned the repo to my desktop and exported my SLACK_TOKEN. I am getting the following error:

~/Desktop/terminal-slack(branch:master) Β» node main.js                                                                                                                                                                                                 Passa@Passas-MacBook-Pro
dyld: lazy symbol binding failed: Symbol not found: _node_module_register
  Referenced from: /Users/Passa/Desktop/terminal-slack/node_modules/ws/node_modules/bufferutil/build/Release/bufferutil.node
  Expected in: dynamic lookup

dyld: Symbol not found: _node_module_register
  Referenced from: /Users/Passa/Desktop/terminal-slack/node_modules/ws/node_modules/bufferutil/build/Release/bufferutil.node
  Expected in: dynamic lookup

[1]    44659 trace trap  node main.js

Any ideas whats going on?

You asked more details about error

den:~/projects/terminal-slack [j1] (master ?) $ git pull
remote: Counting objects: 3, done.
remote: Total 3 (delta 2), reused 2 (delta 2), pack-reused 1
Unpacking objects: 100% (3/3), done.
From https://github.com/evanyeung/terminal-slack
   f3c79df..e55a23a  master     -> origin/master
Updating f3c79df..e55a23a
Fast-forward
 readme.md | 2 ++
 1 file changed, 2 insertions(+)
den:~/projects/terminal-slack [j1] (master ?) $ yarn 
yarn install v0.22.0
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.66s.
den:~/projects/terminal-slack [j1] (master ?) $ yarn upgrade
yarn upgrade v0.22.0
[1/4] Resolving packages...
[2/4] Fetching packages...
β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ[3/4] Linking dependencies...
warning "[email protected]" has incorrect peer dependency "eslint-plugin-import@^1.16.0".
warning "[email protected]" has incorrect peer dependency "eslint-plugin-import@^1.16.0".
β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘[4/4] Rebuilding all packages...
[1/2] β‘€ bufferutil:              ^~~~~~~~~~~~~~~
[2/2] β‘€ utf-8-validate:              ^~~~~~~~~~~~~~~
[-/2] β‘€ waiting...
[-/2] β’€ waiting...
warning Error running install script for optional dependency: "/home/den/projects/terminal-slack/node_modules/utf-8-validate: Command failed.\nExit code: 1\nCommand: sh\nArguments: -c node-gyp rebuild\nDirectory: /home/den/projects/terminal-slack/node_modules/utf-8-validate\nOutput:\ngyp info it worked if it ends with ok\ngyp info using [email protected]\ngyp info using [email protected] | linux | x64\ngyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR\ngyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR\ngyp info spawn /usr/bin/python2\ngyp info spawn args [ '/home/den/.nvm/versions/node/v7.2.0/lib/node_modules/yarn/node_modules/node-gyp/gyp/gyp_main.py',\ngyp info spawn args   'binding.gyp',\ngyp info spawn args   '-f',\ngyp info spawn args   'make',\ngyp info spawn args   '-I',\ngyp info spawn args   '/home/den/projects/terminal-slack/node_modules/utf-8-validate/build/config.gypi',\ngyp info spawn args   '-I',\ngyp info spawn args   '/home/den/.nvm/versions/node/v7.2.0/lib/node_modules/yarn/node_modules/node-gyp/addon.gypi',\ngyp info spawn args   '-I',\ngyp info spawn args   '/home/den/.node-gyp/7.2.0/include/node/common.gypi',\ngyp info spawn args   '-Dlibrary=shared_library',\ngyp info spawn args   '-Dvisibility=default',\ngyp info spawn args   '-Dnode_root_dir=/home/den/.node-gyp/7.2.0',\ngyp info spawn args   '-Dnode_gyp_dir=/home/den/.nvm/versions/node/v7.2.0/lib/node_modules/yarn/node_modules/node-gyp',\ngyp info spawn args   '-Dnode_lib_file=node.lib',\ngyp info spawn args   '-Dmodule_root_dir=/home/den/projects/terminal-slack/node_modules/utf-8-validate',\ngyp info spawn args   '-Dnode_engine=v8',\ngyp info spawn args   '--depth=.',\ngyp info spawn args   '--no-parallel',\ngyp info spawn args   '--generator-output',\ngyp info spawn args   'build',\ngyp info spawn args   '-Goutput_dir=.' ]\ngyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR\ngypmake: Entering directory '/home/den/projects/terminal-slack/node_modules/utf-8-validate/build'\n info spawn make\ngyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]\n  CXX(target) Release/obj.target/validation/src/validation.o\nIn file included from ../../nan/nan.h:82:0,\n                 from ../src/validation.cc:15:\n../../nan/nan_new.h: In function β€˜v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Int32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’:\n../../nan/nan_new.h:34:64: warning: β€˜v8::Local<v8::Int32> v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]\n To<v8::Int32>(v8::Handle<v8::Integer> i)   { return i->ToInt32(); }\n                                                                ^\nIn file included from ../src/validation.cc:7:0:\n/home/den/.node-gyp/7.2.0/include/node/v8.h:8442:14: note: declared here\n Local<Int32> Value::ToInt32() const {\n              ^~~~~\nIn file included from ../../nan/nan.h:82:0,\n                 from ../src/validation.cc:15:\n../../nan/nan_new.h: In function β€˜v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Uint32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’:\n../../nan/nan_new.h:39:65: warning: β€˜v8::Local<v8::Uint32> v8::Value::ToUint32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]\n To<v8::Uint32>(v8::Handle<v8::Integer> i)  { return i->ToUint32(); }\n                                                                 ^\nIn file included from ../src/validation.cc:7:0:\n/home/den/.node-gyp/7.2.0/include/node/v8.h:8436:15: note: declared here\n Local<Uint32> Value::ToUint32() const {\n               ^~~~~\nIn file included from ../../nan/nan_new.h:189:0,\n                 from ../../nan/nan.h:82,\n                 from ../src/validation.cc:15:\n../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::BooleanObject>::return_t NanIntern::Factory<v8::BooleanObject>::New(bool)’:\n../../nan/nan_implementation_12_inl.h:49:38: warning: β€˜static v8::Local<v8::Value> v8::BooleanObject::New(bool)’ is deprecated: Pass an isolate [-Wdeprecated-declarations]\n   return v8::BooleanObject::New(value).As<v8::BooleanObject>();\n                                      ^\nIn file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,\n                 from ../src/validation.cc:7:\n/home/den/.node-gyp/7.2.0/include/node/v8.h:4048:56: note: declared here\n   V8_DEPRECATED(\"Pass an isolate\", static Local<Value> New(bool value));\n                                                        ^\n/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’\n   declarator __attribute__((deprecated(message)))\n   ^~~~~~~~~~\nIn file included from ../../nan/nan_new.h:189:0,\n                 from ../../nan/nan.h:82,\n                 from ../src/validation.cc:15:\n../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>)’:\n../../nan/nan_implementation_12_inl.h:166:69: warning: β€˜static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]\n   return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);\n                                                                     ^\nIn file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,\n                 from ../src/validation.cc:7:\n/home/den/.node-gyp/7.2.0/include/node/v8.h:1321:21: note: declared here\n       Local<Script> Compile(Isolate* isolate, Source* source,\n                     ^\n/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’\n   declarator __attribute__((deprecated(message)))\n   ^~~~~~~~~~\nIn file included from ../../nan/nan_new.h:189:0,\n                 from ../../nan/nan.h:82,\n                 from ../src/validation.cc:15:\n../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’:\n../../nan/nan_implementation_12_inl.h:173:69: warning: β€˜static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]\n   return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);\n                                                                     ^\nIn file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,\n                 from ../src/validation.cc:7:\n/home/den/.node-gyp/7.2.0/include/node/v8.h:1321:21: note: declared here\n       Local<Script> Compile(Isolate* isolate, Source* source,\n                     ^\n/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’\n   declarator __attribute__((deprecated(message)))\n   ^~~~~~~~~~\nIn file included from ../../nan/nan_new.h:189:0,\n                 from ../../nan/nan.h:82,\n                 from ../src/validation.cc:15:\n../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(const uint8_t*, int)’:\n../../nan/nan_implementation_12_inl.h:206:42: warning: β€˜static v8::Local<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::String::NewStringType, int)’ is deprecated: Use maybe version [-Wdeprecated-declarations]\n         v8::String::kNormalString, length);\n                                          ^\nIn file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,\n                 from ../src/validation.cc:7:\n/home/den/.node-gyp/7.2.0/include/node/v8.h:2317:21: note: declared here\n       Local<String> NewFromOneByte(Isolate* isolate, const uint8_t* data,\n                     ^\n/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’\n   declarator __attribute__((deprecated(message)))\n   ^~~~~~~~~~\nIn file included from ../../nan/nan_new.h:189:0,\n                 from ../../nan/nan.h:82,\n                 from ../src/validation.cc:15:\n../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(v8::String::ExternalStringResource*)’:\n../../nan/nan_implementation_12_inl.h:217:66: warning: β€˜static v8::Local<v8::String> v8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*)’ is deprecated: Use maybe version [-Wdeprecated-declarations]\n   return v8::String::NewExternal(v8::Isolate::GetCurrent(), value);\n                                                                  ^\nIn file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,\n                 from ../src/validation.cc:7:\n/home/den/.node-gyp/7.2.0/include/node/v8.h:2355:38: note: declared here\n                        Local<String> NewExternal(\n                                      ^\n/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’\n   declarator __attribute__((deprecated(message)))\n   ^~~~~~~~~~\nIn file included from ../../nan/nan_new.h:189:0,\n                 from ../../nan/nan.h:82,\n                 from ../src/validation.cc:15:\n../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>)’:\n../../nan/nan_implementation_12_inl.h:237:30: warning: β€˜static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]\n   return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);\n                              ^~~~~~~~~~~~~~\nIn file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,\n                 from ../src/validation.cc:7:\n/home/den/.node-gyp/7.2.0/include/node/v8.h:1301:45: note: declared here\n                        Local<UnboundScript> CompileUnbound(\n                                             ^\n/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’\n   declarator __attribute__((deprecated(message)))\n   ^~~~~~~~~~\nIn file included from ../../nan/nan_new.h:189:0,\n                 from ../../nan/nan.h:82,\n                 from ../src/validation.cc:15:\n../../nan/nan_implementation_12_inl.h:237:76: warning: β€˜static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]\n   return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);\n                                                                            ^\nIn file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,\n                 from ../src/validation.cc:7:\n/home/den/.node-gyp/7.2.0/include/node/v8.h:1301:45: note: declared here\n                        Local<UnboundScript> CompileUnbound(\n                                             ^\n/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’\n   declarator __attribute__((deprecated(message)))\n   ^~~~~~~~~~\nIn file included from ../../nan/nan_new.h:189:0,\n                 from ../../nan/nan.h:82,\n                 from ../src/validation.cc:15:\n../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’:\n../../nan/nan_implementation_12_inl.h:244:30: warning: β€˜static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]\n   return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);\n                              ^~~~~~~~~~~~~~\nIn file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,\n                 from ../src/validation.cc:7:\n/home/den/.node-gyp/7.2.0/include/node/v8.h:1301:45: note: declared here\n                        Local<UnboundScript> CompileUnbound(\n                                             ^\n/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’\n   declarator __attribute__((deprecated(message)))\n   ^~~~~~~~~~\nIn file included from ../../nan/nan_new.h:189:0,\n                 from ../../nan/nan.h:82,\n                 from ../src/validation.cc:15:\n../../nan/nan_implementation_12_inl.h:244:76: warning: β€˜static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]\n   return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);\n                                                                            ^\nIn file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,\n                 from ../src/validation.cc:7:\n/home/den/.node-gyp/7.2.0/include/node/v8.h:1301:45: note: declared here\n                        Local<UnboundScript> CompileUnbound(\n                                             ^\n/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’\n   declarator __attribute__((deprecated(message)))\n   ^~~~~~~~~~\nIn file included from ../src/validation.cc:15:0:\n../../nan/nan.h: At global scope:\n../../nan/nan.h:261:25: error: redefinition of β€˜template<class T> v8::Local<T> _NanEnsureLocal(v8::Local<T>)’\n NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {\n                         ^~~~~~~~~~~~~~~\n../../nan/nan.h:256:25: note: β€˜template<class T> v8::Local<T> _NanEnsureLocal(v8::Handle<T>)’ previously declared here\n NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {\n                         ^~~~~~~~~~~~~~~\n../../nan/nan.h: In function β€˜bool NanIdleNotification(int)’:\n../../nan/nan.h:289:71: warning: β€˜bool v8::Isolate::IdleNotification(int)’ is deprecated: use IdleNotificationDeadline() [-Wdeprecated-declarations]\n     return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms);\n                                                                       ^\nIn file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,\n                 from ../src/validation.cc:7:\n/home/den/.node-gyp/7.2.0/include/node/v8.h:6290:22: note: declared here\n                 bool IdleNotification(int idle_time_in_ms));\n                      ^\n/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’\n   declarator __attribute__((deprecated(message)))\n   ^~~~~~~~~~\nIn file included from ../src/validation.cc:15:0:\n../../nan/nan.h: At global scope:\n../../nan/nan.h:473:20: error: variable or field β€˜NanAddGCEpilogueCallback’ declared void\n       v8::Isolate::GCEpilogueCallback callback\n                    ^~~~~~~~~~~~~~~~~~\n../../nan/nan.h:473:7: error: β€˜GCEpilogueCallback’ is not a member of β€˜v8::Isolate’\n       v8::Isolate::GCEpilogueCallback callback\n       ^~\n../../nan/nan.h:474:18: error: expected primary-expression before β€˜gc_type_filter’\n     , v8::GCType gc_type_filter = v8::kGCTypeAll) {\n                  ^~~~~~~~~~~~~~\n../../nan/nan.h:479:20: error: variable or field β€˜NanRemoveGCEpilogueCallback’ declared void\n       v8::Isolate::GCEpilogueCallback callback) {\n                    ^~~~~~~~~~~~~~~~~~\n../../nan/nan.h:479:7: error: β€˜GCEpilogueCallback’ is not a member of β€˜v8::Isolate’\n       v8::Isolate::GCEpilogueCallback callback) {\n       ^~\n../../nan/nan.h:484:20: error: variable or field β€˜NanAddGCPrologueCallback’ declared void\n       v8::Isolate::GCPrologueCallback callback\n                    ^~~~~~~~~~~~~~~~~~\n../../nan/nan.h:484:7: error: β€˜GCPrologueCallback’ is not a member of β€˜v8::Isolate’\n       v8::Isolate::GCPrologueCallback callback\n       ^~\n../../nan/nan.h:485:18: error: expected primary-expression before β€˜gc_type_filter’\n     , v8::GCType gc_type_filter = v8::kGCTypeAll) {\n                  ^~~~~~~~~~~~~~\n../../nan/nan.h:490:20: error: variable or field β€˜NanRemoveGCPrologueCallback’ declared void\n       v8::Isolate::GCPrologueCallback callback) {\n                    ^~~~~~~~~~~~~~~~~~\n../../nan/nan.h:490:7: error: β€˜GCPrologueCallback’ is not a member of β€˜v8::Isolate’\n       v8::Isolate::GCPrologueCallback callback) {\n       ^~\n../../nan/nan.h:569:15: error: β€˜WeakCallbackData’ in namespace β€˜v8’ does not name a template type\n     const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) {\n               ^~~~~~~~~~~~~~~~\n../../nan/nan.h:569:31: error: expected β€˜,’ or β€˜...’ before β€˜<’ token\n     const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) {\n                               ^\n../../nan/nan.h: In function β€˜void _NanWeakCallbackDispatcher(int)’:\n../../nan/nan.h:570:42: error: β€˜data’ was not declared in this scope\n       _NanWeakCallbackInfo<T, P> *info = data.GetParameter();\n                                          ^~~~\n../../nan/nan.h: At global scope:\n../../nan/nan.h:661:13: error: β€˜node::smalloc’ has not been declared\n     , node::smalloc::FreeCallback callback\n             ^~~~~~~\n../../nan/nan.h:661:35: error: expected β€˜,’ or β€˜...’ before β€˜callback’\n     , node::smalloc::FreeCallback callback\n                                   ^~~~~~~~\n../../nan/nan.h: In function β€˜v8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)’:\n../../nan/nan.h:665:50: error: β€˜callback’ was not declared in this scope\n         v8::Isolate::GetCurrent(), data, length, callback, hint);\n                                                  ^~~~~~~~\n../../nan/nan.h:665:60: error: β€˜hint’ was not declared in this scope\n         v8::Isolate::GetCurrent(), data, length, callback, hint);\n                                                            ^~~~\n../../nan/nan.h: In function β€˜v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)’:\n../../nan/nan.h:672:67: error: invalid conversion from β€˜const char*’ to β€˜char*’ [-fpermissive]\n     return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);\n                                                                   ^\nIn file included from ../src/validation.cc:10:0:\n/home/den/.node-gyp/7.2.0/include/node/node_buffer.h:46:40: note:   initializing argument 2 of β€˜v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)’\n NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,\n                                        ^~~\nIn file included from ../src/validation.cc:15:0:\n../../nan/nan.h:672:29: error: could not convert β€˜node::Buffer::New(v8::Isolate::GetCurrent(), ((char*)data), ((size_t)size))’ from β€˜v8::MaybeLocal<v8::Object>’ to β€˜v8::Local<v8::Object>’\n     return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);\n            ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n../../nan/nan.h: In function β€˜v8::Local<v8::Object> NanNewBufferHandle(uint32_t)’:\n../../nan/nan.h:676:29: error: could not convert β€˜node::Buffer::New(v8::Isolate::GetCurrent(), ((size_t)size))’ from β€˜v8::MaybeLocal<v8::Object>’ to β€˜v8::Local<v8::Object>’\n     return node::Buffer::New(v8::Isolate::GetCurrent(), size);\n            ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n../../nan/nan.h: In function β€˜v8::Local<v8::Object> NanBufferUse(char*, uint32_t)’:\n../../nan/nan.h:683:12: error: β€˜Use’ is not a member of β€˜node::Buffer’\n     return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);\n            ^~~~\n../../nan/nan.h: In function β€˜v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>, const v8::ScriptOrigin&)’:\n../../nan/nan.h:710:74: warning: β€˜static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]\n     return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);\n                                                                          ^\nIn file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,\n                 from ../src/validation.cc:7:\n/home/den/.node-gyp/7.2.0/include/node/v8.h:1321:21: note: declared here\n       Local<Script> Compile(Isolate* isolate, Source* source,\n                     ^\n/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’\n   declarator __attribute__((deprecated(message)))\n   ^~~~~~~~~~\nIn file included from ../src/validation.cc:15:0:\n../../nan/nan.h: In function β€˜v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>)’:\n../../nan/nan.h:717:74: warning: β€˜static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]\n     return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);\n                                                                          ^\nIn file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,\n                 from ../src/validation.cc:7:\n/home/den/.node-gyp/7.2.0/include/node/v8.h:1321:21: note: declared here\n       Local<Script> Compile(Isolate* isolate, Source* source,\n                     ^\n/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’\n   declarator __attribute__((deprecated(message)))\n   ^~~~~~~~~~\n../src/validation.cc: In static member function β€˜static void Validation::Initialize(v8::Handle<v8::Object>)’:\n../src/validation.cc:112:62: error: call of overloaded β€˜NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [12], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous\n     NODE_SET_METHOD(t, \"isValidUTF8\", Validation::IsValidUTF8);\n                                                              ^\nIn file included from ../src/validation.cc:8:0:\n/home/den/.node-gyp/7.2.0/include/node/node.h:238:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)\n inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,\n             ^~~~~~~~~~~~~~~\n/home/den/.node-gyp/7.2.0/include/node/node.h:251:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback)\n inline void NODE_SET_METHOD(v8::Local<v8::Object> recv,\n             ^~~~~~~~~~~~~~~\nvalidation.target.mk:96: recipe for target 'Release/obj.target/validation/src/validation.o' failed\nmake: Leaving directory '/home/den/projects/terminal-slack/node_modules/utf-8-validate/build'\nmake: *** [Release/obj.target/validation/src/validation.o] Error 1\ngyp ERR! build error \ngyp ERR! stack Error: `make` failed with exit code: 2\ngyp ERR! stack     at ChildProcess.onExit (/home/den/.nvm/versions/node/v7.2.0/lib/node_modules/yarn/node_modules/node-gyp/lib/build.js:285:23)\ngyp ERR! stack     at emitTwo (events.js:106:13)\ngyp ERR! stack     at ChildProcess.emit (events.js:191:7)\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)\ngyp ERR! System Linux 4.8.0-48-generic\ngyp ERR! command \"/home/den/.nvm/versions/node/v7.2.0/bin/node\" \"/home/den/.nvm/versions/node/v7.2.0/lib/node_modules/yarn/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\ngyp ERR! cwd /home/den/projects/terminal-slack/node_modules/utf-8-validate\ngyp ERR! node -v v7.2.0\ngyp ERR! node-gyp -v v3.6.0\ngyp ERR! not ok"
info This module is OPTIONAL, you can safely ignore this error
warning Error running install script for optional dependency: "/home/den/projects/terminal-slack/node_modules/bufferutil: Command failed.\nExit code: 1\nCommand: sh\nArguments: -c node-gyp rebuild\nDirectory: /home/den/projects/terminal-slack/node_modules/bufferutil\nOutput:\ngyp info it worked if it ends with ok\ngyp info using [email protected]\ngyp info using [email protected] | linux | x64\ngyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR\ngyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR\ngyp info spawn /usr/bin/python2\ngyp info spawn args [ '/home/den/.nvm/versions/node/v7.2.0/lib/node_modules/yarn/node_modules/node-gyp/gyp/gyp_main.py',\ngyp info spawn args   'binding.gyp',\ngyp info spawn args   '-f',\ngyp info spawn args   'make',\ngyp info spawn args   '-I',\ngyp info spawn args   '/home/den/projects/terminal-slack/node_modules/bufferutil/build/config.gypi',\ngyp info spawn args   '-I',\ngyp info spawn args   '/home/den/.nvm/versions/node/v7.2.0/lib/node_modules/yarn/node_modules/node-gyp/addon.gypi',\ngyp info spawn args   '-I',\ngyp info spawn args   '/home/den/.node-gyp/7.2.0/include/node/common.gypi',\ngyp info spawn args   '-Dlibrary=shared_library',\ngyp info spawn args   '-Dvisibility=default',\ngyp info spawn args   '-Dnode_root_dir=/home/den/.node-gyp/7.2.0',\ngyp info spawn args   '-Dnode_gyp_dir=/home/den/.nvm/versions/node/v7.2.0/lib/node_modules/yarn/node_modules/node-gyp',\ngyp info spawn args   '-Dnode_lib_file=node.lib',\ngyp info spawn args   '-Dmodule_root_dir=/home/den/projects/terminal-slack/node_modules/bufferutil',\ngyp info spawn args   '-Dnode_engine=v8',\ngyp info spawn args   '--depth=.',\ngyp info spawn args   '--no-parallel',\ngyp info spawn args   '--generator-output',\ngyp info spawn args   'build',\ngyp info spawn args   '-Goutput_dir=.' ]\ngyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR\ngyp info spawn make\ngyp make: Entering directory '/home/den/projects/terminal-slack/node_modules/bufferutil/build'\ninfo spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]\n  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o\nIn file included from ../../nan/nan.h:82:0,\n                 from ../src/bufferutil.cc:16:\n../../nan/nan_new.h: In function β€˜v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Int32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’:\n../../nan/nan_new.h:34:64: warning: β€˜v8::Local<v8::Int32> v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]\n To<v8::Int32>(v8::Handle<v8::Integer> i)   { return i->ToInt32(); }\n                                                                ^\nIn file included from ../src/bufferutil.cc:7:0:\n/home/den/.node-gyp/7.2.0/include/node/v8.h:8442:14: note: declared here\n Local<Int32> Value::ToInt32() const {\n              ^~~~~\nIn file included from ../../nan/nan.h:82:0,\n                 from ../src/bufferutil.cc:16:\n../../nan/nan_new.h: In function β€˜v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Uint32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’:\n../../nan/nan_new.h:39:65: warning: β€˜v8::Local<v8::Uint32> v8::Value::ToUint32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]\n To<v8::Uint32>(v8::Handle<v8::Integer> i)  { return i->ToUint32(); }\n                                                                 ^\nIn file included from ../src/bufferutil.cc:7:0:\n/home/den/.node-gyp/7.2.0/include/node/v8.h:8436:15: note: declared here\n Local<Uint32> Value::ToUint32() const {\n               ^~~~~\nIn file included from ../../nan/nan_new.h:189:0,\n                 from ../../nan/nan.h:82,\n                 from ../src/bufferutil.cc:16:\n../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::BooleanObject>::return_t NanIntern::Factory<v8::BooleanObject>::New(bool)’:\n../../nan/nan_implementation_12_inl.h:49:38: warning: β€˜static v8::Local<v8::Value> v8::BooleanObject::New(bool)’ is deprecated: Pass an isolate [-Wdeprecated-declarations]\n   return v8::BooleanObject::New(value).As<v8::BooleanObject>();\n                                      ^\nIn file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,\n                 from ../src/bufferutil.cc:7:\n/home/den/.node-gyp/7.2.0/include/node/v8.h:4048:56: note: declared here\n   V8_DEPRECATED(\"Pass an isolate\", static Local<Value> New(bool value));\n                                                        ^\n/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’\n   declarator __attribute__((deprecated(message)))\n   ^~~~~~~~~~\nIn file included from ../../nan/nan_new.h:189:0,\n                 from ../../nan/nan.h:82,\n                 from ../src/bufferutil.cc:16:\n../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>)’:\n../../nan/nan_implementation_12_inl.h:166:69: warning: β€˜static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]\n   return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);\n                                                                     ^\nIn file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,\n                 from ../src/bufferutil.cc:7:\n/home/den/.node-gyp/7.2.0/include/node/v8.h:1321:21: note: declared here\n       Local<Script> Compile(Isolate* isolate, Source* source,\n                     ^\n/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’\n   declarator __attribute__((deprecated(message)))\n   ^~~~~~~~~~\nIn file included from ../../nan/nan_new.h:189:0,\n                 from ../../nan/nan.h:82,\n                 from ../src/bufferutil.cc:16:\n../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’:\n../../nan/nan_implementation_12_inl.h:173:69: warning: β€˜static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]\n   return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);\n                                                                     ^\nIn file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,\n                 from ../src/bufferutil.cc:7:\n/home/den/.node-gyp/7.2.0/include/node/v8.h:1321:21: note: declared here\n       Local<Script> Compile(Isolate* isolate, Source* source,\n                     ^\n/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’\n   declarator __attribute__((deprecated(message)))\n   ^~~~~~~~~~\nIn file included from ../../nan/nan_new.h:189:0,\n                 from ../../nan/nan.h:82,\n                 from ../src/bufferutil.cc:16:\n../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(const uint8_t*, int)’:\n../../nan/nan_implementation_12_inl.h:206:42: warning: β€˜static v8::Local<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::String::NewStringType, int)’ is deprecated: Use maybe version [-Wdeprecated-declarations]\n         v8::String::kNormalString, length);\n                                          ^\nIn file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,\n                 from ../src/bufferutil.cc:7:\n/home/den/.node-gyp/7.2.0/include/node/v8.h:2317:21: note: declared here\n       Local<String> NewFromOneByte(Isolate* isolate, const uint8_t* data,\n                     ^\n/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’\n   declarator __attribute__((deprecated(message)))\n   ^~~~~~~~~~\nIn file included from ../../nan/nan_new.h:189:0,\n                 from ../../nan/nan.h:82,\n                 from ../src/bufferutil.cc:16:\n../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(v8::String::ExternalStringResource*)’:\n../../nan/nan_implementation_12_inl.h:217:66: warning: β€˜static v8::Local<v8::String> v8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*)’ is deprecated: Use maybe version [-Wdeprecated-declarations]\n   return v8::String::NewExternal(v8::Isolate::GetCurrent(), value);\n                                                                  ^\nIn file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,\n                 from ../src/bufferutil.cc:7:\n/home/den/.node-gyp/7.2.0/include/node/v8.h:2355:38: note: declared here\n                        Local<String> NewExternal(\n                                      ^\n/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’\n   declarator __attribute__((deprecated(message)))\n   ^~~~~~~~~~\nIn file included from ../../nan/nan_new.h:189:0,\n                 from ../../nan/nan.h:82,\n                 from ../src/bufferutil.cc:16:\n../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>)’:\n../../nan/nan_implementation_12_inl.h:237:30: warning: β€˜static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]\n   return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);\n                              ^~~~~~~~~~~~~~\nIn file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,\n                 from ../src/bufferutil.cc:7:\n/home/den/.node-gyp/7.2.0/include/node/v8.h:1301:45: note: declared here\n                        Local<UnboundScript> CompileUnbound(\n                                             ^\n/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’\n   declarator __attribute__((deprecated(message)))\n   ^~~~~~~~~~\nIn file included from ../../nan/nan_new.h:189:0,\n                 from ../../nan/nan.h:82,\n                 from ../src/bufferutil.cc:16:\n../../nan/nan_implementation_12_inl.h:237:76: warning: β€˜static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]\n   return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);\n                                                                            ^\nIn file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,\n                 from ../src/bufferutil.cc:7:\n/home/den/.node-gyp/7.2.0/include/node/v8.h:1301:45: note: declared here\n                        Local<UnboundScript> CompileUnbound(\n                                             ^\n/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’\n   declarator __attribute__((deprecated(message)))\n   ^~~~~~~~~~\nIn file included from ../../nan/nan_new.h:189:0,\n                 from ../../nan/nan.h:82,\n                 from ../src/bufferutil.cc:16:\n../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’:\n../../nan/nan_implementation_12_inl.h:244:30: warning: β€˜static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]\n   return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);\n                              ^~~~~~~~~~~~~~\nIn file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,\n                 from ../src/bufferutil.cc:7:\n/home/den/.node-gyp/7.2.0/include/node/v8.h:1301:45: note: declared here\n                        Local<UnboundScript> CompileUnbound(\n                                             ^\n/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’\n   declarator __attribute__((deprecated(message)))\n   ^~~~~~~~~~\nIn file included from ../../nan/nan_new.h:189:0,\n                 from ../../nan/nan.h:82,\n                 from ../src/bufferutil.cc:16:\n../../nan/nan_implementation_12_inl.h:244:76: warning: β€˜static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]\n   return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);\n                                                                            ^\nIn file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,\n                 from ../src/bufferutil.cc:7:\n/home/den/.node-gyp/7.2.0/include/node/v8.h:1301:45: note: declared here\n                        Local<UnboundScript> CompileUnbound(\n                                             ^\n/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’\n   declarator __attribute__((deprecated(message)))\n   ^~~~~~~~~~\nIn file included from ../src/bufferutil.cc:16:0:\n../../nan/nan.h: At global scope:\n../../nan/nan.h:261:25: error: redefinition of β€˜template<class T> v8::Local<T> _NanEnsureLocal(v8::Local<T>)’\n NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {\n                         ^~~~~~~~~~~~~~~\n../../nan/nan.h:256:25: note: β€˜template<class T> v8::Local<T> _NanEnsureLocal(v8::Handle<T>)’ previously declared here\n NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {\n                         ^~~~~~~~~~~~~~~\n../../nan/nan.h: In function β€˜bool NanIdleNotification(int)’:\n../../nan/nan.h:289:71: warning: β€˜bool v8::Isolate::IdleNotification(int)’ is deprecated: use IdleNotificationDeadline() [-Wdeprecated-declarations]\n     return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms);\n                                                                       ^\nIn file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,\n                 from ../src/bufferutil.cc:7:\n/home/den/.node-gyp/7.2.0/include/node/v8.h:6290:22: note: declared here\n                 bool IdleNotification(int idle_time_in_ms));\n                      ^\n/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’\n   declarator __attribute__((deprecated(message)))\n   ^~~~~~~~~~\nIn file included from ../src/bufferutil.cc:16:0:\n../../nan/nan.h: At global scope:\n../../nan/nan.h:473:20: error: variable or field β€˜NanAddGCEpilogueCallback’ declared void\n       v8::Isolate::GCEpilogueCallback callback\n                    ^~~~~~~~~~~~~~~~~~\n../../nan/nan.h:473:7: error: β€˜GCEpilogueCallback’ is not a member of β€˜v8::Isolate’\n       v8::Isolate::GCEpilogueCallback callback\n       ^~\n../../nan/nan.h:474:18: error: expected primary-expression before β€˜gc_type_filter’\n     , v8::GCType gc_type_filter = v8::kGCTypeAll) {\n                  ^~~~~~~~~~~~~~\n../../nan/nan.h:479:20: error: variable or field β€˜NanRemoveGCEpilogueCallback’ declared void\n       v8::Isolate::GCEpilogueCallback callback) {\n                    ^~~~~~~~~~~~~~~~~~\n../../nan/nan.h:479:7: error: β€˜GCEpilogueCallback’ is not a member of β€˜v8::Isolate’\n       v8::Isolate::GCEpilogueCallback callback) {\n       ^~\n../../nan/nan.h:484:20: error: variable or field β€˜NanAddGCPrologueCallback’ declared void\n       v8::Isolate::GCPrologueCallback callback\n                    ^~~~~~~~~~~~~~~~~~\n../../nan/nan.h:484:7: error: β€˜GCPrologueCallback’ is not a member of β€˜v8::Isolate’\n       v8::Isolate::GCPrologueCallback callback\n       ^~\n../../nan/nan.h:485:18: error: expected primary-expression before β€˜gc_type_filter’\n     , v8::GCType gc_type_filter = v8::kGCTypeAll) {\n                  ^~~~~~~~~~~~~~\n../../nan/nan.h:490:20: error: variable or field β€˜NanRemoveGCPrologueCallback’ declared void\n       v8::Isolate::GCPrologueCallback callback) {\n                    ^~~~~~~~~~~~~~~~~~\n../../nan/nan.h:490:7: error: β€˜GCPrologueCallback’ is not a member of β€˜v8::Isolate’\n       v8::Isolate::GCPrologueCallback callback) {\n       ^~\n../../nan/nan.h:569:15: error: β€˜WeakCallbackData’ in namespace β€˜v8’ does not name a template type\n     const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) {\n               ^~~~~~~~~~~~~~~~\n../../nan/nan.h:569:31: error: expected β€˜,’ or β€˜...’ before β€˜<’ token\n     const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) {\n                               ^\n../../nan/nan.h: In function β€˜void _NanWeakCallbackDispatcher(int)’:\n../../nan/nan.h:570:42: error: β€˜data’ was not declared in this scope\n       _NanWeakCallbackInfo<T, P> *info = data.GetParameter();\n                                          ^~~~\n../../nan/nan.h: At global scope:\n../../nan/nan.h:661:13: error: β€˜node::smalloc’ has not been declared\n     , node::smalloc::FreeCallback callback\n             ^~~~~~~\n../../nan/nan.h:661:35: error: expected β€˜,’ or β€˜...’ before β€˜callback’\n     , node::smalloc::FreeCallback callback\n                                   ^~~~~~~~\n../../nan/nan.h: In function β€˜v8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)’:\n../../nan/nan.h:665:50: error: β€˜callback’ was not declared in this scope\n         v8::Isolate::GetCurrent(), data, length, callback, hint);\n                                                  ^~~~~~~~\n../../nan/nan.h:665:60: error: β€˜hint’ was not declared in this scope\n         v8::Isolate::GetCurrent(), data, length, callback, hint);\n                                                            ^~~~\n../../nan/nan.h: In function β€˜v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)’:\n../../nan/nan.h:672:67: error: invalid conversion from β€˜const char*’ to β€˜char*’ [-fpermissive]\n     return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);\n                                                                   ^\nIn file included from ../src/bufferutil.cc:10:0:\n/home/den/.node-gyp/7.2.0/include/node/node_buffer.h:46:40: note:   initializing argument 2 of β€˜v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)’\n NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,\n                                        ^~~\nIn file included from ../src/bufferutil.cc:16:0:\n../../nan/nan.h:672:29: error: could not convert β€˜node::Buffer::New(v8::Isolate::GetCurrent(), ((char*)data), ((size_t)size))’ from β€˜v8::MaybeLocal<v8::Object>’ to β€˜v8::Local<v8::Object>’\n     return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);\n            ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n../../nan/nan.h: In function β€˜v8::Local<v8::Object> NanNewBufferHandle(uint32_t)’:\n../../nan/nan.h:676:29: error: could not convert β€˜node::Buffer::New(v8::Isolate::GetCurrent(), ((size_t)size))’ from β€˜v8::MaybeLocal<v8::Object>’ to β€˜v8::Local<v8::Object>’\n     return node::Buffer::New(v8::Isolate::GetCurrent(), size);\n            ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n../../nan/nan.h: In function β€˜v8::Local<v8::Object> NanBufferUse(char*, uint32_t)’:\n../../nan/nan.h:683:12: error: β€˜Use’ is not a member of β€˜node::Buffer’\n     return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);\n            ^~~~\n../../nan/nan.h: In function β€˜v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>, const v8::ScriptOrigin&)’:\n../../nan/nan.h:710:74: warning: β€˜static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]\n     return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);\n                                                                          ^\nIn file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,\n                 from ../src/bufferutil.cc:7:\n/home/den/.node-gyp/7.2.0/include/node/v8.h:1321:21: note: declared here\n       Local<Script> Compile(Isolate* isolate, Source* source,\n                     ^\n/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’\n   declarator __attribute__((deprecated(message)))\n   ^~~~~~~~~~\nIn file included from ../src/bufferutil.cc:16:0:\n../../nan/nan.h: In function β€˜v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>)’:\n../../nan/nan.h:717:74: warning: β€˜static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]\n     return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);\n                                                                          ^\nIn file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,\n                 from ../src/bufferutil.cc:7:\n/home/den/.node-gyp/7.2.0/include/node/v8.h:1321:21: note: declared here\n       Local<Script> Compile(Isolate* isolate, Source* source,\n                     ^\n/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’\n   declarator __attribute__((deprecated(message)))\n   ^~~~~~~~~~\n../src/bufferutil.cc: In static member function β€˜static void BufferUtil::Initialize(v8::Handle<v8::Object>)’:\n../src/bufferutil.cc:30:52: error: call of overloaded β€˜NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [7], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous\n     NODE_SET_METHOD(t, \"unmask\", BufferUtil::Unmask);\n                                                    ^\nIn file included from ../src/bufferutil.cc:8:0:\n/home/den/.node-gyp/7.2.0/include/node/node.h:238:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)\n inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,\n             ^~~~~~~~~~~~~~~\n/home/den/.node-gyp/7.2.0/include/node/node.h:251:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback)\n inline void NODE_SET_METHOD(v8::Local<v8::Object> recv,\n             ^~~~~~~~~~~~~~~\n../src/bufferutil.cc:31:48: error: call of overloaded β€˜NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [5], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous\n     NODE_SET_METHOD(t, \"mask\", BufferUtil::Mask);\n                                                ^\nIn file included from ../src/bufferutil.cc:8:0:\n/home/den/.node-gyp/7.2.0/include/node/node.h:238:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)\n inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,\n             ^~~~~~~~~~~~~~~\n/home/den/.node-gyp/7.2.0/include/node/node.h:251:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback)\n inline void NODE_SET_METHOD(v8::Local<v8::Object> recv,\n             ^~~~~~~~~~~~~~~\n../src/bufferutil.cc:32:50: error: call of overloaded β€˜NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [6], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous\n     NODE_SET_METHOD(t, \"merge\", BufferUtil::Merge);\n                                                  ^\nIn file included from ../src/bufferutil.cc:8:0:\n/home/den/.node-gyp/7.2.0/include/node/node.h:238:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)\n inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,\n             ^~~~~~~~~~~~~~~\n/home/den/.node-gyp/7.2.0/include/node/node.h:251:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback)\n inline void NODE_SET_METHOD(v8::Local<v8::Object> recv,\n             ^~~~~~~~~~~~~~~\nbufferutil.target.mk:96: recipe for target 'Release/obj.target/bufferutil/src/bufferutil.o' failed\nmake: Leaving directory '/home/den/projects/terminal-slack/node_modules/bufferutil/build'\nmake: *** [Release/obj.target/bufferutil/src/bufferutil.o] Error 1\ngyp ERR! build error \ngyp ERR! stack Error: `make` failed with exit code: 2\ngyp ERR! stack     at ChildProcess.onExit (/home/den/.nvm/versions/node/v7.2.0/lib/node_modules/yarn/node_modules/node-gyp/lib/build.js:285:23)\ngyp ERR! stack     at emitTwo (events.js:106:13)\ngyp ERR! stack     at ChildProcess.emit (events.js:191:7)\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)\ngyp ERR! System Linux 4.8.0-48-generic\ngyp ERR! command \"/home/den/.nsuccess Saved lockfile.
warning Your current version of Yarn is out of date. The latest version is "0.23.2" while you're on "0.22.0".
info To upgrade, run the following command:
$ npm upgrade --global yarn
success Saved 219 new dependencies.
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
β”œβ”€ [email protected]
└─ [email protected]
Done in 7.31s.
den:~/projects/terminal-slack [j1] (master ?) $ export SLACK_TOKEN='53c36aaa7d357a60ab36c7d2f671a530'
den:~/projects/terminal-slack [j1] (master ?) $ node main.js 
den:~/projects/terminal-slack [j1] (master ?) [!1] $ export SLACK_TOKEN='xoxp-140430412996-141032302806-170487704146-7b844b8c'
den:~/projects/terminal-slack [j1] (master ?) $ export SLACK_TOKEN='xoxp-140430412996-141032302806-170487704146-7b844b8e1b844fe6503fe528c09d778c'                             node main.js 
den:~/projects/terminal-slack [j1] (master ?) [!1] $ npm install

> [email protected] install /home/den/projects/terminal-slack/node_modules/bufferutil
> node-gyp rebuild

gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
make: Entering directory '/home/den/projects/terminal-slack/node_modules/bufferutil/build'
  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
In file included from ../../nan/nan.h:82:0,
                 from ../src/bufferutil.cc:16:
../../nan/nan_new.h: In function β€˜v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Int32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’:
../../nan/nan_new.h:34:64: warning: β€˜v8::Local<v8::Int32> v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
 To<v8::Int32>(v8::Handle<v8::Integer> i)   { return i->ToInt32(); }
                                                                ^
In file included from ../src/bufferutil.cc:7:0:
/home/den/.node-gyp/7.2.0/include/node/v8.h:8442:14: note: declared here
 Local<Int32> Value::ToInt32() const {
              ^~~~~
In file included from ../../nan/nan.h:82:0,
                 from ../src/bufferutil.cc:16:
../../nan/nan_new.h: In function β€˜v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Uint32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’:
../../nan/nan_new.h:39:65: warning: β€˜v8::Local<v8::Uint32> v8::Value::ToUint32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
 To<v8::Uint32>(v8::Handle<v8::Integer> i)  { return i->ToUint32(); }
                                                                 ^
In file included from ../src/bufferutil.cc:7:0:
/home/den/.node-gyp/7.2.0/include/node/v8.h:8436:15: note: declared here
 Local<Uint32> Value::ToUint32() const {
               ^~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/bufferutil.cc:16:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::BooleanObject>::return_t NanIntern::Factory<v8::BooleanObject>::New(bool)’:
../../nan/nan_implementation_12_inl.h:49:38: warning: β€˜static v8::Local<v8::Value> v8::BooleanObject::New(bool)’ is deprecated: Pass an isolate [-Wdeprecated-declarations]
   return v8::BooleanObject::New(value).As<v8::BooleanObject>();
                                      ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/bufferutil.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:4048:56: note: declared here
   V8_DEPRECATED("Pass an isolate", static Local<Value> New(bool value));
                                                        ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/bufferutil.cc:16:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>)’:
../../nan/nan_implementation_12_inl.h:166:69: warning: β€˜static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
                                                                     ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/bufferutil.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1321:21: note: declared here
       Local<Script> Compile(Isolate* isolate, Source* source,
                     ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/bufferutil.cc:16:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’:
../../nan/nan_implementation_12_inl.h:173:69: warning: β€˜static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
                                                                     ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/bufferutil.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1321:21: note: declared here
       Local<Script> Compile(Isolate* isolate, Source* source,
                     ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/bufferutil.cc:16:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(const uint8_t*, int)’:
../../nan/nan_implementation_12_inl.h:206:42: warning: β€˜static v8::Local<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::String::NewStringType, int)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         v8::String::kNormalString, length);
                                          ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/bufferutil.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:2317:21: note: declared here
       Local<String> NewFromOneByte(Isolate* isolate, const uint8_t* data,
                     ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/bufferutil.cc:16:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(v8::String::ExternalStringResource*)’:
../../nan/nan_implementation_12_inl.h:217:66: warning: β€˜static v8::Local<v8::String> v8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::String::NewExternal(v8::Isolate::GetCurrent(), value);
                                                                  ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/bufferutil.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:2355:38: note: declared here
                        Local<String> NewExternal(
                                      ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/bufferutil.cc:16:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>)’:
../../nan/nan_implementation_12_inl.h:237:30: warning: β€˜static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                              ^~~~~~~~~~~~~~
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/bufferutil.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1301:45: note: declared here
                        Local<UnboundScript> CompileUnbound(
                                             ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/bufferutil.cc:16:
../../nan/nan_implementation_12_inl.h:237:76: warning: β€˜static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                                                                            ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/bufferutil.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1301:45: note: declared here
                        Local<UnboundScript> CompileUnbound(
                                             ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/bufferutil.cc:16:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’:
../../nan/nan_implementation_12_inl.h:244:30: warning: β€˜static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                              ^~~~~~~~~~~~~~
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/bufferutil.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1301:45: note: declared here
                        Local<UnboundScript> CompileUnbound(
                                             ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/bufferutil.cc:16:
../../nan/nan_implementation_12_inl.h:244:76: warning: β€˜static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                                                                            ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/bufferutil.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1301:45: note: declared here
                        Local<UnboundScript> CompileUnbound(
                                             ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/bufferutil.cc:16:0:
../../nan/nan.h: At global scope:
../../nan/nan.h:261:25: error: redefinition of β€˜template<class T> v8::Local<T> _NanEnsureLocal(v8::Local<T>)’
 NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
                         ^~~~~~~~~~~~~~~
../../nan/nan.h:256:25: note: β€˜template<class T> v8::Local<T> _NanEnsureLocal(v8::Handle<T>)’ previously declared here
 NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
                         ^~~~~~~~~~~~~~~
../../nan/nan.h: In function β€˜bool NanIdleNotification(int)’:
../../nan/nan.h:289:71: warning: β€˜bool v8::Isolate::IdleNotification(int)’ is deprecated: use IdleNotificationDeadline() [-Wdeprecated-declarations]
     return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms);
                                                                       ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/bufferutil.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:6290:22: note: declared here
                 bool IdleNotification(int idle_time_in_ms));
                      ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/bufferutil.cc:16:0:
../../nan/nan.h: At global scope:
../../nan/nan.h:473:20: error: variable or field β€˜NanAddGCEpilogueCallback’ declared void
       v8::Isolate::GCEpilogueCallback callback
                    ^~~~~~~~~~~~~~~~~~
../../nan/nan.h:473:7: error: β€˜GCEpilogueCallback’ is not a member of β€˜v8::Isolate’
       v8::Isolate::GCEpilogueCallback callback
       ^~
../../nan/nan.h:474:18: error: expected primary-expression before β€˜gc_type_filter’
     , v8::GCType gc_type_filter = v8::kGCTypeAll) {
                  ^~~~~~~~~~~~~~
../../nan/nan.h:479:20: error: variable or field β€˜NanRemoveGCEpilogueCallback’ declared void
       v8::Isolate::GCEpilogueCallback callback) {
                    ^~~~~~~~~~~~~~~~~~
../../nan/nan.h:479:7: error: β€˜GCEpilogueCallback’ is not a member of β€˜v8::Isolate’
       v8::Isolate::GCEpilogueCallback callback) {
       ^~
../../nan/nan.h:484:20: error: variable or field β€˜NanAddGCPrologueCallback’ declared void
       v8::Isolate::GCPrologueCallback callback
                    ^~~~~~~~~~~~~~~~~~
../../nan/nan.h:484:7: error: β€˜GCPrologueCallback’ is not a member of β€˜v8::Isolate’
       v8::Isolate::GCPrologueCallback callback
       ^~
../../nan/nan.h:485:18: error: expected primary-expression before β€˜gc_type_filter’
     , v8::GCType gc_type_filter = v8::kGCTypeAll) {
                  ^~~~~~~~~~~~~~
../../nan/nan.h:490:20: error: variable or field β€˜NanRemoveGCPrologueCallback’ declared void
       v8::Isolate::GCPrologueCallback callback) {
                    ^~~~~~~~~~~~~~~~~~
../../nan/nan.h:490:7: error: β€˜GCPrologueCallback’ is not a member of β€˜v8::Isolate’
       v8::Isolate::GCPrologueCallback callback) {
       ^~
../../nan/nan.h:569:15: error: β€˜WeakCallbackData’ in namespace β€˜v8’ does not name a template type
     const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) {
               ^~~~~~~~~~~~~~~~
../../nan/nan.h:569:31: error: expected β€˜,’ or β€˜...’ before β€˜<’ token
     const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) {
                               ^
../../nan/nan.h: In function β€˜void _NanWeakCallbackDispatcher(int)’:
../../nan/nan.h:570:42: error: β€˜data’ was not declared in this scope
       _NanWeakCallbackInfo<T, P> *info = data.GetParameter();
                                          ^~~~
../../nan/nan.h: At global scope:
../../nan/nan.h:661:13: error: β€˜node::smalloc’ has not been declared
     , node::smalloc::FreeCallback callback
             ^~~~~~~
../../nan/nan.h:661:35: error: expected β€˜,’ or β€˜...’ before β€˜callback’
     , node::smalloc::FreeCallback callback
                                   ^~~~~~~~
../../nan/nan.h: In function β€˜v8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)’:
../../nan/nan.h:665:50: error: β€˜callback’ was not declared in this scope
         v8::Isolate::GetCurrent(), data, length, callback, hint);
                                                  ^~~~~~~~
../../nan/nan.h:665:60: error: β€˜hint’ was not declared in this scope
         v8::Isolate::GetCurrent(), data, length, callback, hint);
                                                            ^~~~
../../nan/nan.h: In function β€˜v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)’:
../../nan/nan.h:672:67: error: invalid conversion from β€˜const char*’ to β€˜char*’ [-fpermissive]
     return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
                                                                   ^
In file included from ../src/bufferutil.cc:10:0:
/home/den/.node-gyp/7.2.0/include/node/node_buffer.h:46:40: note:   initializing argument 2 of β€˜v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)’
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^~~
In file included from ../src/bufferutil.cc:16:0:
../../nan/nan.h:672:29: error: could not convert β€˜node::Buffer::New(v8::Isolate::GetCurrent(), ((char*)data), ((size_t)size))’ from β€˜v8::MaybeLocal<v8::Object>’ to β€˜v8::Local<v8::Object>’
     return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
            ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../nan/nan.h: In function β€˜v8::Local<v8::Object> NanNewBufferHandle(uint32_t)’:
../../nan/nan.h:676:29: error: could not convert β€˜node::Buffer::New(v8::Isolate::GetCurrent(), ((size_t)size))’ from β€˜v8::MaybeLocal<v8::Object>’ to β€˜v8::Local<v8::Object>’
     return node::Buffer::New(v8::Isolate::GetCurrent(), size);
            ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../nan/nan.h: In function β€˜v8::Local<v8::Object> NanBufferUse(char*, uint32_t)’:
../../nan/nan.h:683:12: error: β€˜Use’ is not a member of β€˜node::Buffer’
     return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
            ^~~~
../../nan/nan.h: In function β€˜v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>, const v8::ScriptOrigin&)’:
../../nan/nan.h:710:74: warning: β€˜static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
     return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
                                                                          ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/bufferutil.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1321:21: note: declared here
       Local<Script> Compile(Isolate* isolate, Source* source,
                     ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/bufferutil.cc:16:0:
../../nan/nan.h: In function β€˜v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>)’:
../../nan/nan.h:717:74: warning: β€˜static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
     return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
                                                                          ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/bufferutil.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1321:21: note: declared here
       Local<Script> Compile(Isolate* isolate, Source* source,
                     ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/bufferutil.cc: In static member function β€˜static void BufferUtil::Initialize(v8::Handle<v8::Object>)’:
../src/bufferutil.cc:30:52: error: call of overloaded β€˜NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [7], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous
     NODE_SET_METHOD(t, "unmask", BufferUtil::Unmask);
                                                    ^
In file included from ../src/bufferutil.cc:8:0:
/home/den/.node-gyp/7.2.0/include/node/node.h:238:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)
 inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,
             ^~~~~~~~~~~~~~~
/home/den/.node-gyp/7.2.0/include/node/node.h:251:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback)
 inline void NODE_SET_METHOD(v8::Local<v8::Object> recv,
             ^~~~~~~~~~~~~~~
../src/bufferutil.cc:31:48: error: call of overloaded β€˜NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [5], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous
     NODE_SET_METHOD(t, "mask", BufferUtil::Mask);
                                                ^
In file included from ../src/bufferutil.cc:8:0:
/home/den/.node-gyp/7.2.0/include/node/node.h:238:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)
 inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,
             ^~~~~~~~~~~~~~~
/home/den/.node-gyp/7.2.0/include/node/node.h:251:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback)
 inline void NODE_SET_METHOD(v8::Local<v8::Object> recv,
             ^~~~~~~~~~~~~~~
../src/bufferutil.cc:32:50: error: call of overloaded β€˜NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [6], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous
     NODE_SET_METHOD(t, "merge", BufferUtil::Merge);
                                                  ^
In file included from ../src/bufferutil.cc:8:0:
/home/den/.node-gyp/7.2.0/include/node/node.h:238:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)
 inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,
             ^~~~~~~~~~~~~~~
/home/den/.node-gyp/7.2.0/include/node/node.h:251:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback)
 inline void NODE_SET_METHOD(v8::Local<v8::Object> recv,
             ^~~~~~~~~~~~~~~
bufferutil.target.mk:96: recipe for target 'Release/obj.target/bufferutil/src/bufferutil.o' failed
make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Error 1
make: Leaving directory '/home/den/projects/terminal-slack/node_modules/bufferutil/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/den/.nvm/versions/node/v7.2.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:106:13)
gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Linux 4.8.0-48-generic
gyp ERR! command "/home/den/.nvm/versions/node/v7.2.0/bin/node" "/home/den/.nvm/versions/node/v7.2.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/den/projects/terminal-slack/node_modules/bufferutil
gyp ERR! node -v v7.2.0
gyp ERR! node-gyp -v v3.5.0
gyp ERR! not ok 

> [email protected] install /home/den/projects/terminal-slack/node_modules/utf-8-validate
> node-gyp rebuild

gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
make: Entering directory '/home/den/projects/terminal-slack/node_modules/utf-8-validate/build'
  CXX(target) Release/obj.target/validation/src/validation.o
In file included from ../../nan/nan.h:82:0,
                 from ../src/validation.cc:15:
../../nan/nan_new.h: In function β€˜v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Int32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’:
../../nan/nan_new.h:34:64: warning: β€˜v8::Local<v8::Int32> v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
 To<v8::Int32>(v8::Handle<v8::Integer> i)   { return i->ToInt32(); }
                                                                ^
In file included from ../src/validation.cc:7:0:
/home/den/.node-gyp/7.2.0/include/node/v8.h:8442:14: note: declared here
 Local<Int32> Value::ToInt32() const {
              ^~~~~
In file included from ../../nan/nan.h:82:0,
                 from ../src/validation.cc:15:
../../nan/nan_new.h: In function β€˜v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Uint32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’:
../../nan/nan_new.h:39:65: warning: β€˜v8::Local<v8::Uint32> v8::Value::ToUint32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
 To<v8::Uint32>(v8::Handle<v8::Integer> i)  { return i->ToUint32(); }
                                                                 ^
In file included from ../src/validation.cc:7:0:
/home/den/.node-gyp/7.2.0/include/node/v8.h:8436:15: note: declared here
 Local<Uint32> Value::ToUint32() const {
               ^~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/validation.cc:15:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::BooleanObject>::return_t NanIntern::Factory<v8::BooleanObject>::New(bool)’:
../../nan/nan_implementation_12_inl.h:49:38: warning: β€˜static v8::Local<v8::Value> v8::BooleanObject::New(bool)’ is deprecated: Pass an isolate [-Wdeprecated-declarations]
   return v8::BooleanObject::New(value).As<v8::BooleanObject>();
                                      ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/validation.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:4048:56: note: declared here
   V8_DEPRECATED("Pass an isolate", static Local<Value> New(bool value));
                                                        ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/validation.cc:15:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>)’:
../../nan/nan_implementation_12_inl.h:166:69: warning: β€˜static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
                                                                     ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/validation.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1321:21: note: declared here
       Local<Script> Compile(Isolate* isolate, Source* source,
                     ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/validation.cc:15:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’:
../../nan/nan_implementation_12_inl.h:173:69: warning: β€˜static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
                                                                     ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/validation.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1321:21: note: declared here
       Local<Script> Compile(Isolate* isolate, Source* source,
                     ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/validation.cc:15:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(const uint8_t*, int)’:
../../nan/nan_implementation_12_inl.h:206:42: warning: β€˜static v8::Local<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::String::NewStringType, int)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         v8::String::kNormalString, length);
                                          ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/validation.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:2317:21: note: declared here
       Local<String> NewFromOneByte(Isolate* isolate, const uint8_t* data,
                     ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/validation.cc:15:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(v8::String::ExternalStringResource*)’:
../../nan/nan_implementation_12_inl.h:217:66: warning: β€˜static v8::Local<v8::String> v8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::String::NewExternal(v8::Isolate::GetCurrent(), value);
                                                                  ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/validation.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:2355:38: note: declared here
                        Local<String> NewExternal(
                                      ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/validation.cc:15:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>)’:
../../nan/nan_implementation_12_inl.h:237:30: warning: β€˜static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                              ^~~~~~~~~~~~~~
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/validation.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1301:45: note: declared here
                        Local<UnboundScript> CompileUnbound(
                                             ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/validation.cc:15:
../../nan/nan_implementation_12_inl.h:237:76: warning: β€˜static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                                                                            ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/validation.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1301:45: note: declared here
                        Local<UnboundScript> CompileUnbound(
                                             ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/validation.cc:15:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’:
../../nan/nan_implementation_12_inl.h:244:30: warning: β€˜static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                              ^~~~~~~~~~~~~~
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/validation.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1301:45: note: declared here
                        Local<UnboundScript> CompileUnbound(
                                             ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/validation.cc:15:
../../nan/nan_implementation_12_inl.h:244:76: warning: β€˜static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                                                                            ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/validation.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1301:45: note: declared here
                        Local<UnboundScript> CompileUnbound(
                                             ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/validation.cc:15:0:
../../nan/nan.h: At global scope:
../../nan/nan.h:261:25: error: redefinition of β€˜template<class T> v8::Local<T> _NanEnsureLocal(v8::Local<T>)’
 NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
                         ^~~~~~~~~~~~~~~
../../nan/nan.h:256:25: note: β€˜template<class T> v8::Local<T> _NanEnsureLocal(v8::Handle<T>)’ previously declared here
 NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
                         ^~~~~~~~~~~~~~~
../../nan/nan.h: In function β€˜bool NanIdleNotification(int)’:
../../nan/nan.h:289:71: warning: β€˜bool v8::Isolate::IdleNotification(int)’ is deprecated: use IdleNotificationDeadline() [-Wdeprecated-declarations]
     return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms);
                                                                       ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/validation.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:6290:22: note: declared here
                 bool IdleNotification(int idle_time_in_ms));
                      ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/validation.cc:15:0:
../../nan/nan.h: At global scope:
../../nan/nan.h:473:20: error: variable or field β€˜NanAddGCEpilogueCallback’ declared void
       v8::Isolate::GCEpilogueCallback callback
                    ^~~~~~~~~~~~~~~~~~
../../nan/nan.h:473:7: error: β€˜GCEpilogueCallback’ is not a member of β€˜v8::Isolate’
       v8::Isolate::GCEpilogueCallback callback
       ^~
../../nan/nan.h:474:18: error: expected primary-expression before β€˜gc_type_filter’
     , v8::GCType gc_type_filter = v8::kGCTypeAll) {
                  ^~~~~~~~~~~~~~
../../nan/nan.h:479:20: error: variable or field β€˜NanRemoveGCEpilogueCallback’ declared void
       v8::Isolate::GCEpilogueCallback callback) {
                    ^~~~~~~~~~~~~~~~~~
../../nan/nan.h:479:7: error: β€˜GCEpilogueCallback’ is not a member of β€˜v8::Isolate’
       v8::Isolate::GCEpilogueCallback callback) {
       ^~
../../nan/nan.h:484:20: error: variable or field β€˜NanAddGCPrologueCallback’ declared void
       v8::Isolate::GCPrologueCallback callback
                    ^~~~~~~~~~~~~~~~~~
../../nan/nan.h:484:7: error: β€˜GCPrologueCallback’ is not a member of β€˜v8::Isolate’
       v8::Isolate::GCPrologueCallback callback
       ^~
../../nan/nan.h:485:18: error: expected primary-expression before β€˜gc_type_filter’
     , v8::GCType gc_type_filter = v8::kGCTypeAll) {
                  ^~~~~~~~~~~~~~
../../nan/nan.h:490:20: error: variable or field β€˜NanRemoveGCPrologueCallback’ declared void
       v8::Isolate::GCPrologueCallback callback) {
                    ^~~~~~~~~~~~~~~~~~
../../nan/nan.h:490:7: error: β€˜GCPrologueCallback’ is not a member of β€˜v8::Isolate’
       v8::Isolate::GCPrologueCallback callback) {
       ^~
../../nan/nan.h:569:15: error: β€˜WeakCallbackData’ in namespace β€˜v8’ does not name a template type
     const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) {
               ^~~~~~~~~~~~~~~~
../../nan/nan.h:569:31: error: expected β€˜,’ or β€˜...’ before β€˜<’ token
     const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) {
                               ^
../../nan/nan.h: In function β€˜void _NanWeakCallbackDispatcher(int)’:
../../nan/nan.h:570:42: error: β€˜data’ was not declared in this scope
       _NanWeakCallbackInfo<T, P> *info = data.GetParameter();
                                          ^~~~
../../nan/nan.h: At global scope:
../../nan/nan.h:661:13: error: β€˜node::smalloc’ has not been declared
     , node::smalloc::FreeCallback callback
             ^~~~~~~
../../nan/nan.h:661:35: error: expected β€˜,’ or β€˜...’ before β€˜callback’
     , node::smalloc::FreeCallback callback
                                   ^~~~~~~~
../../nan/nan.h: In function β€˜v8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)’:
../../nan/nan.h:665:50: error: β€˜callback’ was not declared in this scope
         v8::Isolate::GetCurrent(), data, length, callback, hint);
                                                  ^~~~~~~~
../../nan/nan.h:665:60: error: β€˜hint’ was not declared in this scope
         v8::Isolate::GetCurrent(), data, length, callback, hint);
                                                            ^~~~
../../nan/nan.h: In function β€˜v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)’:
../../nan/nan.h:672:67: error: invalid conversion from β€˜const char*’ to β€˜char*’ [-fpermissive]
     return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
                                                                   ^
In file included from ../src/validation.cc:10:0:
/home/den/.node-gyp/7.2.0/include/node/node_buffer.h:46:40: note:   initializing argument 2 of β€˜v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)’
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^~~
In file included from ../src/validation.cc:15:0:
../../nan/nan.h:672:29: error: could not convert β€˜node::Buffer::New(v8::Isolate::GetCurrent(), ((char*)data), ((size_t)size))’ from β€˜v8::MaybeLocal<v8::Object>’ to β€˜v8::Local<v8::Object>’
     return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
            ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../nan/nan.h: In function β€˜v8::Local<v8::Object> NanNewBufferHandle(uint32_t)’:
../../nan/nan.h:676:29: error: could not convert β€˜node::Buffer::New(v8::Isolate::GetCurrent(), ((size_t)size))’ from β€˜v8::MaybeLocal<v8::Object>’ to β€˜v8::Local<v8::Object>’
     return node::Buffer::New(v8::Isolate::GetCurrent(), size);
            ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../nan/nan.h: In function β€˜v8::Local<v8::Object> NanBufferUse(char*, uint32_t)’:
../../nan/nan.h:683:12: error: β€˜Use’ is not a member of β€˜node::Buffer’
     return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
            ^~~~
../../nan/nan.h: In function β€˜v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>, const v8::ScriptOrigin&)’:
../../nan/nan.h:710:74: warning: β€˜static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
     return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
                                                                          ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/validation.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1321:21: note: declared here
       Local<Script> Compile(Isolate* isolate, Source* source,
                     ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/validation.cc:15:0:
../../nan/nan.h: In function β€˜v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>)’:
../../nan/nan.h:717:74: warning: β€˜static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
     return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
                                                                          ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/validation.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1321:21: note: declared here
       Local<Script> Compile(Isolate* isolate, Source* source,
                     ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/validation.cc: In static member function β€˜static void Validation::Initialize(v8::Handle<v8::Object>)’:
../src/validation.cc:112:62: error: call of overloaded β€˜NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [12], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous
     NODE_SET_METHOD(t, "isValidUTF8", Validation::IsValidUTF8);
                                                              ^
In file included from ../src/validation.cc:8:0:
/home/den/.node-gyp/7.2.0/include/node/node.h:238:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)
 inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,
             ^~~~~~~~~~~~~~~
/home/den/.node-gyp/7.2.0/include/node/node.h:251:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback)
 inline void NODE_SET_METHOD(v8::Local<v8::Object> recv,
             ^~~~~~~~~~~~~~~
validation.target.mk:96: recipe for target 'Release/obj.target/validation/src/validation.o' failed
make: *** [Release/obj.target/validation/src/validation.o] Error 1
make: Leaving directory '/home/den/projects/terminal-slack/node_modules/utf-8-validate/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/den/.nvm/versions/node/v7.2.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:106:13)
gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Linux 4.8.0-48-generic
gyp ERR! command "/home/den/.nvm/versions/node/v7.2.0/bin/node" "/home/den/.nvm/versions/node/v7.2.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/den/projects/terminal-slack/node_modules/utf-8-validate
gyp ERR! node -v v7.2.0
gyp ERR! node-gyp -v v3.5.0
gyp ERR! not ok 
npm WARN [email protected] requires a peer of eslint-plugin-import@^1.16.0 but none was installed.
npm WARN [email protected] requires a peer of eslint-plugin-import@^1.16.0 but none was installed.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/bufferutil):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/utf-8-validate):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
den:~/projects/terminal-slack [j1] (master ?) $ npm i

> [email protected] install /home/den/projects/terminal-slack/node_modules/bufferutil
> node-gyp rebuild

gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
make: Entering directory '/home/den/projects/terminal-slack/node_modules/bufferutil/build'
  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
In file included from ../../nan/nan.h:82:0,
                 from ../src/bufferutil.cc:16:
../../nan/nan_new.h: In function β€˜v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Int32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’:
../../nan/nan_new.h:34:64: warning: β€˜v8::Local<v8::Int32> v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
 To<v8::Int32>(v8::Handle<v8::Integer> i)   { return i->ToInt32(); }
                                                                ^
In file included from ../src/bufferutil.cc:7:0:
/home/den/.node-gyp/7.2.0/include/node/v8.h:8442:14: note: declared here
 Local<Int32> Value::ToInt32() const {
              ^~~~~
In file included from ../../nan/nan.h:82:0,
                 from ../src/bufferutil.cc:16:
../../nan/nan_new.h: In function β€˜v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Uint32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’:
../../nan/nan_new.h:39:65: warning: β€˜v8::Local<v8::Uint32> v8::Value::ToUint32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
 To<v8::Uint32>(v8::Handle<v8::Integer> i)  { return i->ToUint32(); }
                                                                 ^
In file included from ../src/bufferutil.cc:7:0:
/home/den/.node-gyp/7.2.0/include/node/v8.h:8436:15: note: declared here
 Local<Uint32> Value::ToUint32() const {
               ^~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/bufferutil.cc:16:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::BooleanObject>::return_t NanIntern::Factory<v8::BooleanObject>::New(bool)’:
../../nan/nan_implementation_12_inl.h:49:38: warning: β€˜static v8::Local<v8::Value> v8::BooleanObject::New(bool)’ is deprecated: Pass an isolate [-Wdeprecated-declarations]
   return v8::BooleanObject::New(value).As<v8::BooleanObject>();
                                      ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/bufferutil.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:4048:56: note: declared here
   V8_DEPRECATED("Pass an isolate", static Local<Value> New(bool value));
                                                        ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/bufferutil.cc:16:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>)’:
../../nan/nan_implementation_12_inl.h:166:69: warning: β€˜static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
                                                                     ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/bufferutil.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1321:21: note: declared here
       Local<Script> Compile(Isolate* isolate, Source* source,
                     ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/bufferutil.cc:16:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’:
../../nan/nan_implementation_12_inl.h:173:69: warning: β€˜static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
                                                                     ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/bufferutil.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1321:21: note: declared here
       Local<Script> Compile(Isolate* isolate, Source* source,
                     ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/bufferutil.cc:16:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(const uint8_t*, int)’:
../../nan/nan_implementation_12_inl.h:206:42: warning: β€˜static v8::Local<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::String::NewStringType, int)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         v8::String::kNormalString, length);
                                          ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/bufferutil.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:2317:21: note: declared here
       Local<String> NewFromOneByte(Isolate* isolate, const uint8_t* data,
                     ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/bufferutil.cc:16:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(v8::String::ExternalStringResource*)’:
../../nan/nan_implementation_12_inl.h:217:66: warning: β€˜static v8::Local<v8::String> v8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::String::NewExternal(v8::Isolate::GetCurrent(), value);
                                                                  ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/bufferutil.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:2355:38: note: declared here
                        Local<String> NewExternal(
                                      ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/bufferutil.cc:16:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>)’:
../../nan/nan_implementation_12_inl.h:237:30: warning: β€˜static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                              ^~~~~~~~~~~~~~
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/bufferutil.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1301:45: note: declared here
                        Local<UnboundScript> CompileUnbound(
                                             ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/bufferutil.cc:16:
../../nan/nan_implementation_12_inl.h:237:76: warning: β€˜static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                                                                            ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/bufferutil.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1301:45: note: declared here
                        Local<UnboundScript> CompileUnbound(
                                             ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/bufferutil.cc:16:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’:
../../nan/nan_implementation_12_inl.h:244:30: warning: β€˜static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                              ^~~~~~~~~~~~~~
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/bufferutil.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1301:45: note: declared here
                        Local<UnboundScript> CompileUnbound(
                                             ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/bufferutil.cc:16:
../../nan/nan_implementation_12_inl.h:244:76: warning: β€˜static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                                                                            ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/bufferutil.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1301:45: note: declared here
                        Local<UnboundScript> CompileUnbound(
                                             ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/bufferutil.cc:16:0:
../../nan/nan.h: At global scope:
../../nan/nan.h:261:25: error: redefinition of β€˜template<class T> v8::Local<T> _NanEnsureLocal(v8::Local<T>)’
 NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
                         ^~~~~~~~~~~~~~~
../../nan/nan.h:256:25: note: β€˜template<class T> v8::Local<T> _NanEnsureLocal(v8::Handle<T>)’ previously declared here
 NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
                         ^~~~~~~~~~~~~~~
../../nan/nan.h: In function β€˜bool NanIdleNotification(int)’:
../../nan/nan.h:289:71: warning: β€˜bool v8::Isolate::IdleNotification(int)’ is deprecated: use IdleNotificationDeadline() [-Wdeprecated-declarations]
     return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms);
                                                                       ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/bufferutil.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:6290:22: note: declared here
                 bool IdleNotification(int idle_time_in_ms));
                      ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/bufferutil.cc:16:0:
../../nan/nan.h: At global scope:
../../nan/nan.h:473:20: error: variable or field β€˜NanAddGCEpilogueCallback’ declared void
       v8::Isolate::GCEpilogueCallback callback
                    ^~~~~~~~~~~~~~~~~~
../../nan/nan.h:473:7: error: β€˜GCEpilogueCallback’ is not a member of β€˜v8::Isolate’
       v8::Isolate::GCEpilogueCallback callback
       ^~
../../nan/nan.h:474:18: error: expected primary-expression before β€˜gc_type_filter’
     , v8::GCType gc_type_filter = v8::kGCTypeAll) {
                  ^~~~~~~~~~~~~~
../../nan/nan.h:479:20: error: variable or field β€˜NanRemoveGCEpilogueCallback’ declared void
       v8::Isolate::GCEpilogueCallback callback) {
                    ^~~~~~~~~~~~~~~~~~
../../nan/nan.h:479:7: error: β€˜GCEpilogueCallback’ is not a member of β€˜v8::Isolate’
       v8::Isolate::GCEpilogueCallback callback) {
       ^~
../../nan/nan.h:484:20: error: variable or field β€˜NanAddGCPrologueCallback’ declared void
       v8::Isolate::GCPrologueCallback callback
                    ^~~~~~~~~~~~~~~~~~
../../nan/nan.h:484:7: error: β€˜GCPrologueCallback’ is not a member of β€˜v8::Isolate’
       v8::Isolate::GCPrologueCallback callback
       ^~
../../nan/nan.h:485:18: error: expected primary-expression before β€˜gc_type_filter’
     , v8::GCType gc_type_filter = v8::kGCTypeAll) {
                  ^~~~~~~~~~~~~~
../../nan/nan.h:490:20: error: variable or field β€˜NanRemoveGCPrologueCallback’ declared void
       v8::Isolate::GCPrologueCallback callback) {
                    ^~~~~~~~~~~~~~~~~~
../../nan/nan.h:490:7: error: β€˜GCPrologueCallback’ is not a member of β€˜v8::Isolate’
       v8::Isolate::GCPrologueCallback callback) {
       ^~
../../nan/nan.h:569:15: error: β€˜WeakCallbackData’ in namespace β€˜v8’ does not name a template type
     const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) {
               ^~~~~~~~~~~~~~~~
../../nan/nan.h:569:31: error: expected β€˜,’ or β€˜...’ before β€˜<’ token
     const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) {
                               ^
../../nan/nan.h: In function β€˜void _NanWeakCallbackDispatcher(int)’:
../../nan/nan.h:570:42: error: β€˜data’ was not declared in this scope
       _NanWeakCallbackInfo<T, P> *info = data.GetParameter();
                                          ^~~~
../../nan/nan.h: At global scope:
../../nan/nan.h:661:13: error: β€˜node::smalloc’ has not been declared
     , node::smalloc::FreeCallback callback
             ^~~~~~~
../../nan/nan.h:661:35: error: expected β€˜,’ or β€˜...’ before β€˜callback’
     , node::smalloc::FreeCallback callback
                                   ^~~~~~~~
../../nan/nan.h: In function β€˜v8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)’:
../../nan/nan.h:665:50: error: β€˜callback’ was not declared in this scope
         v8::Isolate::GetCurrent(), data, length, callback, hint);
                                                  ^~~~~~~~
../../nan/nan.h:665:60: error: β€˜hint’ was not declared in this scope
         v8::Isolate::GetCurrent(), data, length, callback, hint);
                                                            ^~~~
../../nan/nan.h: In function β€˜v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)’:
../../nan/nan.h:672:67: error: invalid conversion from β€˜const char*’ to β€˜char*’ [-fpermissive]
     return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
                                                                   ^
In file included from ../src/bufferutil.cc:10:0:
/home/den/.node-gyp/7.2.0/include/node/node_buffer.h:46:40: note:   initializing argument 2 of β€˜v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)’
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^~~
In file included from ../src/bufferutil.cc:16:0:
../../nan/nan.h:672:29: error: could not convert β€˜node::Buffer::New(v8::Isolate::GetCurrent(), ((char*)data), ((size_t)size))’ from β€˜v8::MaybeLocal<v8::Object>’ to β€˜v8::Local<v8::Object>’
     return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
            ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../nan/nan.h: In function β€˜v8::Local<v8::Object> NanNewBufferHandle(uint32_t)’:
../../nan/nan.h:676:29: error: could not convert β€˜node::Buffer::New(v8::Isolate::GetCurrent(), ((size_t)size))’ from β€˜v8::MaybeLocal<v8::Object>’ to β€˜v8::Local<v8::Object>’
     return node::Buffer::New(v8::Isolate::GetCurrent(), size);
            ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../nan/nan.h: In function β€˜v8::Local<v8::Object> NanBufferUse(char*, uint32_t)’:
../../nan/nan.h:683:12: error: β€˜Use’ is not a member of β€˜node::Buffer’
     return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
            ^~~~
../../nan/nan.h: In function β€˜v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>, const v8::ScriptOrigin&)’:
../../nan/nan.h:710:74: warning: β€˜static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
     return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
                                                                          ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/bufferutil.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1321:21: note: declared here
       Local<Script> Compile(Isolate* isolate, Source* source,
                     ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/bufferutil.cc:16:0:
../../nan/nan.h: In function β€˜v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>)’:
../../nan/nan.h:717:74: warning: β€˜static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
     return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
                                                                          ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/bufferutil.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1321:21: note: declared here
       Local<Script> Compile(Isolate* isolate, Source* source,
                     ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/bufferutil.cc: In static member function β€˜static void BufferUtil::Initialize(v8::Handle<v8::Object>)’:
../src/bufferutil.cc:30:52: error: call of overloaded β€˜NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [7], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous
     NODE_SET_METHOD(t, "unmask", BufferUtil::Unmask);
                                                    ^
In file included from ../src/bufferutil.cc:8:0:
/home/den/.node-gyp/7.2.0/include/node/node.h:238:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)
 inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,
             ^~~~~~~~~~~~~~~
/home/den/.node-gyp/7.2.0/include/node/node.h:251:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback)
 inline void NODE_SET_METHOD(v8::Local<v8::Object> recv,
             ^~~~~~~~~~~~~~~
../src/bufferutil.cc:31:48: error: call of overloaded β€˜NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [5], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous
     NODE_SET_METHOD(t, "mask", BufferUtil::Mask);
                                                ^
In file included from ../src/bufferutil.cc:8:0:
/home/den/.node-gyp/7.2.0/include/node/node.h:238:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)
 inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,
             ^~~~~~~~~~~~~~~
/home/den/.node-gyp/7.2.0/include/node/node.h:251:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback)
 inline void NODE_SET_METHOD(v8::Local<v8::Object> recv,
             ^~~~~~~~~~~~~~~
../src/bufferutil.cc:32:50: error: call of overloaded β€˜NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [6], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous
     NODE_SET_METHOD(t, "merge", BufferUtil::Merge);
                                                  ^
In file included from ../src/bufferutil.cc:8:0:
/home/den/.node-gyp/7.2.0/include/node/node.h:238:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)
 inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,
             ^~~~~~~~~~~~~~~
/home/den/.node-gyp/7.2.0/include/node/node.h:251:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback)
 inline void NODE_SET_METHOD(v8::Local<v8::Object> recv,
             ^~~~~~~~~~~~~~~
bufferutil.target.mk:96: recipe for target 'Release/obj.target/bufferutil/src/bufferutil.o' failed
make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Error 1
make: Leaving directory '/home/den/projects/terminal-slack/node_modules/bufferutil/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/den/.nvm/versions/node/v7.2.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:106:13)
gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Linux 4.8.0-48-generic
gyp ERR! command "/home/den/.nvm/versions/node/v7.2.0/bin/node" "/home/den/.nvm/versions/node/v7.2.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/den/projects/terminal-slack/node_modules/bufferutil
gyp ERR! node -v v7.2.0
gyp ERR! node-gyp -v v3.5.0
gyp ERR! not ok 

> [email protected] install /home/den/projects/terminal-slack/node_modules/utf-8-validate
> node-gyp rebuild

gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
make: Entering directory '/home/den/projects/terminal-slack/node_modules/utf-8-validate/build'
  CXX(target) Release/obj.target/validation/src/validation.o
In file included from ../../nan/nan.h:82:0,
                 from ../src/validation.cc:15:
../../nan/nan_new.h: In function β€˜v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Int32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’:
../../nan/nan_new.h:34:64: warning: β€˜v8::Local<v8::Int32> v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
 To<v8::Int32>(v8::Handle<v8::Integer> i)   { return i->ToInt32(); }
                                                                ^
In file included from ../src/validation.cc:7:0:
/home/den/.node-gyp/7.2.0/include/node/v8.h:8442:14: note: declared here
 Local<Int32> Value::ToInt32() const {
              ^~~~~
In file included from ../../nan/nan.h:82:0,
                 from ../src/validation.cc:15:
../../nan/nan_new.h: In function β€˜v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Uint32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’:
../../nan/nan_new.h:39:65: warning: β€˜v8::Local<v8::Uint32> v8::Value::ToUint32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
 To<v8::Uint32>(v8::Handle<v8::Integer> i)  { return i->ToUint32(); }
                                                                 ^
In file included from ../src/validation.cc:7:0:
/home/den/.node-gyp/7.2.0/include/node/v8.h:8436:15: note: declared here
 Local<Uint32> Value::ToUint32() const {
               ^~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/validation.cc:15:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::BooleanObject>::return_t NanIntern::Factory<v8::BooleanObject>::New(bool)’:
../../nan/nan_implementation_12_inl.h:49:38: warning: β€˜static v8::Local<v8::Value> v8::BooleanObject::New(bool)’ is deprecated: Pass an isolate [-Wdeprecated-declarations]
   return v8::BooleanObject::New(value).As<v8::BooleanObject>();
                                      ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/validation.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:4048:56: note: declared here
   V8_DEPRECATED("Pass an isolate", static Local<Value> New(bool value));
                                                        ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/validation.cc:15:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>)’:
../../nan/nan_implementation_12_inl.h:166:69: warning: β€˜static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
                                                                     ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/validation.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1321:21: note: declared here
       Local<Script> Compile(Isolate* isolate, Source* source,
                     ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/validation.cc:15:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’:
../../nan/nan_implementation_12_inl.h:173:69: warning: β€˜static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
                                                                     ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/validation.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1321:21: note: declared here
       Local<Script> Compile(Isolate* isolate, Source* source,
                     ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/validation.cc:15:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(const uint8_t*, int)’:
../../nan/nan_implementation_12_inl.h:206:42: warning: β€˜static v8::Local<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::String::NewStringType, int)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         v8::String::kNormalString, length);
                                          ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/validation.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:2317:21: note: declared here
       Local<String> NewFromOneByte(Isolate* isolate, const uint8_t* data,
                     ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/validation.cc:15:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(v8::String::ExternalStringResource*)’:
../../nan/nan_implementation_12_inl.h:217:66: warning: β€˜static v8::Local<v8::String> v8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::String::NewExternal(v8::Isolate::GetCurrent(), value);
                                                                  ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/validation.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:2355:38: note: declared here
                        Local<String> NewExternal(
                                      ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/validation.cc:15:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>)’:
../../nan/nan_implementation_12_inl.h:237:30: warning: β€˜static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                              ^~~~~~~~~~~~~~
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/validation.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1301:45: note: declared here
                        Local<UnboundScript> CompileUnbound(
                                             ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/validation.cc:15:
../../nan/nan_implementation_12_inl.h:237:76: warning: β€˜static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                                                                            ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/validation.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1301:45: note: declared here
                        Local<UnboundScript> CompileUnbound(
                                             ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/validation.cc:15:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’:
../../nan/nan_implementation_12_inl.h:244:30: warning: β€˜static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                              ^~~~~~~~~~~~~~
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/validation.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1301:45: note: declared here
                        Local<UnboundScript> CompileUnbound(
                                             ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/validation.cc:15:
../../nan/nan_implementation_12_inl.h:244:76: warning: β€˜static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                                                                            ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/validation.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1301:45: note: declared here
                        Local<UnboundScript> CompileUnbound(
                                             ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/validation.cc:15:0:
../../nan/nan.h: At global scope:
../../nan/nan.h:261:25: error: redefinition of β€˜template<class T> v8::Local<T> _NanEnsureLocal(v8::Local<T>)’
 NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
                         ^~~~~~~~~~~~~~~
../../nan/nan.h:256:25: note: β€˜template<class T> v8::Local<T> _NanEnsureLocal(v8::Handle<T>)’ previously declared here
 NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
                         ^~~~~~~~~~~~~~~
../../nan/nan.h: In function β€˜bool NanIdleNotification(int)’:
../../nan/nan.h:289:71: warning: β€˜bool v8::Isolate::IdleNotification(int)’ is deprecated: use IdleNotificationDeadline() [-Wdeprecated-declarations]
     return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms);
                                                                       ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/validation.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:6290:22: note: declared here
                 bool IdleNotification(int idle_time_in_ms));
                      ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/validation.cc:15:0:
../../nan/nan.h: At global scope:
../../nan/nan.h:473:20: error: variable or field β€˜NanAddGCEpilogueCallback’ declared void
       v8::Isolate::GCEpilogueCallback callback
                    ^~~~~~~~~~~~~~~~~~
../../nan/nan.h:473:7: error: β€˜GCEpilogueCallback’ is not a member of β€˜v8::Isolate’
       v8::Isolate::GCEpilogueCallback callback
       ^~
../../nan/nan.h:474:18: error: expected primary-expression before β€˜gc_type_filter’
     , v8::GCType gc_type_filter = v8::kGCTypeAll) {
                  ^~~~~~~~~~~~~~
../../nan/nan.h:479:20: error: variable or field β€˜NanRemoveGCEpilogueCallback’ declared void
       v8::Isolate::GCEpilogueCallback callback) {
                    ^~~~~~~~~~~~~~~~~~
../../nan/nan.h:479:7: error: β€˜GCEpilogueCallback’ is not a member of β€˜v8::Isolate’
       v8::Isolate::GCEpilogueCallback callback) {
       ^~
../../nan/nan.h:484:20: error: variable or field β€˜NanAddGCPrologueCallback’ declared void
       v8::Isolate::GCPrologueCallback callback
                    ^~~~~~~~~~~~~~~~~~
../../nan/nan.h:484:7: error: β€˜GCPrologueCallback’ is not a member of β€˜v8::Isolate’
       v8::Isolate::GCPrologueCallback callback
       ^~
../../nan/nan.h:485:18: error: expected primary-expression before β€˜gc_type_filter’
     , v8::GCType gc_type_filter = v8::kGCTypeAll) {
                  ^~~~~~~~~~~~~~
../../nan/nan.h:490:20: error: variable or field β€˜NanRemoveGCPrologueCallback’ declared void
       v8::Isolate::GCPrologueCallback callback) {
                    ^~~~~~~~~~~~~~~~~~
../../nan/nan.h:490:7: error: β€˜GCPrologueCallback’ is not a member of β€˜v8::Isolate’
       v8::Isolate::GCPrologueCallback callback) {
       ^~
../../nan/nan.h:569:15: error: β€˜WeakCallbackData’ in namespace β€˜v8’ does not name a template type
     const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) {
               ^~~~~~~~~~~~~~~~
../../nan/nan.h:569:31: error: expected β€˜,’ or β€˜...’ before β€˜<’ token
     const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) {
                               ^
../../nan/nan.h: In function β€˜void _NanWeakCallbackDispatcher(int)’:
../../nan/nan.h:570:42: error: β€˜data’ was not declared in this scope
       _NanWeakCallbackInfo<T, P> *info = data.GetParameter();
                                          ^~~~
../../nan/nan.h: At global scope:
../../nan/nan.h:661:13: error: β€˜node::smalloc’ has not been declared
     , node::smalloc::FreeCallback callback
             ^~~~~~~
../../nan/nan.h:661:35: error: expected β€˜,’ or β€˜...’ before β€˜callback’
     , node::smalloc::FreeCallback callback
                                   ^~~~~~~~
../../nan/nan.h: In function β€˜v8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)’:
../../nan/nan.h:665:50: error: β€˜callback’ was not declared in this scope
         v8::Isolate::GetCurrent(), data, length, callback, hint);
                                                  ^~~~~~~~
../../nan/nan.h:665:60: error: β€˜hint’ was not declared in this scope
         v8::Isolate::GetCurrent(), data, length, callback, hint);
                                                            ^~~~
../../nan/nan.h: In function β€˜v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)’:
../../nan/nan.h:672:67: error: invalid conversion from β€˜const char*’ to β€˜char*’ [-fpermissive]
     return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
                                                                   ^
In file included from ../src/validation.cc:10:0:
/home/den/.node-gyp/7.2.0/include/node/node_buffer.h:46:40: note:   initializing argument 2 of β€˜v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)’
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^~~
In file included from ../src/validation.cc:15:0:
../../nan/nan.h:672:29: error: could not convert β€˜node::Buffer::New(v8::Isolate::GetCurrent(), ((char*)data), ((size_t)size))’ from β€˜v8::MaybeLocal<v8::Object>’ to β€˜v8::Local<v8::Object>’
     return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
            ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../nan/nan.h: In function β€˜v8::Local<v8::Object> NanNewBufferHandle(uint32_t)’:
../../nan/nan.h:676:29: error: could not convert β€˜node::Buffer::New(v8::Isolate::GetCurrent(), ((size_t)size))’ from β€˜v8::MaybeLocal<v8::Object>’ to β€˜v8::Local<v8::Object>’
     return node::Buffer::New(v8::Isolate::GetCurrent(), size);
            ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../nan/nan.h: In function β€˜v8::Local<v8::Object> NanBufferUse(char*, uint32_t)’:
../../nan/nan.h:683:12: error: β€˜Use’ is not a member of β€˜node::Buffer’
     return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
            ^~~~
../../nan/nan.h: In function β€˜v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>, const v8::ScriptOrigin&)’:
../../nan/nan.h:710:74: warning: β€˜static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
     return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
                                                                          ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/validation.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1321:21: note: declared here
       Local<Script> Compile(Isolate* isolate, Source* source,
                     ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/validation.cc:15:0:
../../nan/nan.h: In function β€˜v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>)’:
../../nan/nan.h:717:74: warning: β€˜static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
     return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
                                                                          ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/validation.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1321:21: note: declared here
       Local<Script> Compile(Isolate* isolate, Source* source,
                     ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/validation.cc: In static member function β€˜static void Validation::Initialize(v8::Handle<v8::Object>)’:
../src/validation.cc:112:62: error: call of overloaded β€˜NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [12], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous
     NODE_SET_METHOD(t, "isValidUTF8", Validation::IsValidUTF8);
                                                              ^
In file included from ../src/validation.cc:8:0:
/home/den/.node-gyp/7.2.0/include/node/node.h:238:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)
 inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,
             ^~~~~~~~~~~~~~~
/home/den/.node-gyp/7.2.0/include/node/node.h:251:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback)
 inline void NODE_SET_METHOD(v8::Local<v8::Object> recv,
             ^~~~~~~~~~~~~~~
validation.target.mk:96: recipe for target 'Release/obj.target/validation/src/validation.o' failed
make: *** [Release/obj.target/validation/src/validation.o] Error 1
make: Leaving directory '/home/den/projects/terminal-slack/node_modules/utf-8-validate/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/den/.nvm/versions/node/v7.2.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:106:13)
gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Linux 4.8.0-48-generic
gyp ERR! command "/home/den/.nvm/versions/node/v7.2.0/bin/node" "/home/den/.nvm/versions/node/v7.2.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/den/projects/terminal-slack/node_modules/utf-8-validate
gyp ERR! node -v v7.2.0
gyp ERR! node-gyp -v v3.5.0
gyp ERR! not ok 
[email protected] /home/den/projects/terminal-slack
β”œβ”€β”€ [email protected] 
β”œβ”€β”¬ [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚ └── [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚ └── [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ └─┬ [email protected] 
β”‚ β”‚   └── [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ └─┬ [email protected] 
β”‚ β”‚   └── [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ └─┬ [email protected] 
β”‚ β”‚   β”œβ”€β”€ [email protected] 
β”‚ β”‚   β”œβ”€β”¬ [email protected] 
β”‚ β”‚   β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚   β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚   β”‚ β”‚ β”‚ └── [email protected] 
β”‚ β”‚   β”‚ β”‚ └── [email protected] 
β”‚ β”‚   β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚   β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚   β”‚ β”‚ └── [email protected] 
β”‚ β”‚   β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚   β”‚ └── [email protected] 
β”‚ β”‚   β”œβ”€β”€ [email protected] 
β”‚ β”‚   └── [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ └── [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ └─┬ [email protected] 
β”‚ β”‚ β”‚   β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚   └── [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ β”‚ └── [email protected] 
β”‚ β”‚ β”‚ └── [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ └── [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ └── [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ └── [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ └── [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ └─┬ [email protected] 
β”‚ β”‚   └── [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ └─┬ [email protected] 
β”‚   └── [email protected] 
β”œβ”€β”¬ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ └── UNMET PEER DEPENDENCY eslint-plugin-import@^1.16.0
β”œβ”€β”¬ UNMET PEER DEPENDENCY [email protected]
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ └─┬ [email protected] 
β”‚ β”‚   └── [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ └── [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ └─┬ [email protected] 
β”‚ β”‚   β”œβ”€β”€ [email protected] 
β”‚ β”‚   └── [email protected] 
β”‚ └─┬ [email protected] 
β”‚   └─┬ [email protected] 
β”‚     β”œβ”€β”€ [email protected] 
β”‚     └─┬ [email protected] 
β”‚       └── [email protected] 
β”œβ”€β”¬ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ └── [email protected] 
β”œβ”€β”¬ [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ └── [email protected] 
β”‚ β”‚ └─┬ [email protected] 
β”‚ β”‚   β”œβ”€β”¬ [email protected] 
β”‚ β”‚   β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚   β”‚ └── [email protected] 
β”‚ β”‚   β”œβ”€β”€ [email protected] 
β”‚ β”‚   └── [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ └─┬ [email protected] 
β”‚   └── [email protected] 
β”œβ”€β”¬ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ └─┬ [email protected] 
β”‚   └── [email protected] 
β”œβ”€β”¬ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”‚ β”‚ └── [email protected] 
β”‚ β”‚ └─┬ [email protected] 
β”‚ β”‚   β”œβ”€β”€ [email protected] 
β”‚ β”‚   β”œβ”€β”€ [email protected] 
β”‚ β”‚   β”œβ”€β”€ [email protected] 
β”‚ β”‚   β”œβ”€β”¬ [email protected] 
β”‚ β”‚   β”‚ └── [email protected] 
β”‚ β”‚   β”œβ”€β”€ [email protected] 
β”‚ β”‚   β”œβ”€β”¬ [email protected] 
β”‚ β”‚   β”‚ └── [email protected] 
β”‚ β”‚   β”œβ”€β”€ [email protected] 
β”‚ β”‚   β”œβ”€β”€ [email protected] 
β”‚ β”‚   └── [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ β”œβ”€β”¬ [email protected] 
β”‚ β”‚ └── [email protected] 
β”‚ β”œβ”€β”€ [email protected] 
β”‚ └── [email protected] 
└─┬ [email protected] 
  β”œβ”€β”€ [email protected] 
  └── [email protected] 

npm WARN [email protected] requires a peer of eslint-plugin-import@^1.16.0 but none was installed.
npm WARN [email protected] requires a peer of eslint-plugin-import@^1.16.0 but none was installed.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/bufferutil):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/utf-8-validate):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
den:~/projects/terminal-slack [j1] (master ?) $ npm i eslint-plugin-import --save-dev

> [email protected] install /home/den/projects/terminal-slack/node_modules/bufferutil
> node-gyp rebuild

gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
make: Entering directory '/home/den/projects/terminal-slack/node_modules/bufferutil/build'
  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
In file included from ../../nan/nan.h:82:0,
                 from ../src/bufferutil.cc:16:
../../nan/nan_new.h: In function β€˜v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Int32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’:
../../nan/nan_new.h:34:64: warning: β€˜v8::Local<v8::Int32> v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
 To<v8::Int32>(v8::Handle<v8::Integer> i)   { return i->ToInt32(); }
                                                                ^
In file included from ../src/bufferutil.cc:7:0:
/home/den/.node-gyp/7.2.0/include/node/v8.h:8442:14: note: declared here
 Local<Int32> Value::ToInt32() const {
              ^~~~~
In file included from ../../nan/nan.h:82:0,
                 from ../src/bufferutil.cc:16:
../../nan/nan_new.h: In function β€˜v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Uint32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’:
../../nan/nan_new.h:39:65: warning: β€˜v8::Local<v8::Uint32> v8::Value::ToUint32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
 To<v8::Uint32>(v8::Handle<v8::Integer> i)  { return i->ToUint32(); }
                                                                 ^
In file included from ../src/bufferutil.cc:7:0:
/home/den/.node-gyp/7.2.0/include/node/v8.h:8436:15: note: declared here
 Local<Uint32> Value::ToUint32() const {
               ^~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/bufferutil.cc:16:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::BooleanObject>::return_t NanIntern::Factory<v8::BooleanObject>::New(bool)’:
../../nan/nan_implementation_12_inl.h:49:38: warning: β€˜static v8::Local<v8::Value> v8::BooleanObject::New(bool)’ is deprecated: Pass an isolate [-Wdeprecated-declarations]
   return v8::BooleanObject::New(value).As<v8::BooleanObject>();
                                      ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/bufferutil.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:4048:56: note: declared here
   V8_DEPRECATED("Pass an isolate", static Local<Value> New(bool value));
                                                        ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/bufferutil.cc:16:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>)’:
../../nan/nan_implementation_12_inl.h:166:69: warning: β€˜static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
                                                                     ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/bufferutil.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1321:21: note: declared here
       Local<Script> Compile(Isolate* isolate, Source* source,
                     ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/bufferutil.cc:16:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’:
../../nan/nan_implementation_12_inl.h:173:69: warning: β€˜static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
                                                                     ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/bufferutil.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1321:21: note: declared here
       Local<Script> Compile(Isolate* isolate, Source* source,
                     ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/bufferutil.cc:16:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(const uint8_t*, int)’:
../../nan/nan_implementation_12_inl.h:206:42: warning: β€˜static v8::Local<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::String::NewStringType, int)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         v8::String::kNormalString, length);
                                          ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/bufferutil.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:2317:21: note: declared here
       Local<String> NewFromOneByte(Isolate* isolate, const uint8_t* data,
                     ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/bufferutil.cc:16:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(v8::String::ExternalStringResource*)’:
../../nan/nan_implementation_12_inl.h:217:66: warning: β€˜static v8::Local<v8::String> v8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::String::NewExternal(v8::Isolate::GetCurrent(), value);
                                                                  ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/bufferutil.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:2355:38: note: declared here
                        Local<String> NewExternal(
                                      ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/bufferutil.cc:16:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>)’:
../../nan/nan_implementation_12_inl.h:237:30: warning: β€˜static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                              ^~~~~~~~~~~~~~
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/bufferutil.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1301:45: note: declared here
                        Local<UnboundScript> CompileUnbound(
                                             ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/bufferutil.cc:16:
../../nan/nan_implementation_12_inl.h:237:76: warning: β€˜static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                                                                            ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/bufferutil.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1301:45: note: declared here
                        Local<UnboundScript> CompileUnbound(
                                             ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/bufferutil.cc:16:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’:
../../nan/nan_implementation_12_inl.h:244:30: warning: β€˜static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                              ^~~~~~~~~~~~~~
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/bufferutil.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1301:45: note: declared here
                        Local<UnboundScript> CompileUnbound(
                                             ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/bufferutil.cc:16:
../../nan/nan_implementation_12_inl.h:244:76: warning: β€˜static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                                                                            ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/bufferutil.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1301:45: note: declared here
                        Local<UnboundScript> CompileUnbound(
                                             ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/bufferutil.cc:16:0:
../../nan/nan.h: At global scope:
../../nan/nan.h:261:25: error: redefinition of β€˜template<class T> v8::Local<T> _NanEnsureLocal(v8::Local<T>)’
 NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
                         ^~~~~~~~~~~~~~~
../../nan/nan.h:256:25: note: β€˜template<class T> v8::Local<T> _NanEnsureLocal(v8::Handle<T>)’ previously declared here
 NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
                         ^~~~~~~~~~~~~~~
../../nan/nan.h: In function β€˜bool NanIdleNotification(int)’:
../../nan/nan.h:289:71: warning: β€˜bool v8::Isolate::IdleNotification(int)’ is deprecated: use IdleNotificationDeadline() [-Wdeprecated-declarations]
     return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms);
                                                                       ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/bufferutil.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:6290:22: note: declared here
                 bool IdleNotification(int idle_time_in_ms));
                      ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/bufferutil.cc:16:0:
../../nan/nan.h: At global scope:
../../nan/nan.h:473:20: error: variable or field β€˜NanAddGCEpilogueCallback’ declared void
       v8::Isolate::GCEpilogueCallback callback
                    ^~~~~~~~~~~~~~~~~~
../../nan/nan.h:473:7: error: β€˜GCEpilogueCallback’ is not a member of β€˜v8::Isolate’
       v8::Isolate::GCEpilogueCallback callback
       ^~
../../nan/nan.h:474:18: error: expected primary-expression before β€˜gc_type_filter’
     , v8::GCType gc_type_filter = v8::kGCTypeAll) {
                  ^~~~~~~~~~~~~~
../../nan/nan.h:479:20: error: variable or field β€˜NanRemoveGCEpilogueCallback’ declared void
       v8::Isolate::GCEpilogueCallback callback) {
                    ^~~~~~~~~~~~~~~~~~
../../nan/nan.h:479:7: error: β€˜GCEpilogueCallback’ is not a member of β€˜v8::Isolate’
       v8::Isolate::GCEpilogueCallback callback) {
       ^~
../../nan/nan.h:484:20: error: variable or field β€˜NanAddGCPrologueCallback’ declared void
       v8::Isolate::GCPrologueCallback callback
                    ^~~~~~~~~~~~~~~~~~
../../nan/nan.h:484:7: error: β€˜GCPrologueCallback’ is not a member of β€˜v8::Isolate’
       v8::Isolate::GCPrologueCallback callback
       ^~
../../nan/nan.h:485:18: error: expected primary-expression before β€˜gc_type_filter’
     , v8::GCType gc_type_filter = v8::kGCTypeAll) {
                  ^~~~~~~~~~~~~~
../../nan/nan.h:490:20: error: variable or field β€˜NanRemoveGCPrologueCallback’ declared void
       v8::Isolate::GCPrologueCallback callback) {
                    ^~~~~~~~~~~~~~~~~~
../../nan/nan.h:490:7: error: β€˜GCPrologueCallback’ is not a member of β€˜v8::Isolate’
       v8::Isolate::GCPrologueCallback callback) {
       ^~
../../nan/nan.h:569:15: error: β€˜WeakCallbackData’ in namespace β€˜v8’ does not name a template type
     const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) {
               ^~~~~~~~~~~~~~~~
../../nan/nan.h:569:31: error: expected β€˜,’ or β€˜...’ before β€˜<’ token
     const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) {
                               ^
../../nan/nan.h: In function β€˜void _NanWeakCallbackDispatcher(int)’:
../../nan/nan.h:570:42: error: β€˜data’ was not declared in this scope
       _NanWeakCallbackInfo<T, P> *info = data.GetParameter();
                                          ^~~~
../../nan/nan.h: At global scope:
../../nan/nan.h:661:13: error: β€˜node::smalloc’ has not been declared
     , node::smalloc::FreeCallback callback
             ^~~~~~~
../../nan/nan.h:661:35: error: expected β€˜,’ or β€˜...’ before β€˜callback’
     , node::smalloc::FreeCallback callback
                                   ^~~~~~~~
../../nan/nan.h: In function β€˜v8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)’:
../../nan/nan.h:665:50: error: β€˜callback’ was not declared in this scope
         v8::Isolate::GetCurrent(), data, length, callback, hint);
                                                  ^~~~~~~~
../../nan/nan.h:665:60: error: β€˜hint’ was not declared in this scope
         v8::Isolate::GetCurrent(), data, length, callback, hint);
                                                            ^~~~
../../nan/nan.h: In function β€˜v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)’:
../../nan/nan.h:672:67: error: invalid conversion from β€˜const char*’ to β€˜char*’ [-fpermissive]
     return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
                                                                   ^
In file included from ../src/bufferutil.cc:10:0:
/home/den/.node-gyp/7.2.0/include/node/node_buffer.h:46:40: note:   initializing argument 2 of β€˜v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)’
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^~~
In file included from ../src/bufferutil.cc:16:0:
../../nan/nan.h:672:29: error: could not convert β€˜node::Buffer::New(v8::Isolate::GetCurrent(), ((char*)data), ((size_t)size))’ from β€˜v8::MaybeLocal<v8::Object>’ to β€˜v8::Local<v8::Object>’
     return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
            ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../nan/nan.h: In function β€˜v8::Local<v8::Object> NanNewBufferHandle(uint32_t)’:
../../nan/nan.h:676:29: error: could not convert β€˜node::Buffer::New(v8::Isolate::GetCurrent(), ((size_t)size))’ from β€˜v8::MaybeLocal<v8::Object>’ to β€˜v8::Local<v8::Object>’
     return node::Buffer::New(v8::Isolate::GetCurrent(), size);
            ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../nan/nan.h: In function β€˜v8::Local<v8::Object> NanBufferUse(char*, uint32_t)’:
../../nan/nan.h:683:12: error: β€˜Use’ is not a member of β€˜node::Buffer’
     return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
            ^~~~
../../nan/nan.h: In function β€˜v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>, const v8::ScriptOrigin&)’:
../../nan/nan.h:710:74: warning: β€˜static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
     return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
                                                                          ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/bufferutil.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1321:21: note: declared here
       Local<Script> Compile(Isolate* isolate, Source* source,
                     ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/bufferutil.cc:16:0:
../../nan/nan.h: In function β€˜v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>)’:
../../nan/nan.h:717:74: warning: β€˜static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
     return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
                                                                          ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/bufferutil.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1321:21: note: declared here
       Local<Script> Compile(Isolate* isolate, Source* source,
                     ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/bufferutil.cc: In static member function β€˜static void BufferUtil::Initialize(v8::Handle<v8::Object>)’:
../src/bufferutil.cc:30:52: error: call of overloaded β€˜NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [7], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous
     NODE_SET_METHOD(t, "unmask", BufferUtil::Unmask);
                                                    ^
In file included from ../src/bufferutil.cc:8:0:
/home/den/.node-gyp/7.2.0/include/node/node.h:238:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)
 inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,
             ^~~~~~~~~~~~~~~
/home/den/.node-gyp/7.2.0/include/node/node.h:251:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback)
 inline void NODE_SET_METHOD(v8::Local<v8::Object> recv,
             ^~~~~~~~~~~~~~~
../src/bufferutil.cc:31:48: error: call of overloaded β€˜NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [5], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous
     NODE_SET_METHOD(t, "mask", BufferUtil::Mask);
                                                ^
In file included from ../src/bufferutil.cc:8:0:
/home/den/.node-gyp/7.2.0/include/node/node.h:238:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)
 inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,
             ^~~~~~~~~~~~~~~
/home/den/.node-gyp/7.2.0/include/node/node.h:251:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback)
 inline void NODE_SET_METHOD(v8::Local<v8::Object> recv,
             ^~~~~~~~~~~~~~~
../src/bufferutil.cc:32:50: error: call of overloaded β€˜NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [6], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous
     NODE_SET_METHOD(t, "merge", BufferUtil::Merge);
                                                  ^
In file included from ../src/bufferutil.cc:8:0:
/home/den/.node-gyp/7.2.0/include/node/node.h:238:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)
 inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,
             ^~~~~~~~~~~~~~~
/home/den/.node-gyp/7.2.0/include/node/node.h:251:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback)
 inline void NODE_SET_METHOD(v8::Local<v8::Object> recv,
             ^~~~~~~~~~~~~~~
bufferutil.target.mk:96: recipe for target 'Release/obj.target/bufferutil/src/bufferutil.o' failed
make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Error 1
make: Leaving directory '/home/den/projects/terminal-slack/node_modules/bufferutil/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/den/.nvm/versions/node/v7.2.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:106:13)
gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Linux 4.8.0-48-generic
gyp ERR! command "/home/den/.nvm/versions/node/v7.2.0/bin/node" "/home/den/.nvm/versions/node/v7.2.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/den/projects/terminal-slack/node_modules/bufferutil
gyp ERR! node -v v7.2.0
gyp ERR! node-gyp -v v3.5.0
gyp ERR! not ok 

> [email protected] install /home/den/projects/terminal-slack/node_modules/utf-8-validate
> node-gyp rebuild

gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
make: Entering directory '/home/den/projects/terminal-slack/node_modules/utf-8-validate/build'
  CXX(target) Release/obj.target/validation/src/validation.o
In file included from ../../nan/nan.h:82:0,
                 from ../src/validation.cc:15:
../../nan/nan_new.h: In function β€˜v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Int32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’:
../../nan/nan_new.h:34:64: warning: β€˜v8::Local<v8::Int32> v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
 To<v8::Int32>(v8::Handle<v8::Integer> i)   { return i->ToInt32(); }
                                                                ^
In file included from ../src/validation.cc:7:0:
/home/den/.node-gyp/7.2.0/include/node/v8.h:8442:14: note: declared here
 Local<Int32> Value::ToInt32() const {
              ^~~~~
In file included from ../../nan/nan.h:82:0,
                 from ../src/validation.cc:15:
../../nan/nan_new.h: In function β€˜v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Uint32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’:
../../nan/nan_new.h:39:65: warning: β€˜v8::Local<v8::Uint32> v8::Value::ToUint32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
 To<v8::Uint32>(v8::Handle<v8::Integer> i)  { return i->ToUint32(); }
                                                                 ^
In file included from ../src/validation.cc:7:0:
/home/den/.node-gyp/7.2.0/include/node/v8.h:8436:15: note: declared here
 Local<Uint32> Value::ToUint32() const {
               ^~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/validation.cc:15:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::BooleanObject>::return_t NanIntern::Factory<v8::BooleanObject>::New(bool)’:
../../nan/nan_implementation_12_inl.h:49:38: warning: β€˜static v8::Local<v8::Value> v8::BooleanObject::New(bool)’ is deprecated: Pass an isolate [-Wdeprecated-declarations]
   return v8::BooleanObject::New(value).As<v8::BooleanObject>();
                                      ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/validation.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:4048:56: note: declared here
   V8_DEPRECATED("Pass an isolate", static Local<Value> New(bool value));
                                                        ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/validation.cc:15:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>)’:
../../nan/nan_implementation_12_inl.h:166:69: warning: β€˜static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
                                                                     ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/validation.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1321:21: note: declared here
       Local<Script> Compile(Isolate* isolate, Source* source,
                     ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/validation.cc:15:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’:
../../nan/nan_implementation_12_inl.h:173:69: warning: β€˜static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
                                                                     ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/validation.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1321:21: note: declared here
       Local<Script> Compile(Isolate* isolate, Source* source,
                     ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/validation.cc:15:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(const uint8_t*, int)’:
../../nan/nan_implementation_12_inl.h:206:42: warning: β€˜static v8::Local<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::String::NewStringType, int)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         v8::String::kNormalString, length);
                                          ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/validation.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:2317:21: note: declared here
       Local<String> NewFromOneByte(Isolate* isolate, const uint8_t* data,
                     ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/validation.cc:15:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(v8::String::ExternalStringResource*)’:
../../nan/nan_implementation_12_inl.h:217:66: warning: β€˜static v8::Local<v8::String> v8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::String::NewExternal(v8::Isolate::GetCurrent(), value);
                                                                  ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/validation.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:2355:38: note: declared here
                        Local<String> NewExternal(
                                      ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/validation.cc:15:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>)’:
../../nan/nan_implementation_12_inl.h:237:30: warning: β€˜static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                              ^~~~~~~~~~~~~~
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/validation.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1301:45: note: declared here
                        Local<UnboundScript> CompileUnbound(
                                             ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/validation.cc:15:
../../nan/nan_implementation_12_inl.h:237:76: warning: β€˜static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                                                                            ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/validation.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1301:45: note: declared here
                        Local<UnboundScript> CompileUnbound(
                                             ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/validation.cc:15:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’:
../../nan/nan_implementation_12_inl.h:244:30: warning: β€˜static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                              ^~~~~~~~~~~~~~
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/validation.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1301:45: note: declared here
                        Local<UnboundScript> CompileUnbound(
                                             ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/validation.cc:15:
../../nan/nan_implementation_12_inl.h:244:76: warning: β€˜static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                                                                            ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/validation.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1301:45: note: declared here
                        Local<UnboundScript> CompileUnbound(
                                             ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/validation.cc:15:0:
../../nan/nan.h: At global scope:
../../nan/nan.h:261:25: error: redefinition of β€˜template<class T> v8::Local<T> _NanEnsureLocal(v8::Local<T>)’
 NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
                         ^~~~~~~~~~~~~~~
../../nan/nan.h:256:25: note: β€˜template<class T> v8::Local<T> _NanEnsureLocal(v8::Handle<T>)’ previously declared here
 NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
                         ^~~~~~~~~~~~~~~
../../nan/nan.h: In function β€˜bool NanIdleNotification(int)’:
../../nan/nan.h:289:71: warning: β€˜bool v8::Isolate::IdleNotification(int)’ is deprecated: use IdleNotificationDeadline() [-Wdeprecated-declarations]
     return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms);
                                                                       ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/validation.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:6290:22: note: declared here
                 bool IdleNotification(int idle_time_in_ms));
                      ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/validation.cc:15:0:
../../nan/nan.h: At global scope:
../../nan/nan.h:473:20: error: variable or field β€˜NanAddGCEpilogueCallback’ declared void
       v8::Isolate::GCEpilogueCallback callback
                    ^~~~~~~~~~~~~~~~~~
../../nan/nan.h:473:7: error: β€˜GCEpilogueCallback’ is not a member of β€˜v8::Isolate’
       v8::Isolate::GCEpilogueCallback callback
       ^~
../../nan/nan.h:474:18: error: expected primary-expression before β€˜gc_type_filter’
     , v8::GCType gc_type_filter = v8::kGCTypeAll) {
                  ^~~~~~~~~~~~~~
../../nan/nan.h:479:20: error: variable or field β€˜NanRemoveGCEpilogueCallback’ declared void
       v8::Isolate::GCEpilogueCallback callback) {
                    ^~~~~~~~~~~~~~~~~~
../../nan/nan.h:479:7: error: β€˜GCEpilogueCallback’ is not a member of β€˜v8::Isolate’
       v8::Isolate::GCEpilogueCallback callback) {
       ^~
../../nan/nan.h:484:20: error: variable or field β€˜NanAddGCPrologueCallback’ declared void
       v8::Isolate::GCPrologueCallback callback
                    ^~~~~~~~~~~~~~~~~~
../../nan/nan.h:484:7: error: β€˜GCPrologueCallback’ is not a member of β€˜v8::Isolate’
       v8::Isolate::GCPrologueCallback callback
       ^~
../../nan/nan.h:485:18: error: expected primary-expression before β€˜gc_type_filter’
     , v8::GCType gc_type_filter = v8::kGCTypeAll) {
                  ^~~~~~~~~~~~~~
../../nan/nan.h:490:20: error: variable or field β€˜NanRemoveGCPrologueCallback’ declared void
       v8::Isolate::GCPrologueCallback callback) {
                    ^~~~~~~~~~~~~~~~~~
../../nan/nan.h:490:7: error: β€˜GCPrologueCallback’ is not a member of β€˜v8::Isolate’
       v8::Isolate::GCPrologueCallback callback) {
       ^~
../../nan/nan.h:569:15: error: β€˜WeakCallbackData’ in namespace β€˜v8’ does not name a template type
     const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) {
               ^~~~~~~~~~~~~~~~
../../nan/nan.h:569:31: error: expected β€˜,’ or β€˜...’ before β€˜<’ token
     const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) {
                               ^
../../nan/nan.h: In function β€˜void _NanWeakCallbackDispatcher(int)’:
../../nan/nan.h:570:42: error: β€˜data’ was not declared in this scope
       _NanWeakCallbackInfo<T, P> *info = data.GetParameter();
                                          ^~~~
../../nan/nan.h: At global scope:
../../nan/nan.h:661:13: error: β€˜node::smalloc’ has not been declared
     , node::smalloc::FreeCallback callback
             ^~~~~~~
../../nan/nan.h:661:35: error: expected β€˜,’ or β€˜...’ before β€˜callback’
     , node::smalloc::FreeCallback callback
                                   ^~~~~~~~
../../nan/nan.h: In function β€˜v8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)’:
../../nan/nan.h:665:50: error: β€˜callback’ was not declared in this scope
         v8::Isolate::GetCurrent(), data, length, callback, hint);
                                                  ^~~~~~~~
../../nan/nan.h:665:60: error: β€˜hint’ was not declared in this scope
         v8::Isolate::GetCurrent(), data, length, callback, hint);
                                                            ^~~~
../../nan/nan.h: In function β€˜v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)’:
../../nan/nan.h:672:67: error: invalid conversion from β€˜const char*’ to β€˜char*’ [-fpermissive]
     return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
                                                                   ^
In file included from ../src/validation.cc:10:0:
/home/den/.node-gyp/7.2.0/include/node/node_buffer.h:46:40: note:   initializing argument 2 of β€˜v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)’
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^~~
In file included from ../src/validation.cc:15:0:
../../nan/nan.h:672:29: error: could not convert β€˜node::Buffer::New(v8::Isolate::GetCurrent(), ((char*)data), ((size_t)size))’ from β€˜v8::MaybeLocal<v8::Object>’ to β€˜v8::Local<v8::Object>’
     return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
            ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../nan/nan.h: In function β€˜v8::Local<v8::Object> NanNewBufferHandle(uint32_t)’:
../../nan/nan.h:676:29: error: could not convert β€˜node::Buffer::New(v8::Isolate::GetCurrent(), ((size_t)size))’ from β€˜v8::MaybeLocal<v8::Object>’ to β€˜v8::Local<v8::Object>’
     return node::Buffer::New(v8::Isolate::GetCurrent(), size);
            ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../nan/nan.h: In function β€˜v8::Local<v8::Object> NanBufferUse(char*, uint32_t)’:
../../nan/nan.h:683:12: error: β€˜Use’ is not a member of β€˜node::Buffer’
     return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
            ^~~~
../../nan/nan.h: In function β€˜v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>, const v8::ScriptOrigin&)’:
../../nan/nan.h:710:74: warning: β€˜static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
     return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
                                                                          ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/validation.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1321:21: note: declared here
       Local<Script> Compile(Isolate* isolate, Source* source,
                     ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/validation.cc:15:0:
../../nan/nan.h: In function β€˜v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>)’:
../../nan/nan.h:717:74: warning: β€˜static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
     return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
                                                                          ^
In file included from /home/den/.node-gyp/7.2.0/include/node/v8.h:26:0,
                 from ../src/validation.cc:7:
/home/den/.node-gyp/7.2.0/include/node/v8.h:1321:21: note: declared here
       Local<Script> Compile(Isolate* isolate, Source* source,
                     ^
/home/den/.node-gyp/7.2.0/include/node/v8config.h:329:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/validation.cc: In static member function β€˜static void Validation::Initialize(v8::Handle<v8::Object>)’:
../src/validation.cc:112:62: error: call of overloaded β€˜NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [12], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous
     NODE_SET_METHOD(t, "isValidUTF8", Validation::IsValidUTF8);
                                                              ^
In file included from ../src/validation.cc:8:0:
/home/den/.node-gyp/7.2.0/include/node/node.h:238:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)
 inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,
             ^~~~~~~~~~~~~~~
/home/den/.node-gyp/7.2.0/include/node/node.h:251:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback)
 inline void NODE_SET_METHOD(v8::Local<v8::Object> recv,
             ^~~~~~~~~~~~~~~
validation.target.mk:96: recipe for target 'Release/obj.target/validation/src/validation.o' failed
make: *** [Release/obj.target/validation/src/validation.o] Error 1
make: Leaving directory '/home/den/projects/terminal-slack/node_modules/utf-8-validate/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/den/.nvm/versions/node/v7.2.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:106:13)
gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Linux 4.8.0-48-generic
gyp ERR! command "/home/den/.nvm/versions/node/v7.2.0/bin/node" "/home/den/.nvm/versions/node/v7.2.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/den/projects/terminal-slack/node_modules/utf-8-validate
gyp ERR! node -v v7.2.0
gyp ERR! node-gyp -v v3.5.0
gyp ERR! not ok 
[email protected] /home/den/projects/terminal-slack
└── UNMET PEER DEPENDENCY [email protected]

npm WARN [email protected] requires a peer of eslint-plugin-import@^1.16.0 but none was installed.
npm WARN [email protected] requires a peer of eslint-plugin-import@^1.16.0 but none was installed.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/bufferutil):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/utf-8-validate):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
den:~/projects/terminal-slack [j1] (master ?M) [!1] $ 

Get older messages

Currently the program only grabs history with the default value for latest 'now', which means it only grabs the default number of messages '100' and older messages can't be retrieved.
I like keeping the default number of messages (100) for pagination but also, I want to be able to go back and grab messages older than that.
I've coded this into my copy of terminal slack, along with additional controls for history (page up/down home/end), but it's hacky. I'll clean it up and post it here if there's interest.

node main.js doesn't start

Hi Evan,

I have an issue. I'm sure npm and node are installed and meet the requirements but every time i try to run node main.js the app appears for one second and then it closes.

It shows that it's trying to connect to Slack before it closes again.

image

Any idea how can i fix that?
Thanks in advance.

Failed to install in Ubuntu

I can reproduce this in 16.04 and 14.04. This appears to be related to nodejs/node-gyp#809 but I cannot fixed it after trying different iterations of possible fixes.

# npm install

> [email protected] install /root/terminal-slack/node_modules/bufferutil
> node-gyp rebuild

make: Entering directory '/root/terminal-slack/node_modules/bufferutil/build'
  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
In file included from ../../nan/nan.h:82:0,
                 from ../src/bufferutil.cc:16:
../../nan/nan_new.h: In function β€˜v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Int32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’:
../../nan/nan_new.h:34:64: warning: β€˜v8::Local<v8::Int32> v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
 To<v8::Int32>(v8::Handle<v8::Integer> i)   { return i->ToInt32(); }
                                                                ^
In file included from ../src/bufferutil.cc:7:0:
/root/.node-gyp/6.11.3/include/node/v8.h:8214:14: note: declared here
 Local<Int32> Value::ToInt32() const {
              ^
In file included from ../../nan/nan.h:82:0,
                 from ../src/bufferutil.cc:16:
../../nan/nan_new.h: In function β€˜v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Uint32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’:
../../nan/nan_new.h:39:65: warning: β€˜v8::Local<v8::Uint32> v8::Value::ToUint32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
 To<v8::Uint32>(v8::Handle<v8::Integer> i)  { return i->ToUint32(); }
                                                                 ^
In file included from ../src/bufferutil.cc:7:0:
/root/.node-gyp/6.11.3/include/node/v8.h:8208:15: note: declared here
 Local<Uint32> Value::ToUint32() const {
               ^
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/bufferutil.cc:16:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::BooleanObject>::return_t NanIntern::Factory<v8::BooleanObject>::New(bool)’:
../../nan/nan_implementation_12_inl.h:49:38: warning: β€˜static v8::Local<v8::Value> v8::BooleanObject::New(bool)’ is deprecated: Pass an isolate [-Wdeprecated-declarations]
   return v8::BooleanObject::New(value).As<v8::BooleanObject>();
                                      ^
In file included from /root/.node-gyp/6.11.3/include/node/v8.h:25:0,
                 from ../src/bufferutil.cc:7:
/root/.node-gyp/6.11.3/include/node/v8.h:4009:56: note: declared here
   V8_DEPRECATED("Pass an isolate", static Local<Value> New(bool value));
                                                        ^
/root/.node-gyp/6.11.3/include/node/v8config.h:333:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/bufferutil.cc:16:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>)’:
../../nan/nan_implementation_12_inl.h:166:69: warning: β€˜static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
                                                                     ^
In file included from /root/.node-gyp/6.11.3/include/node/v8.h:25:0,
                 from ../src/bufferutil.cc:7:
/root/.node-gyp/6.11.3/include/node/v8.h:1354:21: note: declared here
       Local<Script> Compile(Isolate* isolate, Source* source,
                     ^
/root/.node-gyp/6.11.3/include/node/v8config.h:333:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/bufferutil.cc:16:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’:
../../nan/nan_implementation_12_inl.h:173:69: warning: β€˜static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
                                                                     ^
In file included from /root/.node-gyp/6.11.3/include/node/v8.h:25:0,
                 from ../src/bufferutil.cc:7:
/root/.node-gyp/6.11.3/include/node/v8.h:1354:21: note: declared here
       Local<Script> Compile(Isolate* isolate, Source* source,
                     ^
/root/.node-gyp/6.11.3/include/node/v8config.h:333:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/bufferutil.cc:16:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(const uint8_t*, int)’:
../../nan/nan_implementation_12_inl.h:206:42: warning: β€˜static v8::Local<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::String::NewStringType, int)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         v8::String::kNormalString, length);
                                          ^
In file included from /root/.node-gyp/6.11.3/include/node/v8.h:25:0,
                 from ../src/bufferutil.cc:7:
/root/.node-gyp/6.11.3/include/node/v8.h:2334:21: note: declared here
       Local<String> NewFromOneByte(Isolate* isolate, const uint8_t* data,
                     ^
/root/.node-gyp/6.11.3/include/node/v8config.h:333:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/bufferutil.cc:16:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(v8::String::ExternalStringResource*)’:
../../nan/nan_implementation_12_inl.h:217:66: warning: β€˜static v8::Local<v8::String> v8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::String::NewExternal(v8::Isolate::GetCurrent(), value);
                                                                  ^
In file included from /root/.node-gyp/6.11.3/include/node/v8.h:25:0,
                 from ../src/bufferutil.cc:7:
/root/.node-gyp/6.11.3/include/node/v8.h:2372:38: note: declared here
                        Local<String> NewExternal(
                                      ^
/root/.node-gyp/6.11.3/include/node/v8config.h:333:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/bufferutil.cc:16:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>)’:
../../nan/nan_implementation_12_inl.h:237:30: warning: β€˜static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                              ^
In file included from /root/.node-gyp/6.11.3/include/node/v8.h:25:0,
                 from ../src/bufferutil.cc:7:
/root/.node-gyp/6.11.3/include/node/v8.h:1334:45: note: declared here
                        Local<UnboundScript> CompileUnbound(
                                             ^
/root/.node-gyp/6.11.3/include/node/v8config.h:333:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/bufferutil.cc:16:
../../nan/nan_implementation_12_inl.h:237:76: warning: β€˜static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                                                                            ^
In file included from /root/.node-gyp/6.11.3/include/node/v8.h:25:0,
                 from ../src/bufferutil.cc:7:
/root/.node-gyp/6.11.3/include/node/v8.h:1334:45: note: declared here
                        Local<UnboundScript> CompileUnbound(
                                             ^
/root/.node-gyp/6.11.3/include/node/v8config.h:333:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/bufferutil.cc:16:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’:
../../nan/nan_implementation_12_inl.h:244:30: warning: β€˜static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                              ^
In file included from /root/.node-gyp/6.11.3/include/node/v8.h:25:0,
                 from ../src/bufferutil.cc:7:
/root/.node-gyp/6.11.3/include/node/v8.h:1334:45: note: declared here
                        Local<UnboundScript> CompileUnbound(
                                             ^
/root/.node-gyp/6.11.3/include/node/v8config.h:333:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/bufferutil.cc:16:
../../nan/nan_implementation_12_inl.h:244:76: warning: β€˜static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                                                                            ^
In file included from /root/.node-gyp/6.11.3/include/node/v8.h:25:0,
                 from ../src/bufferutil.cc:7:
/root/.node-gyp/6.11.3/include/node/v8.h:1334:45: note: declared here
                        Local<UnboundScript> CompileUnbound(
                                             ^
/root/.node-gyp/6.11.3/include/node/v8config.h:333:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
In file included from ../src/bufferutil.cc:16:0:
../../nan/nan.h: At global scope:
../../nan/nan.h:261:25: error: redefinition of β€˜template<class T> v8::Local<T> _NanEnsureLocal(v8::Local<T>)’
 NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
                         ^
../../nan/nan.h:256:25: note: β€˜template<class T> v8::Local<T> _NanEnsureLocal(v8::Handle<T>)’ previously declared here
 NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
                         ^
../../nan/nan.h: In function β€˜bool NanIdleNotification(int)’:
../../nan/nan.h:289:71: warning: β€˜bool v8::Isolate::IdleNotification(int)’ is deprecated: use IdleNotificationDeadline() [-Wdeprecated-declarations]
     return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms);
                                                                       ^
In file included from /root/.node-gyp/6.11.3/include/node/v8.h:25:0,
                 from ../src/bufferutil.cc:7:
/root/.node-gyp/6.11.3/include/node/v8.h:6116:22: note: declared here
                 bool IdleNotification(int idle_time_in_ms));
                      ^
/root/.node-gyp/6.11.3/include/node/v8config.h:333:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
In file included from ../src/bufferutil.cc:16:0:
../../nan/nan.h: At global scope:
../../nan/nan.h:473:20: error: variable or field β€˜NanAddGCEpilogueCallback’ declared void
       v8::Isolate::GCEpilogueCallback callback
                    ^
../../nan/nan.h:473:7: error: β€˜GCEpilogueCallback’ is not a member of β€˜v8::Isolate’
       v8::Isolate::GCEpilogueCallback callback
       ^
../../nan/nan.h:474:18: error: expected primary-expression before β€˜gc_type_filter’
     , v8::GCType gc_type_filter = v8::kGCTypeAll) {
                  ^
../../nan/nan.h:479:20: error: variable or field β€˜NanRemoveGCEpilogueCallback’ declared void
       v8::Isolate::GCEpilogueCallback callback) {
                    ^
../../nan/nan.h:479:7: error: β€˜GCEpilogueCallback’ is not a member of β€˜v8::Isolate’
       v8::Isolate::GCEpilogueCallback callback) {
       ^
../../nan/nan.h:484:20: error: variable or field β€˜NanAddGCPrologueCallback’ declared void
       v8::Isolate::GCPrologueCallback callback
                    ^
../../nan/nan.h:484:7: error: β€˜GCPrologueCallback’ is not a member of β€˜v8::Isolate’
       v8::Isolate::GCPrologueCallback callback
       ^
../../nan/nan.h:485:18: error: expected primary-expression before β€˜gc_type_filter’
     , v8::GCType gc_type_filter = v8::kGCTypeAll) {
                  ^
../../nan/nan.h:490:20: error: variable or field β€˜NanRemoveGCPrologueCallback’ declared void
       v8::Isolate::GCPrologueCallback callback) {
                    ^
../../nan/nan.h:490:7: error: β€˜GCPrologueCallback’ is not a member of β€˜v8::Isolate’
       v8::Isolate::GCPrologueCallback callback) {
       ^
../../nan/nan.h:661:13: error: β€˜node::smalloc’ has not been declared
     , node::smalloc::FreeCallback callback
             ^
../../nan/nan.h:661:35: error: expected β€˜,’ or β€˜...’ before β€˜callback’
     , node::smalloc::FreeCallback callback
                                   ^
../../nan/nan.h: In function β€˜v8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)’:
../../nan/nan.h:665:50: error: β€˜callback’ was not declared in this scope
         v8::Isolate::GetCurrent(), data, length, callback, hint);
                                                  ^
../../nan/nan.h:665:60: error: β€˜hint’ was not declared in this scope
         v8::Isolate::GetCurrent(), data, length, callback, hint);
                                                            ^
../../nan/nan.h: In function β€˜v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)’:
../../nan/nan.h:672:67: error: invalid conversion from β€˜const char*’ to β€˜char*’ [-fpermissive]
     return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
                                                                   ^
In file included from ../src/bufferutil.cc:10:0:
/root/.node-gyp/6.11.3/include/node/node_buffer.h:46:40: note:   initializing argument 2 of β€˜v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)’
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
In file included from ../src/bufferutil.cc:16:0:
../../nan/nan.h:672:29: error: could not convert β€˜node::Buffer::New(v8::Isolate::GetCurrent(), ((char*)data), ((size_t)size))’ from β€˜v8::MaybeLocal<v8::Object>’ to β€˜v8::Local<v8::Object>’
     return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
                             ^
../../nan/nan.h: In function β€˜v8::Local<v8::Object> NanNewBufferHandle(uint32_t)’:
../../nan/nan.h:676:29: error: could not convert β€˜node::Buffer::New(v8::Isolate::GetCurrent(), ((size_t)size))’ from β€˜v8::MaybeLocal<v8::Object>’ to β€˜v8::Local<v8::Object>’
     return node::Buffer::New(v8::Isolate::GetCurrent(), size);
                             ^
../../nan/nan.h: In function β€˜v8::Local<v8::Object> NanBufferUse(char*, uint32_t)’:
../../nan/nan.h:683:12: error: β€˜Use’ is not a member of β€˜node::Buffer’
     return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
            ^
../../nan/nan.h: In function β€˜v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>, const v8::ScriptOrigin&)’:
../../nan/nan.h:710:74: warning: β€˜static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
     return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
                                                                          ^
In file included from /root/.node-gyp/6.11.3/include/node/v8.h:25:0,
                 from ../src/bufferutil.cc:7:
/root/.node-gyp/6.11.3/include/node/v8.h:1354:21: note: declared here
       Local<Script> Compile(Isolate* isolate, Source* source,
                     ^
/root/.node-gyp/6.11.3/include/node/v8config.h:333:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
In file included from ../src/bufferutil.cc:16:0:
../../nan/nan.h: In function β€˜v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>)’:
../../nan/nan.h:717:74: warning: β€˜static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
     return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
                                                                          ^
In file included from /root/.node-gyp/6.11.3/include/node/v8.h:25:0,
                 from ../src/bufferutil.cc:7:
/root/.node-gyp/6.11.3/include/node/v8.h:1354:21: note: declared here
       Local<Script> Compile(Isolate* isolate, Source* source,
                     ^
/root/.node-gyp/6.11.3/include/node/v8config.h:333:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/bufferutil.cc: In static member function β€˜static void BufferUtil::Initialize(v8::Handle<v8::Object>)’:
../src/bufferutil.cc:30:52: error: call of overloaded β€˜NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [7], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous
     NODE_SET_METHOD(t, "unmask", BufferUtil::Unmask);
                                                    ^
In file included from ../src/bufferutil.cc:8:0:
/root/.node-gyp/6.11.3/include/node/node.h:246:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)
 inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,
             ^
/root/.node-gyp/6.11.3/include/node/node.h:259:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback)
 inline void NODE_SET_METHOD(v8::Local<v8::Object> recv,
             ^
../src/bufferutil.cc:31:48: error: call of overloaded β€˜NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [5], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous
     NODE_SET_METHOD(t, "mask", BufferUtil::Mask);
                                                ^
In file included from ../src/bufferutil.cc:8:0:
/root/.node-gyp/6.11.3/include/node/node.h:246:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)
 inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,
             ^
/root/.node-gyp/6.11.3/include/node/node.h:259:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback)
 inline void NODE_SET_METHOD(v8::Local<v8::Object> recv,
             ^
../src/bufferutil.cc:32:50: error: call of overloaded β€˜NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [6], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous
     NODE_SET_METHOD(t, "merge", BufferUtil::Merge);
                                                  ^
In file included from ../src/bufferutil.cc:8:0:
/root/.node-gyp/6.11.3/include/node/node.h:246:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)
 inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,
             ^
/root/.node-gyp/6.11.3/include/node/node.h:259:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback)
 inline void NODE_SET_METHOD(v8::Local<v8::Object> recv,
             ^
bufferutil.target.mk:96: recipe for target 'Release/obj.target/bufferutil/src/bufferutil.o' failed
make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Error 1
make: Leaving directory '/root/terminal-slack/node_modules/bufferutil/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:106:13)
gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)
gyp ERR! System Linux 3.13.0-37-generic
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /root/terminal-slack/node_modules/bufferutil
gyp ERR! node -v v6.11.3
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok

> [email protected] install /root/terminal-slack/node_modules/utf-8-validate
> node-gyp rebuild

make: Entering directory '/root/terminal-slack/node_modules/utf-8-validate/build'
  CXX(target) Release/obj.target/validation/src/validation.o
In file included from ../../nan/nan.h:82:0,
                 from ../src/validation.cc:15:
../../nan/nan_new.h: In function β€˜v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Int32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’:
../../nan/nan_new.h:34:64: warning: β€˜v8::Local<v8::Int32> v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
 To<v8::Int32>(v8::Handle<v8::Integer> i)   { return i->ToInt32(); }
                                                                ^
In file included from ../src/validation.cc:7:0:
/root/.node-gyp/6.11.3/include/node/v8.h:8214:14: note: declared here
 Local<Int32> Value::ToInt32() const {
              ^
In file included from ../../nan/nan.h:82:0,
                 from ../src/validation.cc:15:
../../nan/nan_new.h: In function β€˜v8::Local<T> NanIntern::To(v8::Handle<v8::Integer>) [with T = v8::Uint32; v8::Handle<v8::Integer> = v8::Local<v8::Integer>]’:
../../nan/nan_new.h:39:65: warning: β€˜v8::Local<v8::Uint32> v8::Value::ToUint32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
 To<v8::Uint32>(v8::Handle<v8::Integer> i)  { return i->ToUint32(); }
                                                                 ^
In file included from ../src/validation.cc:7:0:
/root/.node-gyp/6.11.3/include/node/v8.h:8208:15: note: declared here
 Local<Uint32> Value::ToUint32() const {
               ^
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/validation.cc:15:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::BooleanObject>::return_t NanIntern::Factory<v8::BooleanObject>::New(bool)’:
../../nan/nan_implementation_12_inl.h:49:38: warning: β€˜static v8::Local<v8::Value> v8::BooleanObject::New(bool)’ is deprecated: Pass an isolate [-Wdeprecated-declarations]
   return v8::BooleanObject::New(value).As<v8::BooleanObject>();
                                      ^
In file included from /root/.node-gyp/6.11.3/include/node/v8.h:25:0,
                 from ../src/validation.cc:7:
/root/.node-gyp/6.11.3/include/node/v8.h:4009:56: note: declared here
   V8_DEPRECATED("Pass an isolate", static Local<Value> New(bool value));
                                                        ^
/root/.node-gyp/6.11.3/include/node/v8config.h:333:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/validation.cc:15:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>)’:
../../nan/nan_implementation_12_inl.h:166:69: warning: β€˜static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
                                                                     ^
In file included from /root/.node-gyp/6.11.3/include/node/v8.h:25:0,
                 from ../src/validation.cc:7:
/root/.node-gyp/6.11.3/include/node/v8.h:1354:21: note: declared here
       Local<Script> Compile(Isolate* isolate, Source* source,
                     ^
/root/.node-gyp/6.11.3/include/node/v8config.h:333:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/validation.cc:15:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::Script>::return_t NanIntern::Factory<v8::Script>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’:
../../nan/nan_implementation_12_inl.h:173:69: warning: β€˜static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
                                                                     ^
In file included from /root/.node-gyp/6.11.3/include/node/v8.h:25:0,
                 from ../src/validation.cc:7:
/root/.node-gyp/6.11.3/include/node/v8.h:1354:21: note: declared here
       Local<Script> Compile(Isolate* isolate, Source* source,
                     ^
/root/.node-gyp/6.11.3/include/node/v8config.h:333:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/validation.cc:15:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(const uint8_t*, int)’:
../../nan/nan_implementation_12_inl.h:206:42: warning: β€˜static v8::Local<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::String::NewStringType, int)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         v8::String::kNormalString, length);
                                          ^
In file included from /root/.node-gyp/6.11.3/include/node/v8.h:25:0,
                 from ../src/validation.cc:7:
/root/.node-gyp/6.11.3/include/node/v8.h:2334:21: note: declared here
       Local<String> NewFromOneByte(Isolate* isolate, const uint8_t* data,
                     ^
/root/.node-gyp/6.11.3/include/node/v8config.h:333:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/validation.cc:15:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::String>::return_t NanIntern::Factory<v8::String>::New(v8::String::ExternalStringResource*)’:
../../nan/nan_implementation_12_inl.h:217:66: warning: β€˜static v8::Local<v8::String> v8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::String::NewExternal(v8::Isolate::GetCurrent(), value);
                                                                  ^
In file included from /root/.node-gyp/6.11.3/include/node/v8.h:25:0,
                 from ../src/validation.cc:7:
/root/.node-gyp/6.11.3/include/node/v8.h:2372:38: note: declared here
                        Local<String> NewExternal(
                                      ^
/root/.node-gyp/6.11.3/include/node/v8config.h:333:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/validation.cc:15:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>)’:
../../nan/nan_implementation_12_inl.h:237:30: warning: β€˜static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                              ^
In file included from /root/.node-gyp/6.11.3/include/node/v8.h:25:0,
                 from ../src/validation.cc:7:
/root/.node-gyp/6.11.3/include/node/v8.h:1334:45: note: declared here
                        Local<UnboundScript> CompileUnbound(
                                             ^
/root/.node-gyp/6.11.3/include/node/v8config.h:333:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/validation.cc:15:
../../nan/nan_implementation_12_inl.h:237:76: warning: β€˜static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                                                                            ^
In file included from /root/.node-gyp/6.11.3/include/node/v8.h:25:0,
                 from ../src/validation.cc:7:
/root/.node-gyp/6.11.3/include/node/v8.h:1334:45: note: declared here
                        Local<UnboundScript> CompileUnbound(
                                             ^
/root/.node-gyp/6.11.3/include/node/v8config.h:333:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/validation.cc:15:
../../nan/nan_implementation_12_inl.h: In static member function β€˜static NanIntern::FactoryBase<v8::UnboundScript>::return_t NanIntern::Factory<v8::UnboundScript>::New(v8::Local<v8::String>, const v8::ScriptOrigin&)’:
../../nan/nan_implementation_12_inl.h:244:30: warning: β€˜static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                              ^
In file included from /root/.node-gyp/6.11.3/include/node/v8.h:25:0,
                 from ../src/validation.cc:7:
/root/.node-gyp/6.11.3/include/node/v8.h:1334:45: note: declared here
                        Local<UnboundScript> CompileUnbound(
                                             ^
/root/.node-gyp/6.11.3/include/node/v8config.h:333:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
In file included from ../../nan/nan_new.h:189:0,
                 from ../../nan/nan.h:82,
                 from ../src/validation.cc:15:
../../nan/nan_implementation_12_inl.h:244:76: warning: β€˜static v8::Local<v8::UnboundScript> v8::ScriptCompiler::CompileUnbound(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
                                                                            ^
In file included from /root/.node-gyp/6.11.3/include/node/v8.h:25:0,
                 from ../src/validation.cc:7:
/root/.node-gyp/6.11.3/include/node/v8.h:1334:45: note: declared here
                        Local<UnboundScript> CompileUnbound(
                                             ^
/root/.node-gyp/6.11.3/include/node/v8config.h:333:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
In file included from ../src/validation.cc:15:0:
../../nan/nan.h: At global scope:
../../nan/nan.h:261:25: error: redefinition of β€˜template<class T> v8::Local<T> _NanEnsureLocal(v8::Local<T>)’
 NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
                         ^
../../nan/nan.h:256:25: note: β€˜template<class T> v8::Local<T> _NanEnsureLocal(v8::Handle<T>)’ previously declared here
 NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
                         ^
../../nan/nan.h: In function β€˜bool NanIdleNotification(int)’:
../../nan/nan.h:289:71: warning: β€˜bool v8::Isolate::IdleNotification(int)’ is deprecated: use IdleNotificationDeadline() [-Wdeprecated-declarations]
     return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms);
                                                                       ^
In file included from /root/.node-gyp/6.11.3/include/node/v8.h:25:0,
                 from ../src/validation.cc:7:
/root/.node-gyp/6.11.3/include/node/v8.h:6116:22: note: declared here
                 bool IdleNotification(int idle_time_in_ms));
                      ^
/root/.node-gyp/6.11.3/include/node/v8config.h:333:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
In file included from ../src/validation.cc:15:0:
../../nan/nan.h: At global scope:
../../nan/nan.h:473:20: error: variable or field β€˜NanAddGCEpilogueCallback’ declared void
       v8::Isolate::GCEpilogueCallback callback
                    ^
../../nan/nan.h:473:7: error: β€˜GCEpilogueCallback’ is not a member of β€˜v8::Isolate’
       v8::Isolate::GCEpilogueCallback callback
       ^
../../nan/nan.h:474:18: error: expected primary-expression before β€˜gc_type_filter’
     , v8::GCType gc_type_filter = v8::kGCTypeAll) {
                  ^
../../nan/nan.h:479:20: error: variable or field β€˜NanRemoveGCEpilogueCallback’ declared void
       v8::Isolate::GCEpilogueCallback callback) {
                    ^
../../nan/nan.h:479:7: error: β€˜GCEpilogueCallback’ is not a member of β€˜v8::Isolate’
       v8::Isolate::GCEpilogueCallback callback) {
       ^
../../nan/nan.h:484:20: error: variable or field β€˜NanAddGCPrologueCallback’ declared void
       v8::Isolate::GCPrologueCallback callback
                    ^
../../nan/nan.h:484:7: error: β€˜GCPrologueCallback’ is not a member of β€˜v8::Isolate’
       v8::Isolate::GCPrologueCallback callback
       ^
../../nan/nan.h:485:18: error: expected primary-expression before β€˜gc_type_filter’
     , v8::GCType gc_type_filter = v8::kGCTypeAll) {
                  ^
../../nan/nan.h:490:20: error: variable or field β€˜NanRemoveGCPrologueCallback’ declared void
       v8::Isolate::GCPrologueCallback callback) {
                    ^
../../nan/nan.h:490:7: error: β€˜GCPrologueCallback’ is not a member of β€˜v8::Isolate’
       v8::Isolate::GCPrologueCallback callback) {
       ^
../../nan/nan.h:661:13: error: β€˜node::smalloc’ has not been declared
     , node::smalloc::FreeCallback callback
             ^
../../nan/nan.h:661:35: error: expected β€˜,’ or β€˜...’ before β€˜callback’
     , node::smalloc::FreeCallback callback
                                   ^
../../nan/nan.h: In function β€˜v8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)’:
../../nan/nan.h:665:50: error: β€˜callback’ was not declared in this scope
         v8::Isolate::GetCurrent(), data, length, callback, hint);
                                                  ^
../../nan/nan.h:665:60: error: β€˜hint’ was not declared in this scope
         v8::Isolate::GetCurrent(), data, length, callback, hint);
                                                            ^
../../nan/nan.h: In function β€˜v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)’:
../../nan/nan.h:672:67: error: invalid conversion from β€˜const char*’ to β€˜char*’ [-fpermissive]
     return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
                                                                   ^
In file included from ../src/validation.cc:10:0:
/root/.node-gyp/6.11.3/include/node/node_buffer.h:46:40: note:   initializing argument 2 of β€˜v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)’
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
In file included from ../src/validation.cc:15:0:
../../nan/nan.h:672:29: error: could not convert β€˜node::Buffer::New(v8::Isolate::GetCurrent(), ((char*)data), ((size_t)size))’ from β€˜v8::MaybeLocal<v8::Object>’ to β€˜v8::Local<v8::Object>’
     return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
                             ^
../../nan/nan.h: In function β€˜v8::Local<v8::Object> NanNewBufferHandle(uint32_t)’:
../../nan/nan.h:676:29: error: could not convert β€˜node::Buffer::New(v8::Isolate::GetCurrent(), ((size_t)size))’ from β€˜v8::MaybeLocal<v8::Object>’ to β€˜v8::Local<v8::Object>’
     return node::Buffer::New(v8::Isolate::GetCurrent(), size);
                             ^
../../nan/nan.h: In function β€˜v8::Local<v8::Object> NanBufferUse(char*, uint32_t)’:
../../nan/nan.h:683:12: error: β€˜Use’ is not a member of β€˜node::Buffer’
     return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
            ^
../../nan/nan.h: In function β€˜v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>, const v8::ScriptOrigin&)’:
../../nan/nan.h:710:74: warning: β€˜static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
     return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
                                                                          ^
In file included from /root/.node-gyp/6.11.3/include/node/v8.h:25:0,
                 from ../src/validation.cc:7:
/root/.node-gyp/6.11.3/include/node/v8.h:1354:21: note: declared here
       Local<Script> Compile(Isolate* isolate, Source* source,
                     ^
/root/.node-gyp/6.11.3/include/node/v8config.h:333:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
In file included from ../src/validation.cc:15:0:
../../nan/nan.h: In function β€˜v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>)’:
../../nan/nan.h:717:74: warning: β€˜static v8::Local<v8::Script> v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
     return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
                                                                          ^
In file included from /root/.node-gyp/6.11.3/include/node/v8.h:25:0,
                 from ../src/validation.cc:7:
/root/.node-gyp/6.11.3/include/node/v8.h:1354:21: note: declared here
       Local<Script> Compile(Isolate* isolate, Source* source,
                     ^
/root/.node-gyp/6.11.3/include/node/v8config.h:333:3: note: in definition of macro β€˜V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^
../src/validation.cc: In static member function β€˜static void Validation::Initialize(v8::Handle<v8::Object>)’:
../src/validation.cc:112:62: error: call of overloaded β€˜NODE_SET_METHOD(v8::Local<v8::FunctionTemplate>&, const char [12], void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ is ambiguous
     NODE_SET_METHOD(t, "isValidUTF8", Validation::IsValidUTF8);
                                                              ^
In file included from ../src/validation.cc:8:0:
/root/.node-gyp/6.11.3/include/node/node.h:246:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Template>, const char*, v8::FunctionCallback)
 inline void NODE_SET_METHOD(v8::Local<v8::Template> recv,
             ^
/root/.node-gyp/6.11.3/include/node/node.h:259:13: note: candidate: void node::NODE_SET_METHOD(v8::Local<v8::Object>, const char*, v8::FunctionCallback)
 inline void NODE_SET_METHOD(v8::Local<v8::Object> recv,
             ^
validation.target.mk:96: recipe for target 'Release/obj.target/validation/src/validation.o' failed
make: *** [Release/obj.target/validation/src/validation.o] Error 1
make: Leaving directory '/root/terminal-slack/node_modules/utf-8-validate/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:106:13)
gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)
gyp ERR! System Linux 3.13.0-37-generic
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /root/terminal-slack/node_modules/utf-8-validate
gyp ERR! node -v v6.11.3
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm WARN [email protected] requires a peer of eslint-plugin-import@^1.16.0 but none was installed.
npm WARN [email protected] requires a peer of eslint-plugin-import@^1.16.0 but none was installed.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/bufferutil):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/utf-8-validate):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

Failed to install on macos sierra

Ahmeds-MB:terminal-slack me$ npm install

[email protected] install /Users/akamal/Downloads/terminal-slack/node_modules/bufferutil
node-gyp rebuild

CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
In file included from ../src/bufferutil.cc:16:
In file included from ../../nan/nan.h:82:
../../nan/nan_new.h:34:56: warning: 'ToInt32' is deprecated [-Wdeprecated-declarations]
Tov8::Int32(v8::Handlev8::Integer i) { return i->ToInt32(); }
^
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:8202:21: note: 'ToInt32' has been explicitly marked deprecated here
Local Value::ToInt32() const {
^
In file included from ../src/bufferutil.cc:16:
In file included from ../../nan/nan.h:82:
../../nan/nan_new.h:39:56: warning: 'ToUint32' is deprecated [-Wdeprecated-declarations]
Tov8::Uint32(v8::Handlev8::Integer i) { return i->ToUint32(); }
^
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:8196:22: note: 'ToUint32' has been explicitly marked deprecated here
Local Value::ToUint32() const {
^
In file included from ../src/bufferutil.cc:16:
In file included from ../../nan/nan.h:82:
In file included from ../../nan/nan_new.h:189:
../../nan/nan_implementation_12_inl.h:49:29: warning: 'New' is deprecated [-Wdeprecated-declarations]
return v8::BooleanObject::New(value).Asv8::BooleanObject();
^
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:4007:56: note: 'New' has been explicitly marked deprecated here
V8_DEPRECATED("Pass an isolate", static Local New(bool value));
^
In file included from ../src/bufferutil.cc:16:
In file included from ../../nan/nan.h:82:
In file included from ../../nan/nan_new.h:189:
../../nan/nan_implementation_12_inl.h:166:30: warning: 'Compile' is deprecated [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
^
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:1354:21: note: 'Compile' has been explicitly marked deprecated here
Local<Script> Compile(Isolate* isolate, Source* source,
^
In file included from ../src/bufferutil.cc:16:
In file included from ../../nan/nan.h:82:
In file included from ../../nan/nan_new.h:189:
../../nan/nan_implementation_12_inl.h:173:30: warning: 'Compile' is deprecated [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
^
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:1354:21: note: 'Compile' has been explicitly marked deprecated here
Local<Script> Compile(Isolate* isolate, Source* source,
^
In file included from ../src/bufferutil.cc:16:
In file included from ../../nan/nan.h:82:
In file included from ../../nan/nan_new.h:189:
../../nan/nan_implementation_12_inl.h:205:22: warning: 'NewFromOneByte' is deprecated [-Wdeprecated-declarations]
return v8::String::NewFromOneByte(v8::Isolate::GetCurrent(), value,
^
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:2334:21: note: 'NewFromOneByte' has been explicitly marked deprecated here
Local NewFromOneByte(Isolate* isolate, const uint8_t* data,
^
In file included from ../src/bufferutil.cc:16:
In file included from ../../nan/nan.h:82:
In file included from ../../nan/nan_new.h:189:
../../nan/nan_implementation_12_inl.h:217:22: warning: 'NewExternal' is deprecated [-Wdeprecated-declarations]
return v8::String::NewExternal(v8::Isolate::GetCurrent(), value);
^
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:2372:38: note: 'NewExternal' has been explicitly marked deprecated here
Local NewExternal(
^
In file included from ../src/bufferutil.cc:16:
In file included from ../../nan/nan.h:82:
In file included from ../../nan/nan_new.h:189:
../../nan/nan_implementation_12_inl.h:237:30: warning: 'CompileUnbound' is deprecated [-Wdeprecated-declarations]
return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
^
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:1334:45: note: 'CompileUnbound' has been explicitly marked deprecated here
Local CompileUnbound(
^
In file included from ../src/bufferutil.cc:16:
In file included from ../../nan/nan.h:82:
In file included from ../../nan/nan_new.h:189:
../../nan/nan_implementation_12_inl.h:244:30: warning: 'CompileUnbound' is deprecated [-Wdeprecated-declarations]
return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
^
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:1334:45: note: 'CompileUnbound' has been explicitly marked deprecated here
Local CompileUnbound(
^
In file included from ../src/bufferutil.cc:16:
../../nan/nan.h:261:25: error: redefinition of '_NanEnsureLocal'
NAN_INLINE v8::Local _NanEnsureLocal(v8::Local val) {
^
../../nan/nan.h:256:25: note: previous definition is here
NAN_INLINE v8::Local _NanEnsureLocal(v8::Handle val) {
^
../../nan/nan.h:289:39: warning: 'IdleNotification' is deprecated [-Wdeprecated-declarations]
return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms);
^
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:6114:22: note: 'IdleNotification' has been explicitly marked deprecated here
bool IdleNotification(int idle_time_in_ms));
^
In file included from ../src/bufferutil.cc:16:
../../nan/nan.h:473:20: error: no type named 'GCEpilogueCallback' in 'v8::Isolate'
v8::Isolate::GCEpilogueCallback callback
~~~~~~~~~~~~~^
../../nan/nan.h:479:20: error: no type named 'GCEpilogueCallback' in 'v8::Isolate'
v8::Isolate::GCEpilogueCallback callback) {
~~~~~~~~~~~~~^
../../nan/nan.h:484:20: error: no type named 'GCPrologueCallback' in 'v8::Isolate'
v8::Isolate::GCPrologueCallback callback
~~~~~~~~~~~~~^
../../nan/nan.h:490:20: error: no type named 'GCPrologueCallback' in 'v8::Isolate'
v8::Isolate::GCPrologueCallback callback) {
~~~~~~~~~~~~~^
../../nan/nan.h:661:13: error: no member named 'smalloc' in namespace 'node'
, node::smalloc::FreeCallback callback
~~~~~~^
../../nan/nan.h:672:12: error: no matching function for call to 'New'
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^~~~~~~~~~~~~~~~~
/Users/akamal/.node-gyp/6.10.0/include/node/node_buffer.h:46:40: note: candidate function not viable: 2nd argument ('const char ') would lose const qualifier
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate
isolate,
^
/Users/akamal/.node-gyp/6.10.0/include/node/node_buffer.h:34:40: note: candidate function not viable: no known conversion from 'const char ' to 'v8::Localv8::String' for 2nd argument
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate
isolate,
^
/Users/akamal/.node-gyp/6.10.0/include/node/node_buffer.h:31:40: note: candidate function not viable: requires 2 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, size_t length);
^
/Users/akamal/.node-gyp/6.10.0/include/node/node_buffer.h:39:40: note: candidate function not viable: requires 5 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
In file included from ../src/bufferutil.cc:16:
../../nan/nan.h:676:12: error: no viable conversion from returned value of type 'v8::MaybeLocalv8::Object' to function return type 'v8::Localv8::Object'
return node::Buffer::New(v8::Isolate::GetCurrent(), size);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:218:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'v8::MaybeLocalv8::Object' to
'const v8::Localv8::Object &' for 1st argument
class Local {
^
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:218:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'v8::MaybeLocalv8::Object' to
'v8::Localv8::Object &&' for 1st argument
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:222:13: note: candidate template ignored: could not match 'Local' against 'MaybeLocal'
V8_INLINE Local(Local that)
^
In file included from ../src/bufferutil.cc:16:
../../nan/nan.h:683:26: error: no member named 'Use' in namespace 'node::Buffer'
return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
~~~~~~~~~~~~~~^
../../nan/nan.h:710:32: warning: 'Compile' is deprecated [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
^
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:1354:21: note: 'Compile' has been explicitly marked deprecated here
Local<Script> Compile(Isolate* isolate, Source* source,
^
In file included from ../src/bufferutil.cc:16:
../../nan/nan.h:717:32: warning: 'Compile' is deprecated [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
^
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:1354:21: note: 'Compile' has been explicitly marked deprecated here
Local<Script> Compile(Isolate* isolate, Source* source,
^
../src/bufferutil.cc:30:5: error: call to 'NODE_SET_METHOD' is ambiguous
NODE_SET_METHOD(t, "unmask", BufferUtil::Unmask);
^~~~~~~~~~~~~~~
/Users/akamal/.node-gyp/6.10.0/include/node/node.h:269:25: note: expanded from macro 'NODE_SET_METHOD'
#define NODE_SET_METHOD node::NODE_SET_METHOD
^~~~~~~~~~~~~~~~~~~~~
/Users/akamal/.node-gyp/6.10.0/include/node/node.h:244:13: note: candidate function
inline void NODE_SET_METHOD(v8::Localv8::Template recv,
^
/Users/akamal/.node-gyp/6.10.0/include/node/node.h:257:13: note: candidate function
inline void NODE_SET_METHOD(v8::Localv8::Object recv,
^
../src/bufferutil.cc:31:5: error: call to 'NODE_SET_METHOD' is ambiguous
NODE_SET_METHOD(t, "mask", BufferUtil::Mask);
^~~~~~~~~~~~~~~
/Users/akamal/.node-gyp/6.10.0/include/node/node.h:269:25: note: expanded from macro 'NODE_SET_METHOD'
#define NODE_SET_METHOD node::NODE_SET_METHOD
^~~~~~~~~~~~~~~~~~~~~
/Users/akamal/.node-gyp/6.10.0/include/node/node.h:244:13: note: candidate function
inline void NODE_SET_METHOD(v8::Localv8::Template recv,
^
/Users/akamal/.node-gyp/6.10.0/include/node/node.h:257:13: note: candidate function
inline void NODE_SET_METHOD(v8::Localv8::Object recv,
^
../src/bufferutil.cc:32:5: error: call to 'NODE_SET_METHOD' is ambiguous
NODE_SET_METHOD(t, "merge", BufferUtil::Merge);
^~~~~~~~~~~~~~~
/Users/akamal/.node-gyp/6.10.0/include/node/node.h:269:25: note: expanded from macro 'NODE_SET_METHOD'
#define NODE_SET_METHOD node::NODE_SET_METHOD
^~~~~~~~~~~~~~~~~~~~~
/Users/akamal/.node-gyp/6.10.0/include/node/node.h:244:13: note: candidate function
inline void NODE_SET_METHOD(v8::Localv8::Template recv,
^
/Users/akamal/.node-gyp/6.10.0/include/node/node.h:257:13: note: candidate function
inline void NODE_SET_METHOD(v8::Localv8::Object recv,
^
In file included from ../src/bufferutil.cc:7:
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:229:5: error: assigning to 'v8::Primitive volatile' from incompatible type 'v8::Value '
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:188:37: note: expanded from macro 'TYPE_CHECK'
(static_cast<T volatile
>(0)) = static_cast<S
>(0);
^ ~~~~~~~~~~~~~~~~~~
../../nan/nan.h:414:12: note: in instantiation of function template specialization 'v8::Localv8::Primitive::Localv8::Value' requested here
return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent())));
^
../../nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'

define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))

                         ^

In file included from ../src/bufferutil.cc:7:
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:229:5: error: assigning to 'v8::Boolean volatile' from incompatible type 'v8::Value '
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:188:37: note: expanded from macro 'TYPE_CHECK'
(static_cast<T volatile
>(0)) = static_cast<S
>(0);
^ ~~~~~~~~~~~~~~~~~~
../../nan/nan.h:424:12: note: in instantiation of function template specialization 'v8::Localv8::Boolean::Localv8::Value' requested here
return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent())));
^
../../nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'

define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))

                         ^

In file included from ../src/bufferutil.cc:7:
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:229:5: error: assigning to 'v8::Function volatile' from incompatible type 'v8::Value '
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:188:37: note: expanded from macro 'TYPE_CHECK'
(static_cast<T volatile
>(0)) = static_cast<S
>(0);
^ ~~~~~~~~~~~~~~~~~~
../../nan/nan.h:1514:12: note: in instantiation of function template specialization 'v8::Localv8::Function::Localv8::Value' requested here
return NanEscapeScope(NanNew(handle)->Get(kCallbackIndex)
^
../../nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'

define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))

                         ^

In file included from ../src/bufferutil.cc:7:
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:229:5: error: assigning to 'v8::Object volatile' from incompatible type 'v8::Value '
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:188:37: note: expanded from macro 'TYPE_CHECK'
(static_cast<T volatile
>(0)) = static_cast<S
>(0);
^ ~~~~~~~~~~~~~~~~~~
../../nan/nan.h:1632:12: note: in instantiation of function template specialization 'v8::Localv8::Object::Localv8::Value' requested here
return NanEscapeScope(handle->Get(NanNew(key)).Asv8::Object());
^
../../nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'

define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))

                         ^

12 warnings and 16 errors generated.
make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Darwin 16.4.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/akamal/Downloads/terminal-slack/node_modules/bufferutil
gyp ERR! node -v v6.10.0
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok

[email protected] install /Users/akamal/Downloads/terminal-slack/node_modules/utf-8-validate
node-gyp rebuild

CXX(target) Release/obj.target/validation/src/validation.o
In file included from ../src/validation.cc:15:
In file included from ../../nan/nan.h:82:
../../nan/nan_new.h:34:56: warning: 'ToInt32' is deprecated [-Wdeprecated-declarations]
Tov8::Int32(v8::Handlev8::Integer i) { return i->ToInt32(); }
^
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:8202:21: note: 'ToInt32' has been explicitly marked deprecated here
Local Value::ToInt32() const {
^
In file included from ../src/validation.cc:15:
In file included from ../../nan/nan.h:82:
../../nan/nan_new.h:39:56: warning: 'ToUint32' is deprecated [-Wdeprecated-declarations]
Tov8::Uint32(v8::Handlev8::Integer i) { return i->ToUint32(); }
^
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:8196:22: note: 'ToUint32' has been explicitly marked deprecated here
Local Value::ToUint32() const {
^
In file included from ../src/validation.cc:15:
In file included from ../../nan/nan.h:82:
In file included from ../../nan/nan_new.h:189:
../../nan/nan_implementation_12_inl.h:49:29: warning: 'New' is deprecated [-Wdeprecated-declarations]
return v8::BooleanObject::New(value).Asv8::BooleanObject();
^
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:4007:56: note: 'New' has been explicitly marked deprecated here
V8_DEPRECATED("Pass an isolate", static Local New(bool value));
^
In file included from ../src/validation.cc:15:
In file included from ../../nan/nan.h:82:
In file included from ../../nan/nan_new.h:189:
../../nan/nan_implementation_12_inl.h:166:30: warning: 'Compile' is deprecated [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
^
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:1354:21: note: 'Compile' has been explicitly marked deprecated here
Local<Script> Compile(Isolate* isolate, Source* source,
^
In file included from ../src/validation.cc:15:
In file included from ../../nan/nan.h:82:
In file included from ../../nan/nan_new.h:189:
../../nan/nan_implementation_12_inl.h:173:30: warning: 'Compile' is deprecated [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &src);
^
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:1354:21: note: 'Compile' has been explicitly marked deprecated here
Local<Script> Compile(Isolate* isolate, Source* source,
^
In file included from ../src/validation.cc:15:
In file included from ../../nan/nan.h:82:
In file included from ../../nan/nan_new.h:189:
../../nan/nan_implementation_12_inl.h:205:22: warning: 'NewFromOneByte' is deprecated [-Wdeprecated-declarations]
return v8::String::NewFromOneByte(v8::Isolate::GetCurrent(), value,
^
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:2334:21: note: 'NewFromOneByte' has been explicitly marked deprecated here
Local NewFromOneByte(Isolate* isolate, const uint8_t* data,
^
In file included from ../src/validation.cc:15:
In file included from ../../nan/nan.h:82:
In file included from ../../nan/nan_new.h:189:
../../nan/nan_implementation_12_inl.h:217:22: warning: 'NewExternal' is deprecated [-Wdeprecated-declarations]
return v8::String::NewExternal(v8::Isolate::GetCurrent(), value);
^
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:2372:38: note: 'NewExternal' has been explicitly marked deprecated here
Local NewExternal(
^
In file included from ../src/validation.cc:15:
In file included from ../../nan/nan.h:82:
In file included from ../../nan/nan_new.h:189:
../../nan/nan_implementation_12_inl.h:237:30: warning: 'CompileUnbound' is deprecated [-Wdeprecated-declarations]
return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
^
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:1334:45: note: 'CompileUnbound' has been explicitly marked deprecated here
Local CompileUnbound(
^
In file included from ../src/validation.cc:15:
In file included from ../../nan/nan.h:82:
In file included from ../../nan/nan_new.h:189:
../../nan/nan_implementation_12_inl.h:244:30: warning: 'CompileUnbound' is deprecated [-Wdeprecated-declarations]
return v8::ScriptCompiler::CompileUnbound(v8::Isolate::GetCurrent(), &src);
^
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:1334:45: note: 'CompileUnbound' has been explicitly marked deprecated here
Local CompileUnbound(
^
In file included from ../src/validation.cc:15:
../../nan/nan.h:261:25: error: redefinition of '_NanEnsureLocal'
NAN_INLINE v8::Local _NanEnsureLocal(v8::Local val) {
^
../../nan/nan.h:256:25: note: previous definition is here
NAN_INLINE v8::Local _NanEnsureLocal(v8::Handle val) {
^
../../nan/nan.h:289:39: warning: 'IdleNotification' is deprecated [-Wdeprecated-declarations]
return v8::Isolate::GetCurrent()->IdleNotification(idle_time_in_ms);
^
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:6114:22: note: 'IdleNotification' has been explicitly marked deprecated here
bool IdleNotification(int idle_time_in_ms));
^
In file included from ../src/validation.cc:15:
../../nan/nan.h:473:20: error: no type named 'GCEpilogueCallback' in 'v8::Isolate'
v8::Isolate::GCEpilogueCallback callback
~~~~~~~~~~~~~^
../../nan/nan.h:479:20: error: no type named 'GCEpilogueCallback' in 'v8::Isolate'
v8::Isolate::GCEpilogueCallback callback) {
~~~~~~~~~~~~~^
../../nan/nan.h:484:20: error: no type named 'GCPrologueCallback' in 'v8::Isolate'
v8::Isolate::GCPrologueCallback callback
~~~~~~~~~~~~~^
../../nan/nan.h:490:20: error: no type named 'GCPrologueCallback' in 'v8::Isolate'
v8::Isolate::GCPrologueCallback callback) {
~~~~~~~~~~~~~^
../../nan/nan.h:661:13: error: no member named 'smalloc' in namespace 'node'
, node::smalloc::FreeCallback callback
~~~~~~^
../../nan/nan.h:672:12: error: no matching function for call to 'New'
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^~~~~~~~~~~~~~~~~
/Users/akamal/.node-gyp/6.10.0/include/node/node_buffer.h:46:40: note: candidate function not viable: 2nd argument ('const char ') would lose const qualifier
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate
isolate,
^
/Users/akamal/.node-gyp/6.10.0/include/node/node_buffer.h:34:40: note: candidate function not viable: no known conversion from 'const char ' to 'v8::Localv8::String' for 2nd argument
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate
isolate,
^
/Users/akamal/.node-gyp/6.10.0/include/node/node_buffer.h:31:40: note: candidate function not viable: requires 2 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate, size_t length);
^
/Users/akamal/.node-gyp/6.10.0/include/node/node_buffer.h:39:40: note: candidate function not viable: requires 5 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocalv8::Object New(v8::Isolate* isolate,
^
In file included from ../src/validation.cc:15:
../../nan/nan.h:676:12: error: no viable conversion from returned value of type 'v8::MaybeLocalv8::Object' to function return type 'v8::Localv8::Object'
return node::Buffer::New(v8::Isolate::GetCurrent(), size);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:218:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'v8::MaybeLocalv8::Object' to
'const v8::Localv8::Object &' for 1st argument
class Local {
^
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:218:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'v8::MaybeLocalv8::Object' to
'v8::Localv8::Object &&' for 1st argument
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:222:13: note: candidate template ignored: could not match 'Local' against 'MaybeLocal'
V8_INLINE Local(Local that)
^
In file included from ../src/validation.cc:15:
../../nan/nan.h:683:26: error: no member named 'Use' in namespace 'node::Buffer'
return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
~~~~~~~~~~~~~~^
../../nan/nan.h:710:32: warning: 'Compile' is deprecated [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
^
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:1354:21: note: 'Compile' has been explicitly marked deprecated here
Local<Script> Compile(Isolate* isolate, Source* source,
^
In file included from ../src/validation.cc:15:
../../nan/nan.h:717:32: warning: 'Compile' is deprecated [-Wdeprecated-declarations]
return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
^
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:1354:21: note: 'Compile' has been explicitly marked deprecated here
Local<Script> Compile(Isolate* isolate, Source* source,
^
../src/validation.cc:112:5: error: call to 'NODE_SET_METHOD' is ambiguous
NODE_SET_METHOD(t, "isValidUTF8", Validation::IsValidUTF8);
^~~~~~~~~~~~~~~
/Users/akamal/.node-gyp/6.10.0/include/node/node.h:269:25: note: expanded from macro 'NODE_SET_METHOD'
#define NODE_SET_METHOD node::NODE_SET_METHOD
^~~~~~~~~~~~~~~~~~~~~
/Users/akamal/.node-gyp/6.10.0/include/node/node.h:244:13: note: candidate function
inline void NODE_SET_METHOD(v8::Localv8::Template recv,
^
/Users/akamal/.node-gyp/6.10.0/include/node/node.h:257:13: note: candidate function
inline void NODE_SET_METHOD(v8::Localv8::Object recv,
^
In file included from ../src/validation.cc:7:
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:229:5: error: assigning to 'v8::Primitive volatile' from incompatible type 'v8::Value '
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:188:37: note: expanded from macro 'TYPE_CHECK'
(static_cast<T volatile
>(0)) = static_cast<S
>(0);
^ ~~~~~~~~~~~~~~~~~~
../../nan/nan.h:414:12: note: in instantiation of function template specialization 'v8::Localv8::Primitive::Localv8::Value' requested here
return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent())));
^
../../nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'

define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))

                         ^

In file included from ../src/validation.cc:7:
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:229:5: error: assigning to 'v8::Boolean volatile' from incompatible type 'v8::Value '
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:188:37: note: expanded from macro 'TYPE_CHECK'
(static_cast<T volatile
>(0)) = static_cast<S
>(0);
^ ~~~~~~~~~~~~~~~~~~
../../nan/nan.h:424:12: note: in instantiation of function template specialization 'v8::Localv8::Boolean::Localv8::Value' requested here
return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent())));
^
../../nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'

define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))

                         ^

In file included from ../src/validation.cc:7:
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:229:5: error: assigning to 'v8::Function volatile' from incompatible type 'v8::Value '
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:188:37: note: expanded from macro 'TYPE_CHECK'
(static_cast<T volatile
>(0)) = static_cast<S
>(0);
^ ~~~~~~~~~~~~~~~~~~
../../nan/nan.h:1514:12: note: in instantiation of function template specialization 'v8::Localv8::Function::Localv8::Value' requested here
return NanEscapeScope(NanNew(handle)->Get(kCallbackIndex)
^
../../nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'

define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))

                         ^

In file included from ../src/validation.cc:7:
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:229:5: error: assigning to 'v8::Object volatile' from incompatible type 'v8::Value '
TYPE_CHECK(T, S);
^~~~~~~~~~~~~~~~
/Users/akamal/.node-gyp/6.10.0/include/node/v8.h:188:37: note: expanded from macro 'TYPE_CHECK'
(static_cast<T volatile
>(0)) = static_cast<S
>(0);
^ ~~~~~~~~~~~~~~~~~~
../../nan/nan.h:1632:12: note: in instantiation of function template specialization 'v8::Localv8::Object::Localv8::Value' requested here
return NanEscapeScope(handle->Get(NanNew(key)).Asv8::Object());
^
../../nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'

define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))

                         ^

12 warnings and 14 errors generated.
make: *** [Release/obj.target/validation/src/validation.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Darwin 16.4.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/akamal/Downloads/terminal-slack/node_modules/utf-8-validate
gyp ERR! node -v v6.10.0
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm WARN [email protected] requires a peer of eslint-plugin-import@^1.16.0 but none was installed.
npm WARN [email protected] requires a peer of eslint-plugin-import@^1.16.0 but none was installed.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/bufferutil):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: node-gyp rebuild
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/utf-8-validate):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: node-gyp rebuild
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode

Expected behavior

Running without error.

Actual behavior

showing an error when I execute node main.js
An error detail is following.

Others

  • node version is v5.2.0
  • SLACK_TOKEN is already exported.

Error message is following:

bash-4.4$ node main.js
[Path to root]/main.js:8
let users;
^^^

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
    at exports.runInThisContext (vm.js:54:16)
    at Module._compile (module.js:375:25)
    at Object.Module._extensions..js (module.js:406:10)
    at Module.load (module.js:345:32)
    at Function.Module._load (module.js:302:12)
    at Function.Module.runMain (module.js:431:10)
    at startup (node.js:141:18)
    at node.js:977:3

Cannot read property 'match' of null

On latest master, when opening a channel, the application crashes with this error:

TypeError: Cannot read property 'match' of null
    at formatMessageMentions (/Users/lennartkoopmann/workspace/terminal-slack/main.js:56:28)
    at data.messages.filter.map.forEach (/Users/lennartkoopmann/workspace/terminal-slack/main.js:222:46)
    at Array.forEach (native)
    at updateMessages (/Users/lennartkoopmann/workspace/terminal-slack/main.js:219:6)
    at slack.getChannelHistory (/Users/lennartkoopmann/workspace/terminal-slack/main.js:275:7)
    at slackRequest (/Users/lennartkoopmann/workspace/terminal-slack/slackClient.js:74:9)
    at Request.request.get [as _callback] (/Users/lennartkoopmann/workspace/terminal-slack/slackClient.js:40:7)
    at Request.self.callback (/Users/lennartkoopmann/workspace/terminal-slack/node_modules/request/request.js:186:22)
    at emitTwo (events.js:106:13)
    at Request.emit (events.js:191:7)

Allow direct messages

Is there a way to send a direct message to another user in your app? If it is not implemented, please consider implementing this feature.

Block-scoped declarations (let, const, function, class) not yet supported outside strict mode

/home/benyanke/git/external/terminal-slack/main.js:8
let users;
^^^

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:374:25)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Function.Module.runMain (module.js:442:10)
at startup (node.js:136:18)
at node.js:966:3

`node main.js` opens Slack and closes it immediately....back to terminal prompt

I exported the slack token with the given export command and ran node main.js. It opens slack for a fraction of a second and closes it immediately. I am not sure what went wrong.

Also, if I restarted my terminal session, the slack-token is asked again. It shows

Error: SLACK_TOKEN undefined. Please add SLACK_TOKEN to the environment variables.

What am I doing wrong?

Persistent apis and multiple slack instances?

I am part of a few organizations and I'd like to be able to just save my tokens and select which one for which organization or something.

For context, I'm running multiple tmux sessions and within say section A I want to have one separate instance and within B i want to have another. Is this possible and if so is there a workflow or something I can take a look at?

Slack API Permission

Hi, I set everything up for my Slack API, but I can't figure out what OAuth permissions to give to my token....
I keep receiving Error: missing_scope whenever I run node main.js

Add support for uploads

Currently if a user on slack uploads and leaves comments on a file it doesn't appear in the message window.

utf8 support

COOL Program.
but is this support uft8 lang?
when we write with Japanese it does not display properly.

Consider moving away from legacy tokens

Slack is encouraging developers to build secure Slack apps, and to move away from using the legacy API tokens. As community admins, we have concerns with these requests:

"(user) is requesting a legacy API test token which provides access to your team’s data and their private data. A developer on your team might want this type of token for testing an app or integration, but you should be cautious about who you grant these to. Instead of using legacy tokens, we encourage creating internal integrations which have more controlled access to data.

TypeError: Cannot read property 'name' of undefined

Running on OSX 10.12.2, node v7.4.0

It's happening when I try to use the slack plugin meekan, when I try to set up a meeting the bot's response kills the client. I've attached a screenshot of the response that did it.

screen shot 2017-01-31 at 4 16 25 pm

TypeError: Cannot read property 'name' of undefined
    at handleNewMessage (/Users/mrobinson/source/slack-cli/terminal-slack/main.js:56:5)
    at WebSocket.<anonymous> (/Users/mrobinson/source/slack-cli/terminal-slack/main.js:81:7)
    at emitTwo (events.js:106:13)
    at WebSocket.emit (events.js:191:7)
    at Receiver.ontext (/Users/mrobinson/source/slack-cli/terminal-slack/node_modules/ws/lib/WebSocket.js:797:10)
    at /Users/mrobinson/source/slack-cli/terminal-slack/node_modules/ws/lib/Receiver.js:473:18
    at Receiver.applyExtensions (/Users/mrobinson/source/slack-cli/terminal-slack/node_modules/ws/lib/Receiver.js:360:5)
    at /Users/mrobinson/source/slack-cli/terminal-slack/node_modules/ws/lib/Receiver.js:462:14
    at Receiver.flush (/Users/mrobinson/source/slack-cli/terminal-slack/node_modules/ws/lib/Receiver.js:336:3)
    at Receiver.finish (/Users/mrobinson/source/slack-cli/terminal-slack/node_modules/ws/lib/Receiver.js:478:12)

Application Opens and then Closes Immediately

After installing and running node main.js the application opens for about half a second, but then closes without any error message output.

Error_log.txt contains the string Error: invalid_auth. There is nothing else in the log file.

I've tried reassigning my Slack Token but there was no change in this apps behavour.

This issue was raised previously, but then was closed on the same day by @GitHamo: #48. I don't know if he was able to find a solution.

Application Crashes Randomly

The application randomly crashes when I try and navigate around it. It gives me the following error.

TypeError: undefined is not a function
    at Textbox.<anonymous> (/opt/terminal-slack/userInterface.js:228:36)
    at Textbox.EventEmitter._emit (/opt/terminal-slack/node_modules/blessed/lib/events.js:98:20)
    at Textbox.EventEmitter.emit (/opt/terminal-slack/node_modules/blessed/lib/events.js:117:12)
    at Program.<anonymous> (/opt/terminal-slack/node_modules/blessed/lib/widgets/screen.js:602:15)
    at Program.emit (events.js:110:17)
    at /opt/terminal-slack/node_modules/blessed/lib/program.js:410:15
    at Array.forEach (native)
    at ReadStream.input.on.input._keypressHandler (/opt/terminal-slack/node_modules/blessed/lib/program.js:408:23)
    at ReadStream.emit (events.js:110:17)
    at /opt/terminal-slack/node_modules/blessed/lib/keys.js:318:14

Allow private channels

Is there a way to send message to private channel in your app?
If it is not implemented, please consider implementing this feature.

Threaded messages

I've yet to find a terminal client for Slack that handles threaded messages (replies) correctly. Such a feature would be a big boost to this project.

It starts, but while loading data, it stops with: Β«SyntaxError: Unexpected token n in JSON at position 15689Β»

s|terminal-slack master % node main.js
Error: SLACK_TOKEN undefined. Please add SLACK_TOKEN to the environment variables.
s|terminal-slack master % vim ~/work/notes/slack-token
s|terminal-slack master % SLACK_TOKEN="$(cat ~/work/notes/slack-token)" node main.js
SyntaxError: Unexpected token n in JSON at position 15689
    at JSON.parse (<anonymous>)
    at Request._callback (/home/s/terminal-slack/slackClient.js:31:29)
    at Request.self.callback (/home/s/terminal-slack/node_modules/request/request.js:186:22)
    at emitTwo (events.js:106:13)
    at Request.emit (events.js:191:7)
    at Request.<anonymous> (/home/s/terminal-slack/node_modules/request/request.js:1081:10)
    at emitOne (events.js:96:13)
    at Request.emit (events.js:188:7)
    at IncomingMessage.<anonymous> (/home/s/terminal-slack/node_modules/request/request.js:1001:12)
    at Object.onceWrapper (events.js:290:19)
s|terminal-slack master % g pl
Current branch master is up to date.
s|terminal-slack master % date
Thu Jan 26 18:02:31 EET 2017

Working with Windows

Great tool! really well done btw.

Is there a way to manage/disable notifications when I have this open in terminal on Windows?

Many thanks

Error: Cannot find module 'node-notifier'

Error on installation appears to be missing a module.

ryan@necronomicon:~/terminal-slack$ node main.js
module.js:549
    throw err;
    ^

Error: Cannot find module 'node-notifier'
    at Function.Module._resolveFilename (module.js:547:15)
    at Function.Module._load (module.js:474:25)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/home/ryan/terminal-slack/main.js:1:80)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
ryan@necronomicon:~/terminal-slack$ 

Publish to npm

Hi! This looks awesome!! Is there any chance you eventually will publish this as a package to npm? I would love to be able to install it easily. If the app is not ready, I would love a ping on this issue when it is πŸ˜„ If you need any help publishing, let me know πŸ‘ πŸ‘‹

Unable to see input box when window is resized.

If you resize the terminal window to less than 26 vertical lines, you're unable to see what's being typed in the input window. See the gif below:

untitled
From what I can tell changing the width of the terminal window doesn't really do anything.

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.