Node red & tradfri


when i try to install the tradfri "libary" for node-red(running node-red at the newst version and running itr on a pi 4) I get the folowing errors:

make: Leaving directory '/home/pi/node_modules/node-aead-crypto/build'
npm WARN saveError ENOENT: no such file or directory, open '/home/pi/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
npm WARN pi No description
npm WARN pi No repository field.
npm WARN pi No README data
npm WARN pi No license field.

did i miss something or ?

Thanks in advance Ben

Those are just warnings so should be ok. But. You seem to just be in the pi directory rather than in the pi/.node-red directory.
You need to install it in the correct place

1 Like

Oooh ok!
Thank you very much!
With best regards Ben

You do know that most nodes can now be installed inside of Node-RED using the Manage Palette option from the menu?


when i look in the pi directory there is no node red directory onle a node_modules. do you know where i could find the node-red diectory or is the node-modules the one i need?

with best regards Ben

The .node-red directory is hidden. You will need to use ls -la to see it or just cd .node-red into it.
But as @ukmoose states, you can install nodes via manage palette.

1 Like