I would love to use ewelink Node-Red palette that I found but I am getting errors while installing it (installation fails to complete).
Linking the issue that I have opened on the palette GitHub repo:
opened 10:23PM - 30 Jul 22 UTC
Trying to install the palette I am getting an error
```
-----------------… ------------------------------------------
2022-07-30T20:54:03.361Z Install : node-red-contrib-shelly 9.4.0
2022-07-30T20:54:03.393Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-contrib-shelly@9.4.0
2022-07-30T20:54:03.623Z [err] npm
2022-07-30T20:54:03.624Z [err] WARN config production Use `--omit=dev` instead.
2022-07-30T20:54:09.125Z [out]
2022-07-30T20:54:09.125Z [out] added 50 packages in 6s
2022-07-30T20:54:09.137Z rc=0
-----------------------------------------------------------
2022-07-30T22:19:08.728Z Install : node-red-contrib-ewelink 2.0.0
2022-07-30T22:19:08.736Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-contrib-ewelink@2.0.0
2022-07-30T22:19:08.977Z [err] npm
2022-07-30T22:19:08.977Z [err] WARN config production Use `--omit=dev` instead.
2022-07-30T22:19:18.112Z [err] npm
2022-07-30T22:19:18.112Z [err] ERR! code ENOENT
2022-07-30T22:19:18.112Z [err] npm ERR! syscall spawn git
2022-07-30T22:19:18.112Z [err] npm ERR! path
2022-07-30T22:19:18.112Z [err] git
2022-07-30T22:19:18.113Z [err] npm ERR!
2022-07-30T22:19:18.113Z [err] errno -2
2022-07-30T22:19:18.115Z [err] npm ERR!
2022-07-30T22:19:18.115Z [err] enoent An unknown git error occurred
2022-07-30T22:19:18.115Z [err] npm ERR! enoent This is related to npm not being able to find a file.
2022-07-30T22:19:18.115Z [err] npm ERR! enoent
2022-07-30T22:19:18.117Z [err]
2022-07-30T22:19:18.117Z [err] npm
2022-07-30T22:19:18.117Z [err] ERR! A complete log of this run can be found in:
2022-07-30T22:19:18.117Z [err] npm
2022-07-30T22:19:18.117Z [err] ERR! /root/snap/node-red/815/.npm/_logs/2022-07-30T22_19_08_954Z-debug-0.log
2022-07-30T22:19:18.128Z rc=254
```
![image](https://user-images.githubusercontent.com/9304740/182002105-6b19fbd7-d494-4ed8-9960-f6f5f359140a.png)
I want to know if the snap installation of Node-Red is the cause of failing to install the palette or if is it something else.
Can someone with the snap installation of Node-Red and someone without snap installation of Node-Red can try to install the ewelink palette and tell me if they are getting any errors on installation?.
Colin
31 July 2022 06:16
2
Have you tried installing git?
If in doubt don’t use the snap. It is very restricted and doesn’t have access to others apps on the host.
1 Like
git installed on my computer.
Not sure why but node-red-contrib-ewelink-copy (node) - Node-RED get installed, which is a copy of what I have asked for to test.
So I guess the original one didn't work because of other reasons and not because of the snap.
system
Closed
15 August 2022 23:16
6
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.