Recompiling node dependencies using a different version of node
I want to install some dependencies and in this case install node-pty. But when I run it, they give me this error:
Error: module '/ home / dev / Documents / project / node_web_kit / node_modules / node-pty / build / Release / pty.node' was compiled with a different version of Node.js using NODE_MODULE_VERSION 46. This version of Node.js requires NODE_MODULE_VERSION 51 .Try recompiling or reinstalling
any solutions?
+4
source to share