Install ENOTEMPTY types/es6-promise
Before you submit an issue
Search among the current open and closed issues for an answer to your question before submitting an issue!
If you are looking for assistance with installing or just general questions, reach out on the gitter chat (https://gitter.im/node-sonos-http-api/Lobby) instead of filing an issue. It's easier for me if issues are primarily fokused on bugs and feature requests, and hopefully other people can assist you in the chat.
If your question is Docker related, please file the issue at the https://github.com/chrisns/docker-node-sonos-http-api and also, make sure you have tested that image before asking a question. This is the only image that has any correlation to this project, and is guaranteed to be up to date.
If your question has anything to do with Amazon Echo, it is probably better suited at https://github.com/rgraciano/echo-sonos. If you have questions about the requests sent to this library, figure out the exact request that is sent from the Alexa Skill (through the logs) and include that in the issue.
Thank you!
hi I'm installing on a raspberry 3, latest raspbian stretch.
download master.zip into /home/pi unzip masterzip cd node-sonos-http-api-master sudo npm install --production
and gets following output:
pi@rpi4:~/node-sonos-http-api-master $ sudo npm install --production npm ERR! error rolling back Error: ENOTEMPTY: directory not empty, rmdir '/home/pi/node-sonos-http-api-master/node_modules/music-metadata/node_modules/fs-extra/lib' npm ERR! error rolling back at Error (native) npm ERR! error rolling back [email protected] { [Error: ENOTEMPTY: directory not empty, rmdir '/home/pi/node-sonos-http-api-master/node_modules/music-metadata/node_modules/fs-extra/lib'] npm ERR! error rolling back errno: -39, npm ERR! error rolling back code: 'ENOTEMPTY', npm ERR! error rolling back syscall: 'rmdir', npm ERR! error rolling back path: '/home/pi/node-sonos-http-api-master/node_modules/music-metadata/node_modules/fs-extra/lib' } npm ERR! 404 Not Found npm ERR! 404 npm ERR! 404 'types/es6-promise' is not in the npm registry. npm ERR! 404 You should bug the author to publish it npm ERR! 404 It was specified as a dependency of 'strtok3' npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, or http url, or git url.
npm ERR! System Linux 4.9.41-v7+ npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "--production" npm ERR! cwd /home/pi/node-sonos-http-api-master npm ERR! node -v v4.8.2 npm ERR! npm -v 1.4.21 npm ERR! code E404 npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/pi/node-sonos-http-api-master/npm-debug.log npm ERR! not ok code 0
forgot to upgrade npm from 1.4.?? to above 2.0.0.