# Projects error installing dependencies

**URL:** <https://discourse.nodered.org/t/projects-error-installing-dependencies/57789>\
**Category:** General\
**Created:** [4 February 2022 19:24 UTC](https://discourse.nodered.org/t/projects-error-installing-dependencies/57789 "2022-02-04T19:24:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![krzydec](https://avatars.discourse-cdn.com/v4/letter/k/a5b964/32.png) [@krzydec](https://discourse.nodered.org/u/krzydec)\
**Post date:** [4 February 2022 19:24 UTC](https://discourse.nodered.org/t/projects-error-installing-dependencies/57789/1 "2022-02-04T19:24:21Z")

</div>

Hi,

I have a question regarding installing dependencies for the Node Red projects.

After cloning reposistory from GitHub I have a list of dependencies which I can install from Project Settings tab.

When I'm trying to install them I get the following error:

> 4 Feb 18:49:33 - [info] Installing module: vue, version: ^2.6.12  
> 4 Feb 18:49:36 - [info] Installed module: vue  
> 4 Feb 18:49:36 - [warn] Installation of module vue failed:  
> 4 Feb 18:49:36 - [warn] ------------------------------------------  
> 4 Feb 18:49:36 - [warn] undefined  
> 4 Feb 18:49:36 - [warn] ------------------------------------------  
> Error: Install failed  
> at C:\Users\<myUsername\>\AppData\Roaming\npm\node\_modules\node-red\node\_modules@node-red\registry\lib\installer.js:285:25  
> at processTicksAndRejections (node:internal/process/task\_queues:96:5)  
> 4 Feb 18:49:36 - [error] Error: Install failed

After some fiddling I get the flows running:

1. I had to manually copy _package.json_ file from the project directory to the user directory and ran npm install
2. Edit the content of the _packageList.json_ from the _project/uibuilder/.config_ directory so it include all libraries.

Things seem to be working, but I still see the warning sign and option to install dependencies under the _Project Settings =\> Dependencies_ , which gives me the error above.

Can someone help me with understanding why I'm getting this error and what it means?

---

<div class="post-metadata">

**Author:** ![DrSlump](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/drslump/32/58381_2.png) [@DrSlump](https://discourse.nodered.org/u/DrSlump)\
**Post date:** [13 March 2022 02:26 UTC](https://discourse.nodered.org/t/projects-error-installing-dependencies/57789/2 "2022-03-13T02:26:22Z")

</div>

I've gotten the same kind of error when attempting to install various modules such as chatbot.

```auto
12 Mar 18:16:05 - [warn] Installation of module node-red-contrib-chatbot failed:
12 Mar 18:16:05 - [warn] ------------------------------------------
12 Mar 18:16:05 - [warn] undefined
12 Mar 18:16:05 - [warn] ------------------------------------------
Error: Install failed
    at /opt/node_modules/@node-red/registry/lib/installer.js:285:25
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
12 Mar 18:16:05 - [error] Error: Install failed

```

I'm on Home Assistant OS 7.4 on a RPI4.

---

<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:** [12 May 2022 02:26 UTC](https://discourse.nodered.org/t/projects-error-installing-dependencies/57789/3 "2022-05-12T02:26:28Z")

</div>

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