Closed pippo73 closed 7 years ago
Dear pippo73, the problem may be caused by the Ubuntu Package Manager's node version.
In order to install the Node 6.x version you can use these commands:
curl -sL https://deb.nodesource.com/setup_6.x -o nodesource_setup.sh; sudo bash nodesource_setup.sh; sudo apt-get update && sudo apt-get install nodejs build-essential; rm nodesource_setup.sh
After this, you may need to do an npm install
from the sonos-web source folder, and then try again.
Let me know if this helps!
Hi, sorry for the late reply
I understood that the problem was node.js version related.
I hate to messup with the repo, so I've found a way to updatate it in a "ubuntu way"
curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | sudo apt-key add &&
add the following lines to the /etc/apt/sources.list.d/nodesource.list file
deb https://deb.nodesource.com/node_6.x yakkety main
deb-src https://deb.nodesource.com/node_6.x yakkety main
and updated the repository. Now I have node.js to the last version
$ nodejs -v
v6.9.2
But if I try to install your app, it gives me the followin error:
$ npm install
> sonos-web@1.0.1 postinstall /tmp/sonos-web
> npm-recursive-install --skip-root
Skipping root package.json...
Installing /tmp/sonos-web/plugins/audioproxy/package.json...
npm WARN sonos-web-audioproxy@1.0.0 No repository field.
npm WARN sonos-web-audioproxy@1.0.0 No license field.
Installing /tmp/sonos-web/plugins/party/package.json...
npm WARN sonos-web-party@1.0.0 No repository field.
npm WARN sonos-web-party@1.0.0 No license field.
Installing /tmp/sonos-web/plugins/soundcloud/package.json...
npm WARN sonos-web-soundcloud@1.0.0 No repository field.
npm WARN sonos-web-soundcloud@1.0.0 No license field.
Installing /tmp/sonos-web/plugins/youtube/package.json...
npm WARN sonos-web-youtube@1.0.0 No repository field.
npm WARN sonos-web-youtube@1.0.0 No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.0.15: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
Hope it helps to troubleshoot it :)
I don't see any problem: those are only warnings. You can npm run
now, you should be good to go!
Merry Christmas 🎄
I'm closing this issue since it is not a bug but a warning. Feel free to comment if you're having problems.
Hi all, I would like to test your system on my pc but I'm having some problems with it.
Could you help me pleas
May I post something more to help me troubleshoot it?
TNX