# Package install failed

**URL:** <https://discourse.nodered.org/t/package-install-failed/88691>\
**Category:** General\
**Tags:** external-package\
**Created:** [14 June 2024 06:38 UTC](https://discourse.nodered.org/t/package-install-failed/88691 "2024-06-14T06:38:54Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![zba](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zba/32/91182_2.png) [@zba](https://discourse.nodered.org/u/zba)\
**Post date:** [14 June 2024 06:38 UTC](https://discourse.nodered.org/t/package-install-failed/88691/1 "2024-06-14T06:38:54Z")

</div>

I have dependency record in my project,

```auto
    "@opensearch-project/opensearch": "2.8.0"

```

When I click install from ui it fails with error, logs show this:

```auto
2024-06-14T06:33:43.698Z Install : @opensearch-project/opensearch 2.8.0

2024-06-14T06:33:43.965Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --omit=dev --engine-strict @opensearch-project/opensearch@2.8.0
2024-06-14T06:33:45.306Z [out] 
2024-06-14T06:33:45.306Z [out] up to date in 1s
2024-06-14T06:33:45.314Z rc=0

```

If I run it with the same command from /data directory it will install without any errors.

I checked in both 3.1.9 and 4.0.0-beta4 using docker images \*-latest-18

also in 4.0 this package not marked installed in dependency mananger even if I install it manualy.

---

<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:** [14 June 2024 07:17 UTC](https://discourse.nodered.org/t/package-install-failed/88691/2 "2024-06-14T07:17:26Z")

</div>

There is no error there. It says it is already installed.

> [@zba](#):
>
> this package not marked installed in dependency mananger

What is this dependency manager?

---

<div class="post-metadata">

**Author:** ![zba](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zba/32/91182_2.png) [@zba](https://discourse.nodered.org/u/zba)\
**Post date:** [15 June 2024 03:15 UTC](https://discourse.nodered.org/t/package-install-failed/88691/3 "2024-06-15T03:15:51Z")

</div>

> [@Colin](#):
>
> What is this dependency manager?

this one

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/e/1e543f74fe16b60fc0b1d59d38fc1684fec9bbe1.png)

opensearch is installed in npm btw, it was marked "installed" in 3.1.9, but with 4.0.0 it not want to be marked such

if I click install I get

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/f/bf70780b9e621529165df593c8ee4deb580a321b.png)

and this log:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/c/dc72af7994e59eb5ce8c37cdb10586aef4f20270.png)

---

<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:** [15 June 2024 07:26 UTC](https://discourse.nodered.org/t/package-install-failed/88691/4 "2024-06-15T07:26:52Z")

</div>

> [@zba](#):
>
> this one

OK, that is Manage Palette.

Now that you have shown us the problem (Manage palette thinks there is an error, whereas there is no error shown in the log) I will see if I can replicate the problem.

---

<div class="post-metadata">

**Author:** ![zba](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zba/32/91182_2.png) [@zba](https://discourse.nodered.org/u/zba)\
**Post date:** [15 June 2024 07:34 UTC](https://discourse.nodered.org/t/package-install-failed/88691/5 "2024-06-15T07:34:27Z")

</div>

> [@Colin](#):
>
> OK, that is Manage Palette.

No, it is not "manage palette", it is here

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/d/eda1930cd431f0fdf228d628228ce805d52cc38b.png)

Manage pallete is complete different menu, it is legal to call my screen Dependency manager and I think completely wrong to call it "Manage pallete" because it has own menu item. 🙂  
Sorry, seems I forget to mention project in first message. I think I will add more screenshots if I init topic again 🙂

---

<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:** [15 June 2024 07:44 UTC](https://discourse.nodered.org/t/package-install-failed/88691/6 "2024-06-15T07:44:01Z")

</div>

Yes, you are right, it is not Manage Palette, what it should be called I don't know as I don't use projects. I have tried to replicate the problem in a non-projects environment but I don't see any problem there, so I think you will need someone who uses projects and NR 4 to have a look.

---

<div class="post-metadata">

**Author:** ![zba](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zba/32/91182_2.png) [@zba](https://discourse.nodered.org/u/zba)\
**Post date:** [15 June 2024 07:50 UTC](https://discourse.nodered.org/t/package-install-failed/88691/7 "2024-06-15T07:50:47Z")

</div>

NR 3.1.9 is the same, only difference that sometime it marked openserch as installed after manual npm install --save

---

<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:** [13 September 2024 07:50 UTC](https://discourse.nodered.org/t/package-install-failed/88691/8 "2024-09-13T07:50:59Z")

</div>

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