{"action":"created","issue":{"url":"https://api.github.com/repos/voodootikigod/node-serialport/issues/417","labels_url":"https://api.github.com/repos/voodootikigod/node-serialport/issues/417/labels{/name}","comments_url":"https://api.github.com/repos/voodootikigod/node-serialport/issues/417/comments","events_url":"https://api.github.com/repos/voodootikigod/node-serialport/issues/417/events","html_url":"https://github.com/voodootikigod/node-serialport/issues/417","id":49284743,"number":417,"title":"Does not install on Synology NAS - DSM 5.1-5004","user":{"login":"diego-quiroga","id":8245309,"avatar_url":"https://avatars.githubusercontent.com/u/8245309?v=3","gravatar_id":"","url":"https://api.github.com/users/diego-quiroga","html_url":"https://github.com/diego-quiroga","followers_url":"https://api.github.com/users/diego-quiroga/followers","following_url":"https://api.github.com/users/diego-quiroga/following{/other_user}","gists_url":"https://api.github.com/users/diego-quiroga/gists{/gist_id}","starred_url":"https://api.github.com/users/diego-quiroga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diego-quiroga/subscriptions","organizations_url":"https://api.github.com/users/diego-quiroga/orgs","repos_url":"https://api.github.com/users/diego-quiroga/repos","events_url":"https://api.github.com/users/diego-quiroga/events{/privacy}","received_events_url":"https://api.github.com/users/diego-quiroga/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2014-11-18T19:48:37Z","updated_at":"2015-10-06T21:00:50Z","closed_at":null,"body":"Hi,\r\nI've been trying to install serialport on a Synology NAS (running Python 2.7.8-10 with root).\r\nIt's a DS112 with a MARVELL Kirkwood 88F6282 CPU and Node.js  0.10.33-0005 from Synology\r\nBelow is the log error. Many thanks for the help.\r\n\r\n> npm install -g serialport (logged as root)\r\n/usr/bin/serialportlist -> /usr/lib/node_modules/serialport/bin/serialportList.js\r\n/usr/bin/serialportterm -> /usr/lib/node_modules/serialport/bin/serialportTerminal.js\r\n\r\n> serialport@1.4.6 install /usr/lib/node_modules/serialport\r\n> node-pre-gyp install --fallback-to-build\r\n\r\ngyp WARN EACCES user \"root\" does not have permission to access the dev dir \"/root/.node-gyp/0.10.33\"\r\ngyp WARN EACCES attempting to reinstall using temporary dev dir \"/usr/lib/node_modules/serialport/.node-gyp\"\r\ngyp ERR! build error\r\ngyp ERR! stack Error: not found: make\r\ngyp ERR! stack     at F (/volume1/@appstore/Node.js/usr/lib/node_modules/npm/node_modules/which/which.js:43:28)\r\ngyp ERR! stack     at E (/volume1/@appstore/Node.js/usr/lib/node_modules/npm/node_modules/which/which.js:46:29)\r\ngyp ERR! stack     at /volume1/@appstore/Node.js/usr/lib/node_modules/npm/node_modules/which/which.js:57:16\r\ngyp ERR! stack     at Object.oncomplete (evalmachine.<anonymous>:107:15)\r\ngyp ERR! System Linux 2.6.32.12\r\ngyp ERR! command \"/volume1/@appstore/Node.js/usr/bin/node\" \"/volume1/@appstore/Node.js/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\" \"--name=serialport\" \"--configuration=Release\" \"--module_name=serialport\" \"--version=1.4.6\" \"--major=1\" \"--minor=4\" \"--patch=6\" \"--runtime=node\" \"--node_abi=node-v11\" \"--platform=linux\" \"--target_platform=linux\" \"--arch=arm\" \"--target_arch=arm\" \"--module_main=./serialport\" \"--host=https://node-serialport.s3.amazonaws.com/\" \"--module_path=/volume1/@appstore/Node.js/usr/lib/node_modules/serialport/build/serialport/v1.4.6/Release/node-v11-linux-arm\" \"--remote_path=./serialport/v1.4.6/Release/\" \"--package_name=node-v11-linux-arm.tar.gz\" \"--staged_tarball=build/stage/serialport/v1.4.6/Release/node-v11-linux-arm.tar.gz\" \"--hosted_path=https://node-serialport.s3.amazonaws.com/serialport/v1.4.6/Release/\" \"--hosted_tarball=https://node-serialport.s3.amazonaws.com/serialport/v1.4.6/Release/node-v11-linux-arm.tar.gz\"\r\ngyp ERR! cwd /volume1/@appstore/Node.js/usr/lib/node_modules/serialport\r\ngyp ERR! node -v v0.10.33\r\ngyp ERR! node-gyp -v v1.0.1\r\ngyp ERR! not ok\r\nnode-pre-gyp ERR! build error\r\nnode-pre-gyp ERR! stack Error: Failed to execute '/volume1/@appstore/Node.js/usr/bin/node rebuild --name=serialport --configuration=Release --module_name=serialport --version=1.4.6 --major=1 --minor=4 --patch=6 --runtime=node --node_abi=node-v11 --platform=linux --target_platform=linux --arch=arm --target_arch=arm --module_main=./serialport --host=https://node-serialport.s3.amazonaws.com/ --module_path=/volume1/@appstore/Node.js/usr/lib/node_modules/serialport/build/serialport/v1.4.6/Release/node-v11-linux-arm --remote_path=./serialport/v1.4.6/Release/ --package_name=node-v11-linux-arm.tar.gz --staged_tarball=build/stage/serialport/v1.4.6/Release/node-v11-linux-arm.tar.gz --hosted_path=https://node-serialport.s3.amazonaws.com/serialport/v1.4.6/Release/ --hosted_tarball=https://node-serialport.s3.amazonaws.com/serialport/v1.4.6/Release/node-v11-linux-arm.tar.gz' (1)\r\nnode-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/volume1/@appstore/Node.js/usr/lib/node_modules/serialport/node_modules/node-pre-gyp/lib/util/compile.js:76:29)\r\nnode-pre-gyp ERR! stack     at ChildProcess.emit (events.js:98:17)\r\nnode-pre-gyp ERR! stack     at maybeClose (child_process.js:756:16)\r\nnode-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:823:5)\r\nnode-pre-gyp ERR! System Linux 2.6.32.12\r\nnode-pre-gyp ERR! command \"node\" \"/usr/lib/node_modules/serialport/node_modules/.bin/node-pre-gyp\" \"install\" \"--fallback-to-build\"\r\nnode-pre-gyp ERR! cwd /volume1/@appstore/Node.js/usr/lib/node_modules/serialport\r\nnode-pre-gyp ERR! node -v v0.10.33\r\nnode-pre-gyp ERR! node-pre-gyp -v v0.5.19\r\nnode-pre-gyp ERR! not ok\r\nFailed to execute '/volume1/@appstore/Node.js/usr/bin/node rebuild --name=serialport --configuration=Release --module_name=serialport --version=1.4.6 --major=1 --minor=4 --patch=6 --runtime=node --node_abi=node-v11 --platform=linux --target_platform=linux --arch=arm --target_arch=arm --module_main=./serialport --host=https://node-serialport.s3.amazonaws.com/ --module_path=/volume1/@appstore/Node.js/usr/lib/node_modules/serialport/build/serialport/v1.4.6/Release/node-v11-linux-arm --remote_path=./serialport/v1.4.6/Release/ --package_name=node-v11-linux-arm.tar.gz --staged_tarball=build/stage/serialport/v1.4.6/Release/node-v11-linux-arm.tar.gz --hosted_path=https://node-serialport.s3.amazonaws.com/serialport/v1.4.6/Release/ --hosted_tarball=https://node-serialport.s3.amazonaws.com/serialport/v1.4.6/Release/node-v11-linux-arm.tar.gz' (1)\r\n\r\nnpm ERR! serialport@1.4.6 install: `node-pre-gyp install --fallback-to-build`\r\nnpm ERR! Exit status 1\r\nnpm ERR!\r\nnpm ERR! Failed at the serialport@1.4.6 install script.\r\nnpm ERR! This is most likely a problem with the serialport package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     node-pre-gyp install --fallback-to-build\r\nnpm ERR! You can get their info via:\r\nnpm ERR!     npm owner ls serialport\r\nnpm ERR! There is likely additional logging output above.\r\nnpm ERR! System Linux 2.6.32.12\r\nnpm ERR! command \"/usr/bin/node\" \"/usr/bin/npm\" \"install\" \"-g\" \"serialport\"\r\nnpm ERR! cwd /volume1/Code/SerialTests\r\nnpm ERR! node -v v0.10.33\r\nnpm ERR! npm -v 1.4.28\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! not ok code 0\r\n"},"comment":{"url":"https://api.github.com/repos/voodootikigod/node-serialport/issues/comments/145999452","html_url":"https://github.com/voodootikigod/node-serialport/issues/417#issuecomment-145999452","issue_url":"https://api.github.com/repos/voodootikigod/node-serialport/issues/417","id":145999452,"user":{"login":"tbitowt","id":6546880,"avatar_url":"https://avatars.githubusercontent.com/u/6546880?v=3","gravatar_id":"","url":"https://api.github.com/users/tbitowt","html_url":"https://github.com/tbitowt","followers_url":"https://api.github.com/users/tbitowt/followers","following_url":"https://api.github.com/users/tbitowt/following{/other_user}","gists_url":"https://api.github.com/users/tbitowt/gists{/gist_id}","starred_url":"https://api.github.com/users/tbitowt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbitowt/subscriptions","organizations_url":"https://api.github.com/users/tbitowt/orgs","repos_url":"https://api.github.com/users/tbitowt/repos","events_url":"https://api.github.com/users/tbitowt/events{/privacy}","received_events_url":"https://api.github.com/users/tbitowt/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T21:00:50Z","updated_at":"2015-10-06T21:00:50Z","body":"Any updates on this issue? \r\n\r\nTried to install several version of serialport. All results with:\r\n\r\n```\r\ngyp ERR! build error\r\ngyp ERR! stack Error: `make` failed with exit code: 2\r\ngyp ERR! stack     at ChildProcess.onExit (/volume1/@appstore/Node.js/usr/lib/node_modules/node-gyp/lib/build.js:270:23)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:110:17)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1074:12)\r\ngyp ERR! System Linux 3.2.40\r\ngyp ERR! command \"/volume1/@appstore/Node.js/usr/bin/node\" \"/volume1/@appstore/Node.js/usr/lib/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\" \"--name=serialport\" \"--configuration=Release\" \"--module_name=serialport\" \"--version=1.6.1\" \"--major=1\" \"--minor=6\" \"--patch=1\" \"--runtime=node\" \"--node_abi=node-v14\" \"--platform=linux\" \"--target_platform=linux\" \"--arch=arm\" \"--target_arch=arm\" \"--module_main=./serialport\" \"--host=https://node-serialport.s3.amazonaws.com/\" \"--module_path=/volume1/@appstore/Node.js/usr/lib/node_modules/serialport/build/serialport/v1.6.1/Release/node-v14-linux-arm\" \"--remote_path=./serialport/v1.6.1/Release/\" \"--package_name=node-v14-linux-arm.tar.gz\" \"--staged_tarball=build/stage/serialport/v1.6.1/Release/node-v14-linux-arm.tar.gz\" \"--hosted_path=https://node-serialport.s3.amazonaws.com/serialport/v1.6.1/Release/\" \"--hosted_tarball=https://node-serialport.s3.amazonaws.com/serialport/v1.6.1/Release/node-v14-linux-arm.tar.gz\"\r\ngyp ERR! cwd /volume1/@appstore/Node.js/usr/lib/node_modules/serialport\r\ngyp ERR! node -v v0.12.4\r\ngyp ERR! node-gyp -v v3.0.3\r\ngyp ERR! not ok\r\nnode-pre-gyp ERR! build error\r\nnode-pre-gyp ERR! stack Error: Failed to execute '/volume1/@appstore/Node.js/usr/bin/node rebuild --name=serialport --configuration=Release --module_name=serialport --version=1.6.1 --major=1 --minor=6 --patch=1 --runtime=node --node_abi=node-v14 --platform=linux --target_platform=linux --arch=arm --target_arch=arm --module_main=./serialport --host=https://node-serialport.s3.amazonaws.com/ --module_path=/volume1/@appstore/Node.js/usr/lib/node_modules/serialport/build/serialport/v1.6.1/Release/node-v14-linux-arm --remote_path=./serialport/v1.6.1/Release/ --package_name=node-v14-linux-arm.tar.gz --staged_tarball=build/stage/serialport/v1.6.1/Release/node-v14-linux-arm.tar.gz --hosted_path=https://node-serialport.s3.amazonaws.com/serialport/v1.6.1/Release/ --hosted_tarball=https://node-serialport.s3.amazonaws.com/serialport/v1.6.1/Release/node-v14-linux-arm.tar.gz' (1)\r\nnode-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/volume1/@appstore/Node.js/usr/lib/node_modules/serialport/node_modules/node-pre-gyp/lib/util/compile.js:76:29)\r\nnode-pre-gyp ERR! stack     at ChildProcess.emit (events.js:110:17)\r\nnode-pre-gyp ERR! stack     at maybeClose (child_process.js:1015:16)\r\nnode-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1087:5)\r\nnode-pre-gyp ERR! System Linux 3.2.40\r\nnode-pre-gyp ERR! command \"node\" \"/usr/lib/node_modules/serialport/node_modules/.bin/node-pre-gyp\" \"install\" \"--fallback-to-build\"\r\nnode-pre-gyp ERR! cwd /volume1/@appstore/Node.js/usr/lib/node_modules/serialport\r\nnode-pre-gyp ERR! node -v v0.12.4\r\nnode-pre-gyp ERR! node-pre-gyp -v v0.5.19\r\nnode-pre-gyp ERR! not ok\r\n```\r\n\r\nI have `node-gyp` in version 3.0.3\r\n"}}