{"action":"created","issue":{"url":"https://api.github.com/repos/joshvillbrandt/GoProController/issues/7","labels_url":"https://api.github.com/repos/joshvillbrandt/GoProController/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/joshvillbrandt/GoProController/issues/7/comments","events_url":"https://api.github.com/repos/joshvillbrandt/GoProController/issues/7/events","html_url":"https://github.com/joshvillbrandt/GoProController/issues/7","id":114669869,"number":7,"title":"GoProController and GoProControllerUI installation issues","user":{"login":"pjotawake","id":15617785,"avatar_url":"https://avatars.githubusercontent.com/u/15617785?v=3","gravatar_id":"","url":"https://api.github.com/users/pjotawake","html_url":"https://github.com/pjotawake","followers_url":"https://api.github.com/users/pjotawake/followers","following_url":"https://api.github.com/users/pjotawake/following{/other_user}","gists_url":"https://api.github.com/users/pjotawake/gists{/gist_id}","starred_url":"https://api.github.com/users/pjotawake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjotawake/subscriptions","organizations_url":"https://api.github.com/users/pjotawake/orgs","repos_url":"https://api.github.com/users/pjotawake/repos","events_url":"https://api.github.com/users/pjotawake/events{/privacy}","received_events_url":"https://api.github.com/users/pjotawake/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-02T19:44:57Z","updated_at":"2015-11-10T17:05:32Z","closed_at":null,"body":"Lately I have been fiddling around with the GoPro software. The GoPro Hero library installs fine and seems to be working on my Ubuntu 14.4 (64bit) machine.\r\n\r\nHowever, after installing the GoProController I run into problems - the page at http://localhost/ shows a no permission error\r\n\r\n\"Forbidden - You don't have permission to access / on this server\"\r\n\r\n\r\nLooking at the Apache configuration I can see that access is granted for /home/GoProControllerUI/_public. But this directory does not exist.\r\n\r\nApparently, it should be there after installing GoProControllerUI. However, this installation runs into the error of a ambiguous \"node\" binary which prevents correct installation (see below).\r\n\r\n-------------------------\r\nnpm http GET https://registry.npmjs.org/lru-cache/-/lru-cache-2.7.0.tgz\r\n/bin/sh: 1: node: not found\r\ngyp: Call to 'node -e \"require('nan')\"' returned exit status 127. while trying to load binding.gyp\r\nnpm http GET https://registry.npmjs.org/sigmund/-/sigmund-1.0.1.tgz\r\ngyp ERR! configure error \r\ngyp ERR! stack Error: `gyp` failed with exit code: 1\r\ngyp ERR! stack     at ChildProcess.onCpExit (/usr/share/node-gyp/lib/configure.js:431:16)\r\ngyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:797:12)\r\ngyp ERR! System Linux 3.19.0-31-generic\r\ngyp ERR! command \"nodejs\" \"/usr/bin/node-gyp\" \"rebuild\"\r\ngyp ERR! cwd /home/gopro/GoProControllerUI/node_modules/auto-reload-brunch/node_modules/ws/node_modules/bufferutil\r\ngyp ERR! node -v v0.10.25\r\ngyp ERR! node-gyp -v v0.10.10\r\ngyp ERR! not ok \r\nnpm WARN This failure might be due to the use of legacy binary \"node\"\r\nnpm WARN For further explanations, please read\r\n/usr/share/doc/nodejs/README.Debian\r\n \r\nnpm http 200 https://registry.npmjs.org/lru-cache/-/lru-cache-2.7.0.tgz\r\n\r\n\r\n\r\nnpm http 200 https://registry.npmjs.org/is-property\r\nnpm http GET https://registry.npmjs.org/is-property/-/is-property-1.0.2.tgz\r\nnpm http 200 https://registry.npmjs.org/is-property/-/is-property-1.0.2.tgz\r\n\r\n> GoProControllerUI@0.2.4 postinstall /home/gopro/GoProControllerUI\r\n> node_modules/bower/bin/bower install --config.interactive=false\r\n\r\n/usr/bin/env: node: No such file or directory\r\nnpm ERR! weird error 127\r\nnpm WARN This failure might be due to the use of legacy binary \"node\"\r\nnpm WARN For further explanations, please read\r\n/usr/share/doc/nodejs/README.Debian\r\n \r\nnpm ERR! not ok code 0\r\n-------------------------"},"comment":{"url":"https://api.github.com/repos/joshvillbrandt/GoProController/issues/comments/155488610","html_url":"https://github.com/joshvillbrandt/GoProController/issues/7#issuecomment-155488610","issue_url":"https://api.github.com/repos/joshvillbrandt/GoProController/issues/7","id":155488610,"user":{"login":"pjotawake","id":15617785,"avatar_url":"https://avatars.githubusercontent.com/u/15617785?v=3","gravatar_id":"","url":"https://api.github.com/users/pjotawake","html_url":"https://github.com/pjotawake","followers_url":"https://api.github.com/users/pjotawake/followers","following_url":"https://api.github.com/users/pjotawake/following{/other_user}","gists_url":"https://api.github.com/users/pjotawake/gists{/gist_id}","starred_url":"https://api.github.com/users/pjotawake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjotawake/subscriptions","organizations_url":"https://api.github.com/users/pjotawake/orgs","repos_url":"https://api.github.com/users/pjotawake/repos","events_url":"https://api.github.com/users/pjotawake/events{/privacy}","received_events_url":"https://api.github.com/users/pjotawake/received_events","type":"User","site_admin":false},"created_at":"2015-11-10T17:05:32Z","updated_at":"2015-11-10T17:05:32Z","body":"Thanks for your reply - I did try to use the default packages from Ubuntu repository, but unfortunately the node version was too old (0.10.24). And apparently they have a name conflict with some other package using the filename 'node', therefore they renamed the node binary into something else.\r\n\r\nSo I now installed the latest v0.10 node which is 0.10.40 using NVM, and I can get through the compilation process, though I do see some errors about a \"failed optional dep\" in the GoProControllerUI package (see below).\r\n\r\nAlso the webinterface works now.\r\n\r\nThanks again!\r\n\r\n"}}