{"action":"created","issue":{"url":"https://api.github.com/repos/jishi/node-sonos-http-api/issues/118","labels_url":"https://api.github.com/repos/jishi/node-sonos-http-api/issues/118/labels{/name}","comments_url":"https://api.github.com/repos/jishi/node-sonos-http-api/issues/118/comments","events_url":"https://api.github.com/repos/jishi/node-sonos-http-api/issues/118/events","html_url":"https://github.com/jishi/node-sonos-http-api/issues/118","id":124037449,"number":118,"title":"install problem node sonos http api","user":{"login":"bran2000","id":9639346,"avatar_url":"https://avatars.githubusercontent.com/u/9639346?v=3","gravatar_id":"","url":"https://api.github.com/users/bran2000","html_url":"https://github.com/bran2000","followers_url":"https://api.github.com/users/bran2000/followers","following_url":"https://api.github.com/users/bran2000/following{/other_user}","gists_url":"https://api.github.com/users/bran2000/gists{/gist_id}","starred_url":"https://api.github.com/users/bran2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bran2000/subscriptions","organizations_url":"https://api.github.com/users/bran2000/orgs","repos_url":"https://api.github.com/users/bran2000/repos","events_url":"https://api.github.com/users/bran2000/events{/privacy}","received_events_url":"https://api.github.com/users/bran2000/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-28T08:58:43Z","updated_at":"2015-12-28T19:35:51Z","closed_at":null,"body":"Hi,\r\nFirstly thanks for your work !\r\nHowever i have a install problem when i typed npm install, i have this error message :\r\nnpm WARN engine require-fu@1.0.0: wanted: {\"node\":\"0.10.x\"} (current: {\"node\":\"0.12.1\",\"npm\":\"2.5.1\"})\r\nrequire-fu@1.0.0 node_modules/require-fu\r\n\r\nthis is the all the message :\r\npi@DomoticzSam ~/node-sonos-http-api $ npm install\r\nnpm WARN engine require-fu@1.0.0: wanted: {\"node\":\"0.10.x\"} (current: {\"node\":\"0.12.1\",\"npm\":\"2.5.1\"})\r\nrequire-fu@1.0.0 node_modules/require-fu\r\n\r\nasync@1.5.0 node_modules/async\r\n\r\nnode-static@0.7.7 node_modules/node-static\r\n├── mime@1.3.4\r\n├── colors@1.1.2\r\n└── optimist@0.6.1 (wordwrap@0.0.3, minimist@0.0.10)\r\n\r\nrequest-promise@1.0.2 node_modules/request-promise\r\n├── bluebird@2.10.2\r\n├── continuation-local-storage@3.1.4 (emitter-listener@1.0.1, async-listener@0.5.6)\r\n├── cls-bluebird@1.0.1 (shimmer@1.1.0)\r\n├── request@2.67.0 (is-typedarray@1.0.0, aws-sign2@0.6.0, forever-agent@0.6.1, caseless@0.11.0, stringstream@0.0.5, tunnel-agent@0.4.2, oauth-sign@0.8.0, form-data@1.0.0-rc3, isstream@0.1.2, json-stringify-safe@5.0.1, extend@3.0.0, node-uuid@1.4.7, combined-stream@1.0.5, qs@5.2.0, tough-cookie@2.2.1, mime-types@2.1.8, bl@1.0.0, har-validator@2.0.3, http-signature@1.1.0, hawk@3.1.2)\r\n└── lodash@3.10.1\r\n\r\nsonos-discovery@0.16.1 node_modules/sonos-discovery\r\n├── easysax@0.1.14\r\n├── html-entities@1.0.10\r\n├── async@0.2.10\r\n├── rewire@2.5.1\r\n├── winston@0.8.3 (cycle@1.0.3, stack-trace@0.0.9, eyes@0.1.8, isstream@0.1.2, colors@0.6.2, pkginfo@0.3.1)\r\n├── bluebird@2.10.2\r\n└── xml2js@0.4.15 (sax@1.1.4, xmlbuilder@4.2.0)\r\n\r\ni don't know if it affects the installation but if i continue and type this time : \r\ni have this error message : \r\n/home/pi/node-sonos-http-api/node_modules/sonos-discovery/lib/player.js:259\r\n      .then((highResAlbumArtUrl) => {\r\n                                 ^^\r\nSyntaxError: Unexpected token =>\r\n\r\nsee the complete log :\r\npi@DomoticzSam ~/node-sonos-http-api $ node server.js\r\n/home/pi/node-sonos-http-api/node_modules/sonos-discovery/lib/player.js:259\r\n      .then((highResAlbumArtUrl) => {\r\n                                 ^^\r\nSyntaxError: Unexpected token =>\r\n    at exports.runInThisContext (vm.js:73:16)\r\n    at Module._compile (module.js:443:25)\r\n    at Object.Module._extensions..js (module.js:478:10)\r\n    at Module.load (module.js:355:32)\r\n    at Function.Module._load (module.js:310:12)\r\n    at Module.require (module.js:365:17)\r\n    at require (module.js:384:17)\r\n    at Object.<anonymous> (/home/pi/node-sonos-http-api/node_modules/sonos-discovery/lib/sonos.js:11:12)\r\n    at Module._compile (module.js:460:26)\r\n    at Object.Module._extensions..js (module.js:478:10)\r\n\r\nthanks for your help, i tried so many times to make it works \r\n"},"comment":{"url":"https://api.github.com/repos/jishi/node-sonos-http-api/issues/comments/167635786","html_url":"https://github.com/jishi/node-sonos-http-api/issues/118#issuecomment-167635786","issue_url":"https://api.github.com/repos/jishi/node-sonos-http-api/issues/118","id":167635786,"user":{"login":"bran2000","id":9639346,"avatar_url":"https://avatars.githubusercontent.com/u/9639346?v=3","gravatar_id":"","url":"https://api.github.com/users/bran2000","html_url":"https://github.com/bran2000","followers_url":"https://api.github.com/users/bran2000/followers","following_url":"https://api.github.com/users/bran2000/following{/other_user}","gists_url":"https://api.github.com/users/bran2000/gists{/gist_id}","starred_url":"https://api.github.com/users/bran2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bran2000/subscriptions","organizations_url":"https://api.github.com/users/bran2000/orgs","repos_url":"https://api.github.com/users/bran2000/repos","events_url":"https://api.github.com/users/bran2000/events{/privacy}","received_events_url":"https://api.github.com/users/bran2000/received_events","type":"User","site_admin":false},"created_at":"2015-12-28T19:35:51Z","updated_at":"2015-12-28T19:35:51Z","body":"Thanks it works !\r\nHowever i have a another problem, i try to start the api node at boot but i have this message error :\r\n[PM2][ERROR] script not found : /home/pi/node-sonos-http-api/node_modules/node-sonos-http-api/server.js  \r\n\r\nthe complete log :\r\npi@DomoticzSam ~/node-sonos-http-api $ pm2 -x start node_modules/node-sonos-http-api/server.js --name \"node-sonos\"\r\n[PM2][ERROR] script not found : /home/pi/node-sonos-http-api/node_modules/node-sonos-http-api/server.js  \r\n\r\nFor information  i can' t find the \"server.js \"  i only found here : \r\n/home/pi/node-sonos-http-api\r\n"}}