{"action":"opened","issue":{"url":"https://api.github.com/repos/LaserWeb/lw.comm-server/issues/64","repository_url":"https://api.github.com/repos/LaserWeb/lw.comm-server","labels_url":"https://api.github.com/repos/LaserWeb/lw.comm-server/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/LaserWeb/lw.comm-server/issues/64/comments","events_url":"https://api.github.com/repos/LaserWeb/lw.comm-server/issues/64/events","html_url":"https://github.com/LaserWeb/lw.comm-server/issues/64","id":356257781,"node_id":"MDU6SXNzdWUzNTYyNTc3ODE=","number":64,"title":"NPM version issue and Serial port 4.0.7 missing?","user":{"login":"175345","id":12501085,"node_id":"MDQ6VXNlcjEyNTAxMDg1","avatar_url":"https://avatars1.githubusercontent.com/u/12501085?v=4","gravatar_id":"","url":"https://api.github.com/users/175345","html_url":"https://github.com/175345","followers_url":"https://api.github.com/users/175345/followers","following_url":"https://api.github.com/users/175345/following{/other_user}","gists_url":"https://api.github.com/users/175345/gists{/gist_id}","starred_url":"https://api.github.com/users/175345/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/175345/subscriptions","organizations_url":"https://api.github.com/users/175345/orgs","repos_url":"https://api.github.com/users/175345/repos","events_url":"https://api.github.com/users/175345/events{/privacy}","received_events_url":"https://api.github.com/users/175345/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-02T06:48:29Z","updated_at":"2018-09-02T06:48:29Z","closed_at":null,"author_association":"NONE","body":"Hello! \r\n\r\nI´m trying to install the lw.comm-server on my RPi 3B but are having some issues.\r\n\r\nWhen following the guide on the Git page for manual install ( \r\n\r\nhttps://github.com/LaserWeb/lw.comm-server/wiki/Manual-Installation-(RasPi)  \r\n\r\nI get the following issues:\r\n\r\n**Issue #1 **\r\nwhen installing Node 6.x I do not get the most up to date npm version.\r\nThe version I get is v1.4.21, and that is far to old as stated in the guide.\r\nI found the solution for this I think on the following page:\r\n\r\nhttps://stackoverflow.com/questions/44095985/why-can-i-only-install-an-outdated-version-of-npm-on-debian-ubuntu\r\n\r\nSo I started with a fresh copy of the Rasbian 4.14.50-v7+ again and this time issued the command:\r\n\r\n```\r\ncurl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -\r\nsudo apt-get install -y nodejs\r\n```\r\n\r\nThis worked and the current version installed is:\r\npi@LaserWeb:~ $ npm -v\r\n5.6.0\r\npi@LaserWeb:~ $ node -v\r\nv8.11.4\r\n\r\nAll good for now right?\r\n\r\n**Well, lets see Issue #2:**\r\n\r\nIssue #2. \r\n\r\nGit cloning the lw.comm-server.git was no problem, but what comes after is a problem i think:\r\n\r\n`cd /home/pi`\r\n`git clone https://github.com/LaserWeb/lw.comm-server.git`\r\n`cd lw.comm-server`\r\n`npm install`\r\n\r\n```\r\nnpm WARN deprecated hoek@2.16.3: The major version is no longer supported. Please update to 4.x or newer\r\nnpm WARN notice [SECURITY] debug has the following vulnerability: 1 low. Go here for more details: https://nodesecurity.io/advisories?\r\nsearch=debug&version=2.3.3 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.\r\nnpm WARN notice [SECURITY] debug has the following vulnerability: 1 low. Go here for more details: https://nodesecurity.io/advisories?search=debug&version=2.2.0 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.\r\nnpm WARN notice [SECURITY] debug has the following vulnerability: 1 low. Go here for more details: https://nodesecurity.io/advisories?search=debug&version=2.3.3 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.\r\nnpm WARN notice [SECURITY] debug has the following vulnerability: 1 low. Go here for more details: https://nodesecurity.io/advisories?search=debug&version=2.3.3 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.\r\nnpm WARN notice [SECURITY] parsejson has the following vulnerability: 1 high. Go here for more details: https://nodesecurity.io/advisories?search=parsejson&version=0.0.3 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.\r\nnpm WARN notice [SECURITY] tunnel-agent has the following vulnerability: 1 moderate. Go here for more details: https://nodesecurity.io/advisories?search=tunnel-agent&version=0.4.3 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.\r\nnpm WARN notice [SECURITY] debug has the following vulnerability: 1 low. Go here for more details: https://nodesecurity.io/advisories?search=debug&version=2.6.1 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.\r\nnpm WARN notice [SECURITY] debug has the following vulnerability: 1 low. Go here for more details: https://nodesecurity.io/advisories?search=debug&version=2.6.1 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.\r\n\r\n> serialport@4.0.7 install /home/pi/lw.comm-server/node_modules/serialport\r\n> node-pre-gyp install --fallback-to-build\r\n\r\nnode-pre-gyp info it worked if it ends with ok\r\nnode-pre-gyp verb cli [ '/usr/bin/node',\r\nnode-pre-gyp verb cli   '/home/pi/lw.comm-server/node_modules/serialport/node_modules/.bin/node-pre-gyp',\r\nnode-pre-gyp verb cli   'install',\r\nnode-pre-gyp verb cli   '--fallback-to-build' ]\r\nnode-pre-gyp info using node-pre-gyp@0.6.32\r\nnode-pre-gyp info using node@8.11.4 | linux | arm\r\nnode-pre-gyp verb command install []\r\nnode-pre-gyp info check checked for \"/home/pi/lw.comm-\r\n\r\nserver/node_modules/serialport/build/Release/serialport.node\" (not found)\r\nnode-pre-gyp http GET https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v57-linux-arm.tar.gz\r\nnode-pre-gyp http 404 https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v57-linux-arm.tar.gz\r\nnode-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v57-linux-arm.tar.gz \r\nnode-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@8.11.4 (node-v57 ABI) (falling back to source compile with node-gyp) \r\nnode-pre-gyp http 404 status code downloading \r\ntarballhttps://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v57-linux-arm.tar.gz\r\n \r\nnode-pre-gyp verb command build [ 'rebuild' ]\r\nmake: Entering directory '/home/pi/lw.comm-server/node_modules/serialport/build'\r\n  CXX(target) Release/obj.target/serialport/src/serialport.o\r\n../src/serialport.cpp: In function 'int getIntFromObject(v8::Local<v8::Object>, std::__cxx11::string':\r\n../src/serialport.cpp:90:52: warning: 'v8::Local<v8::Int32> v8::Value::ToInt32() const' is deprecated: Use maybe version [-Wdeprecated-declarations]\r\n   return getValueFromObject(options, key)>ToInt32()>Int32Value();\r\n```\r\n\r\n\r\nSo, it cannot install the serial port since the git does not exist.\r\n\r\nAny ideas?\r\nI´ve tried to install mulitiple times with a fresh rasbian image, but with no luck.\r\nStarting to lose my mind/patience.\r\n\r\nThanks in advance."}}
{"actor":{"display_login":"175345"}}