# Test on Node-Red snap and without snap

**URL:** <https://discourse.nodered.org/t/test-on-node-red-snap-and-without-snap/65831>\
**Category:** General\
**Created:** [30 July 2022 22:48 UTC](https://discourse.nodered.org/t/test-on-node-red-snap-and-without-snap/65831 "2022-07-30T22:48:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![guyluz11](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/guyluz11/32/53620_2.png) [@guyluz11](https://discourse.nodered.org/u/guyluz11)\
**Post date:** [30 July 2022 22:48 UTC](https://discourse.nodered.org/t/test-on-node-red-snap-and-without-snap/65831/1 "2022-07-30T22:48:03Z")

</div>

I would love to use [ewelink](https://flows.nodered.org/node/node-red-contrib-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:

> <https://github.com/ottoszika/node-red-contrib-ewelink/issues/151>
>
> 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](https://flows.nodered.org/node/node-red-contrib-ewelink) and tell me if they are getting any errors on installation?.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [31 July 2022 06:16 UTC](https://discourse.nodered.org/t/test-on-node-red-snap-and-without-snap/65831/2 "2022-07-31T06:16:40Z")

</div>

Have you tried installing git?

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [31 July 2022 10:20 UTC](https://discourse.nodered.org/t/test-on-node-red-snap-and-without-snap/65831/3 "2022-07-31T10:20:08Z")

</div>

If in doubt don’t use the snap. It is very restricted and doesn’t have access to others apps on the host.

---

<div class="post-metadata">

**Author:** ![guyluz11](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/guyluz11/32/53620_2.png) [@guyluz11](https://discourse.nodered.org/u/guyluz11)\
**Post date:** [1 August 2022 23:13 UTC](https://discourse.nodered.org/t/test-on-node-red-snap-and-without-snap/65831/4 "2022-08-01T23:13:46Z")

</div>

git installed on my computer.

---

<div class="post-metadata">

**Author:** ![guyluz11](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/guyluz11/32/53620_2.png) [@guyluz11](https://discourse.nodered.org/u/guyluz11)\
**Post date:** [1 August 2022 23:16 UTC](https://discourse.nodered.org/t/test-on-node-red-snap-and-without-snap/65831/5 "2022-08-01T23:16:15Z")

</div>

Not sure why but [node-red-contrib-ewelink-copy (node) - Node-RED](https://flows.nodered.org/node/node-red-contrib-ewelink-copy) 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.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [15 August 2022 23:16 UTC](https://discourse.nodered.org/t/test-on-node-red-snap-and-without-snap/65831/6 "2022-08-15T23:16:27Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
