{"action":"created","issue":{"url":"https://api.github.com/repos/Storj/storjshare-daemon/issues/280","repository_url":"https://api.github.com/repos/Storj/storjshare-daemon","labels_url":"https://api.github.com/repos/Storj/storjshare-daemon/issues/280/labels{/name}","comments_url":"https://api.github.com/repos/Storj/storjshare-daemon/issues/280/comments","events_url":"https://api.github.com/repos/Storj/storjshare-daemon/issues/280/events","html_url":"https://github.com/Storj/storjshare-daemon/issues/280","id":267531452,"number":280,"title":"storjshare-create cannot find module './build/Release/diskusage.node'","user":{"login":"nathanowen42","id":3167225,"avatar_url":"https://avatars1.githubusercontent.com/u/3167225?v=4","gravatar_id":"","url":"https://api.github.com/users/nathanowen42","html_url":"https://github.com/nathanowen42","followers_url":"https://api.github.com/users/nathanowen42/followers","following_url":"https://api.github.com/users/nathanowen42/following{/other_user}","gists_url":"https://api.github.com/users/nathanowen42/gists{/gist_id}","starred_url":"https://api.github.com/users/nathanowen42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathanowen42/subscriptions","organizations_url":"https://api.github.com/users/nathanowen42/orgs","repos_url":"https://api.github.com/users/nathanowen42/repos","events_url":"https://api.github.com/users/nathanowen42/events{/privacy}","received_events_url":"https://api.github.com/users/nathanowen42/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-10-23T03:27:55Z","updated_at":"2017-10-26T00:20:51Z","closed_at":null,"author_association":"NONE","body":"### Package Versions\r\n\r\n`storjshare --version`.\r\n```\r\ndaemon: 5.1.0, core: 8.3.0, protocol: 1.2.\r\n```\r\n\r\n`node --version`.\r\n```\r\nv6.11.4\r\n```\r\n\r\n### Expected Behavior\r\n\r\nstorjshare-create should create the specified node\r\n\r\n### Actual Behavior\r\n\r\nstorjshare-create fails with the following error\r\n\r\n```\r\nmodule.js:529\r\n    throw err;\r\n    ^\r\n\r\nError: Cannot find module './build/Release/diskusage.node'\r\n    at Function.Module._resolveFilename (module.js:527:15)\r\n    at Function.Module._load (module.js:476:23)\r\n    at Module.require (module.js:568:17)\r\n    at require (internal/module.js:11:18)\r\n    at Object.<anonymous> (/usr/lib/node_modules/storjshare-daemon/node_modules/diskusage/index.js:1:76)\r\n    at Module._compile (module.js:624:30)\r\n    at Object.Module._extensions..js (module.js:635:10)\r\n    at Module.load (module.js:545:32)\r\n    at tryModuleLoad (module.js:508:12)\r\n```\r\n\r\n### Steps to Reproduce\r\n\r\n1. Install fresh copy of Fedora 27\r\n2. Perform install in accordance with instructions on the Storj/storjshare-daemon github page.\r\n3. Run this command:\r\n````\r\nsudo storjshare-create --storj 0x1e4542AF5EB35eC0F0744Ed1D828a8Bdd66e1844 --storage /hdd1 --size 7180000MB --outfile /storjshare/hdd1/config.json --rpcaddress myddnsaddress.ddns.net --rpcport 4000 --manualforwarding true --logdir /storjshare/hdd1/logs\r\n````\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Storj/storjshare-daemon/issues/comments/339512696","html_url":"https://github.com/Storj/storjshare-daemon/issues/280#issuecomment-339512696","issue_url":"https://api.github.com/repos/Storj/storjshare-daemon/issues/280","id":339512696,"user":{"login":"braydonf","id":544777,"avatar_url":"https://avatars3.githubusercontent.com/u/544777?v=4","gravatar_id":"","url":"https://api.github.com/users/braydonf","html_url":"https://github.com/braydonf","followers_url":"https://api.github.com/users/braydonf/followers","following_url":"https://api.github.com/users/braydonf/following{/other_user}","gists_url":"https://api.github.com/users/braydonf/gists{/gist_id}","starred_url":"https://api.github.com/users/braydonf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/braydonf/subscriptions","organizations_url":"https://api.github.com/users/braydonf/orgs","repos_url":"https://api.github.com/users/braydonf/repos","events_url":"https://api.github.com/users/braydonf/events{/privacy}","received_events_url":"https://api.github.com/users/braydonf/received_events","type":"User","site_admin":false},"created_at":"2017-10-26T00:20:51Z","updated_at":"2017-10-26T00:20:51Z","author_association":"MEMBER","body":"This is pretty common issue with installing via npm as root, as it will exec as user `nobody`"}}
{"actor":{"display_login":"braydonf"}}