maxwellhadley / node-red-contrib-rfxcom

node-RED nodes to access an RFXtrx433 transceiver
BSD 2-Clause "Simplified" License
22 stars 13 forks source link

Issue with script path #66

Closed nicolasferry closed 5 years ago

nicolasferry commented 5 years ago

Hello, Since the last update I got the following error when installing the package (either using npm install node-red-contrib-rfxcom or using node-red palette management):

npm install node-red-contrib-rfxcom npm ERR! path /root/.node-red/node_modules/node-red-contrib-rfxcom/node_modules/rfxcom/bin/find-rfxcom npm ERR! code ENOENT npm ERR! errno -2 npm ERR! syscall chmod npm ERR! enoent ENOENT: no such file or directory, chmod '/root/.node-red/node_modules/node-red-contrib-rfxcom/node_modules/rfxcom/bin/find-rfxcom' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent

Is there anything I missed?

Many thanks!

maxwellhadley commented 5 years ago

No, you haven't missed anything - there is an issue with script paths that I thought I had sorted out but clearly haven't. I'm going to have to wipe everything node-red related from one of my computers and try a clean install - which is something that I can't otherwise test easily.

As a temporary measure I have published v2.6.3 which removes the scripts entirely (you can still access them from the rfxcom package directory). Please check if that will install

nicolasferry commented 5 years ago

Yes thanks, it works :)

maxwellhadley commented 5 years ago

I will close this for now and maybe reopen it when I have investigated further