# Palette manager install fails

**URL:** <https://discourse.nodered.org/t/palette-manager-install-fails/19906>\
**Category:** General\
**Created:** [4 January 2020 15:27 UTC](https://discourse.nodered.org/t/palette-manager-install-fails/19906 "2020-01-04T15:27:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anterosa](https://avatars.discourse-cdn.com/v4/letter/a/ebca7d/32.png) [@anterosa](https://discourse.nodered.org/u/anterosa)\
**Post date:** [4 January 2020 15:27 UTC](https://discourse.nodered.org/t/palette-manager-install-fails/19906/1 "2020-01-04T15:27:36Z")

</div>

I have been using raspian and node red few years. It has been working well.  
I desided to update node red and update worked well.  
Then I run in to trouble with palette manager. node-red-contrib-tellstick  
had some conflicts and I desided to uninstall it, since not using it anymore.  
Uninstall did not work. Nodes dissapeared from palette, but every time I try to install other nodes npm tries to install also 'node-red-contrib-tellstick' again and it fails. So I am not able to install any nodes.  
Tried to clean npm cache with --force without help.....  
Tried to run install/update script again.

```auto
bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)

```

Not working....

## LOG file snippet:

2020-01-04T15:06:52.476Z Install : node-red-node-pushbullet 0.0.14

2020-01-04T15:06:52.567Z npm install --no-audit --no-update-notifier --save --save-prefix="~" --production node-red-node-pushbullet@0.0.14  
2020-01-04T15:07:11.119Z [out]  
2020-01-04T15:07:11.119Z [out] \> telldus@1.1.2 install /home/pi/.node-red/node\_modules/telldus  
2020-01-04T15:07:11.119Z [out] \> node-gyp configure build  
2020-01-04T15:07:11.119Z [out]  
2020-01-04T15:07:13.290Z [out] make: Entering directory '/home/pi/.node-red/node\_modules/telldus/build'  
2020-01-04T15:07:13.299Z [out] CXX(target) Release/obj.target/telldus/telldus.o  
2020-01-04T15:07:15.702Z [err] ../telldus.cc: In function ‘v8::Localv8::Object telldus\_v8::GetSupportedMethods(int, int, v8::Isolate\*)’:  
2020-01-04T15:07:15.702Z [err] ../telldus.cc:96:105: warning: ‘static v8::Localv8::String v8::String::NewFromUtf8(v8::Isolate\*, const char\*, v8::String::NewStringType, int)’ is deprecated: Use maybe version [-Wdeprecated-declarations]  
2020-01-04T15:07:15.702Z [err] if (supportedMethods & TELLSTICK\_TURNON) methodsObj-\>Set(i++, String::NewFromUtf8(isolate, "TURNON"));  
2020-01-04T15:07:15.702Z [err] ^  
2020-01-04T15:07:15.703Z [err] In file included from /home/pi/.cache/node-gyp/12.14.0/include/node/v8-internal.h:14:0,  
2020-01-04T15:07:15.703Z [err] from /home/pi/.cache/node-gyp/12.14.0/include/node/v8.h:25,  
2020-01-04T15:07:15.703Z [err] from /home/pi/.cache/node-gyp/12.14.0/include/node/node.h:63,  
2020-01-04T15:07:15.703Z [err] from ../telldus.cc:9:  
2020-01-04T15:07:15.703Z [err] /home/pi/.cache/node-gyp/12.14.0/include/node/v8.h:2936:21: note: declared here

---

<div class="post-metadata">

**Author:** ![afelix](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/afelix/32/9743_2.png) [@afelix](https://discourse.nodered.org/u/afelix)\
**Post date:** [4 January 2020 19:04 UTC](https://discourse.nodered.org/t/palette-manager-install-fails/19906/2 "2020-01-04T19:04:45Z")

</div>

Based on the error I’m seeing it’s running into trouble compiling. Is the node you’re trying to install compatible with the version of nodeJS you’re using?

---

<div class="post-metadata">

**Author:** ![anterosa](https://avatars.discourse-cdn.com/v4/letter/a/ebca7d/32.png) [@anterosa](https://discourse.nodered.org/u/anterosa)\
**Post date:** [5 January 2020 19:52 UTC](https://discourse.nodered.org/t/palette-manager-install-fails/19906/3 "2020-01-05T19:52:16Z")

</div>

Yes, but error message comes from telldus@1.1.2 node install if I understand correctly.  
I don think that it has anythink to do with push pullet nodes.  
Actually pushpullet nodes work after install, but problem is that they after trying to install something else.  
Seems that only last install stays. Running npm again removes nodes installed in previous time.  
Looks like it makes some clean up, since it thinks that previous install failed

telldus@1.1.2 was the original failed uninstall/install and npm seems to be trying to install it even if I am trying to install somethink totally different. Does npm have somekind of retry queue or similar and how clean it?

---

<div class="post-metadata">

**Author:** ![afelix](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/afelix/32/9743_2.png) [@afelix](https://discourse.nodered.org/u/afelix)\
**Post date:** [5 January 2020 19:57 UTC](https://discourse.nodered.org/t/palette-manager-install-fails/19906/4 "2020-01-05T19:57:28Z")

</div>

> [@anterosa](#):
>
> node-red-contrib-tellstick

Yes, and afaik telldus is a dependency of the node mentioned in your first post

---

<div class="post-metadata">

**Author:** ![anterosa](https://avatars.discourse-cdn.com/v4/letter/a/ebca7d/32.png) [@anterosa](https://discourse.nodered.org/u/anterosa)\
**Post date:** [5 January 2020 20:09 UTC](https://discourse.nodered.org/t/palette-manager-install-fails/19906/5 "2020-01-05T20:09:21Z")

</div>

I do not need node-red-contrib-tellstick and according to palette manager it is not installed.  
How can I clean npm so that it is not trying to install telduss@1.1.2 anymore?

---

<div class="post-metadata">

**Author:** ![afelix](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/afelix/32/9743_2.png) [@afelix](https://discourse.nodered.org/u/afelix)\
**Post date:** [5 January 2020 20:18 UTC](https://discourse.nodered.org/t/palette-manager-install-fails/19906/6 "2020-01-05T20:18:27Z")

</div>

Edit the `package.json` file in your node-red user directory (`/home/pi/.node-red`), remove `node-red-contrib-tellstick` from the dependencies, delete the entire node modules folder (`/home/pi/.node-red/node_modules`). Clean your npm cache again, then go back t othe user directory and run `npm install` to reinstall the nodes left in your package.json file.
