{"action":"created","issue":{"url":"https://api.github.com/repos/jishi/node-sonos-http-api/issues/300","repository_url":"https://api.github.com/repos/jishi/node-sonos-http-api","labels_url":"https://api.github.com/repos/jishi/node-sonos-http-api/issues/300/labels{/name}","comments_url":"https://api.github.com/repos/jishi/node-sonos-http-api/issues/300/comments","events_url":"https://api.github.com/repos/jishi/node-sonos-http-api/issues/300/events","html_url":"https://github.com/jishi/node-sonos-http-api/issues/300","id":176569853,"number":300,"title":"server start failure due to fuse","user":{"login":"k1ll4h8y73","id":22156470,"avatar_url":"https://avatars.githubusercontent.com/u/22156470?v=3","gravatar_id":"","url":"https://api.github.com/users/k1ll4h8y73","html_url":"https://github.com/k1ll4h8y73","followers_url":"https://api.github.com/users/k1ll4h8y73/followers","following_url":"https://api.github.com/users/k1ll4h8y73/following{/other_user}","gists_url":"https://api.github.com/users/k1ll4h8y73/gists{/gist_id}","starred_url":"https://api.github.com/users/k1ll4h8y73/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k1ll4h8y73/subscriptions","organizations_url":"https://api.github.com/users/k1ll4h8y73/orgs","repos_url":"https://api.github.com/users/k1ll4h8y73/repos","events_url":"https://api.github.com/users/k1ll4h8y73/events{/privacy}","received_events_url":"https://api.github.com/users/k1ll4h8y73/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-09-13T07:29:21Z","updated_at":"2016-09-15T13:17:49Z","closed_at":null,"body":"Hi there,\r\n\r\nI tried to get everything up and running following this approach: http://www.makeuseof.com/tag/send-voice-notifications-sonos-speakers/. The difference is that I'm not using an RPi, but a dedicated ubuntu server machine - So I chose a corresponding package. \r\n\r\nMy problem is that starting the API fails with the following output:\r\n\r\n> phate@prometheus:~/sonos$ sudo npm start\r\n> \r\n> \\> sonos-http-api@1.0.0-beta.22 start /home/phate/sonos\r\n> \\> node server.js\r\n> \r\n> no settings file found, will only use default settings\r\n> module.js:341\r\n>     throw err;\r\n>     ^\r\n> \r\n> Error: Cannot find module 'fuse.js'\r\n>     at Function.Module._resolveFilename (module.js:339:15)\r\n>     at Function.Module._load (module.js:290:25)\r\n>     at Module.require (module.js:367:17)\r\n>     at require (internal/module.js:20:19)\r\n>     at Object.<anonymous> (/home/phate/sonos/lib/music_services/libraryDef.js:2:14)\r\n>     at Module._compile (module.js:413:34)\r\n>     at Object.Module._extensions..js (module.js:422:10)\r\n>     at Module.load (module.js:357:32)\r\n>     at Function.Module._load (module.js:314:12)\r\n>     at Module.require (module.js:367:17)\r\n>     at require (internal/module.js:20:19)\r\n>     at Object.<anonymous> (/home/phate/sonos/lib/actions/musicSearch.js:9:20)\r\n>     at Module._compile (module.js:413:34)\r\n>     at Object.Module._extensions..js (module.js:422:10)\r\n>     at Module.load (module.js:357:32)\r\n>     at Function.Module._load (module.js:314:12)\r\n> \r\n> npm ERR! Linux 4.4.0-36-generic\r\n> npm ERR! argv \"/usr/bin/nodejs\" \"/usr/bin/npm\" \"start\"\r\n> npm ERR! node v5.12.0\r\n> npm ERR! npm  v3.10.7\r\n> npm ERR! code ELIFECYCLE\r\n> npm ERR! sonos-http-api@1.0.0-beta.22 start: `node server.js`\r\n> npm ERR! Exit status 1\r\n> npm ERR! \r\n> npm ERR! Failed at the sonos-http-api@1.0.0-beta.22 start script 'node server.js'.\r\n> npm ERR! Make sure you have the latest version of node.js and npm installed.\r\n> npm ERR! If you do, this is most likely a problem with the sonos-http-api package,\r\n> npm ERR! not with npm itself.\r\n> npm ERR! Tell the author that this fails on your system:\r\n> npm ERR!     node server.js\r\n> npm ERR! You can get information on how to open an issue for this project with:\r\n> npm ERR!     npm bugs sonos-http-api\r\n> npm ERR! Or if that isn't available, you can get their info via:\r\n> npm ERR!     npm owner ls sonos-http-api\r\n> npm ERR! There is likely additional logging output above.\r\n> \r\n> npm ERR! Please include the following file with any support request:\r\n> npm ERR!     /home/phate/sonos/npm-debug.log\r\n> \r\n\r\nWhen checking, the js is actually there:\r\n\r\n> phate@prometheus:~/sonos$ cd node_modules/fuse/bin/\r\n> phate@prometheus:~/sonos/node_modules/fuse/bin$ ls -al\r\n> insgesamt 20\r\n> drwxrwxr-x 2 phate phate 4096 Dez 10  2013 .\r\n> drwxrwxr-x 6 phate phate 4096 Sep 12 17:27 ..\r\n> -rwxrwxrwx 1 phate phate 2467 Dez 10  2013 fuse.js\r\n\r\nI tried around a lot, including (re-)installing fuse again via npm install -g fuse and this only brings up some warning about minimatch - no error or anything.\r\n\r\n> phate@prometheus:~/sonos$ sudo npm install -g fuse\r\n> npm WARN deprecated minimatch@0.0.5: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue\r\n> /usr/bin/fuse -> /usr/lib/node_modules/fuse/bin/fuse.js\r\n> /usr/lib\r\n> └── fuse@0.4.0\r\n\r\nDo you happen to have an idea what might be the root of all evil?\r\nnpm is version 3.10.7 and node-v reveals v5.12.0 (just as in the tutorial).\r\n\r\nI tried a lot in order to solve this problem, but did not yet have any success. It would be really great if someone had an idea. Many thanks in advance!"},"comment":{"url":"https://api.github.com/repos/jishi/node-sonos-http-api/issues/comments/247325194","html_url":"https://github.com/jishi/node-sonos-http-api/issues/300#issuecomment-247325194","issue_url":"https://api.github.com/repos/jishi/node-sonos-http-api/issues/300","id":247325194,"user":{"login":"jishi","id":3165475,"avatar_url":"https://avatars.githubusercontent.com/u/3165475?v=3","gravatar_id":"","url":"https://api.github.com/users/jishi","html_url":"https://github.com/jishi","followers_url":"https://api.github.com/users/jishi/followers","following_url":"https://api.github.com/users/jishi/following{/other_user}","gists_url":"https://api.github.com/users/jishi/gists{/gist_id}","starred_url":"https://api.github.com/users/jishi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jishi/subscriptions","organizations_url":"https://api.github.com/users/jishi/orgs","repos_url":"https://api.github.com/users/jishi/repos","events_url":"https://api.github.com/users/jishi/events{/privacy}","received_events_url":"https://api.github.com/users/jishi/received_events","type":"User","site_admin":false},"created_at":"2016-09-15T13:17:48Z","updated_at":"2016-09-15T13:17:48Z","body":"Are you saying that the install was incomplete with npm 3.10.7? That is something I should look into perhaps, if that is the case."}}
{"actor":{"display_login":"jishi"}}