{"action":"opened","issue":{"url":"https://api.github.com/repos/jons/node-milter/issues/3","repository_url":"https://api.github.com/repos/jons/node-milter","labels_url":"https://api.github.com/repos/jons/node-milter/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/jons/node-milter/issues/3/comments","events_url":"https://api.github.com/repos/jons/node-milter/issues/3/events","html_url":"https://github.com/jons/node-milter/issues/3","id":146003698,"number":3,"title":"build issue with node 4.2.2","user":{"login":"amit777","id":2703309,"avatar_url":"https://avatars.githubusercontent.com/u/2703309?v=3","gravatar_id":"","url":"https://api.github.com/users/amit777","html_url":"https://github.com/amit777","followers_url":"https://api.github.com/users/amit777/followers","following_url":"https://api.github.com/users/amit777/following{/other_user}","gists_url":"https://api.github.com/users/amit777/gists{/gist_id}","starred_url":"https://api.github.com/users/amit777/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amit777/subscriptions","organizations_url":"https://api.github.com/users/amit777/orgs","repos_url":"https://api.github.com/users/amit777/repos","events_url":"https://api.github.com/users/amit777/events{/privacy}","received_events_url":"https://api.github.com/users/amit777/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-05T14:17:08Z","updated_at":"2016-04-05T14:17:08Z","closed_at":null,"body":"Hello, I was trying to experiment with this module and having some trouble building it. Was wondering if you have some tips on getting my environment right.  I currently use nvm to setup node.  Here is the error I get when trying to run 'npm install milter':\r\n\r\n```\r\n\\\r\n> milter@1.0.0 install /nodeuser/scratch/node_modules/milter\r\n> node-gyp rebuild\r\n\r\ngyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR\r\ngyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR\r\ngyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR\r\nmake: Entering directory `/nodeuser/scratch/node_modules/milter/build'\r\n  CXX(target) Release/obj.target/milter/src/envelope.o\r\nIn file included from ../src/events.h:20:0,\r\n                 from ../src/envelope.h:13,\r\n                 from ../src/envelope.cc:8:\r\n../src/milter.h:7:21: fatal error: node/uv.h: No such file or directory\r\n #include <node/uv.h>\r\n                     ^\r\ncompilation terminated.\r\nmake: *** [Release/obj.target/milter/src/envelope.o] Error 1\r\nmake: Leaving directory `/nodeuser/scratch/node_modules/milter/build'\r\ngyp ERR! build error \r\ngyp ERR! stack Error: `make` failed with exit code: 2\r\ngyp ERR! stack     at ChildProcess.onExit (/nodeuser/.nvm/versions/node/v4.4.2/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)\r\ngyp ERR! stack     at emitTwo (events.js:87:13)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:172:7)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)\r\ngyp ERR! System Linux 3.10.0-229.1.2.el7.x86_64\r\ngyp ERR! command \"/nodeuser/.nvm/versions/node/v4.4.2/bin/node\" \"/nodeuser/.nvm/versions/node/v4.4.2/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\r\ngyp ERR! cwd /nodeuser/scratch/node_modules/milter\r\ngyp ERR! node -v v4.4.2\r\ngyp ERR! node-gyp -v v3.3.1\r\ngyp ERR! not ok \r\nnpm ERR! Linux 3.10.0-229.1.2.el7.x86_64\r\nnpm ERR! argv \"/nodeuser/.nvm/versions/node/v4.4.2/bin/node\" \"/nodeuser/.nvm/versions/node/v4.4.2/bin/npm\" \"install\" \"milter\"\r\nnpm ERR! node v4.4.2\r\nnpm ERR! npm  v2.15.0\r\nnpm ERR! code ELIFECYCLE\r\n\r\n\r\n```"}}