biddster / node-red-contrib-wemo-emulator

Why might you want to emulate Wemo? Well I wanted to be able to control my Node-RED Raspberry Pi using my Amazon Echo. The Echo has Wemo support built in so I thought I'd give it a try.
18 stars 8 forks source link

Unable to install #11

Closed oenc closed 7 years ago

oenc commented 7 years ago

Hi, I'm having the following error trying to install this node:

`pi@raspberrypi:~/.node-red $ sudo npm install node-red-contrib-wemo-emulator
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@~0.1.4 (node_modules/nob
le/node_modules/xpc-connection):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0
.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN enoent ENOENT: no such file or directory, open '/home/pi/.node-red/package.jso
n'
npm ERR! Linux 4.9.11-v7+
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "node-red-contrib-wemo-emulato
r"
npm ERR! node v6.10.2
npm ERR! npm  v3.10.10
npm ERR! path /home/pi/.node-red/node_modules/node-red-dashboard
npm ERR! code EISGIT

npm ERR! git /home/pi/.node-red/node_modules/node-red-dashboard: Appears to be a git re
po or submodule.
npm ERR! git     /home/pi/.node-red/node_modules/node-red-dashboard
npm ERR! git Refusing to remove it. Update manually,
npm ERR! git or move it out of the way first.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/pi/.node-red/npm-debug.log

The debug log is attached as per the notes (but had to convert the file ext to .txt to upload) npm-debug.txt

I get similar errors with a couple of other ones such as wemore, but the majority of them install fine.

Any thoughts?

Cheers