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:
- I had to manually copy package.json file from the project directory to the user directory and ran npm install
- 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?