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.
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
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?
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.