You should be installing the modules in ~/.node-red.
The errors you got in your first screenshots are because you were running it in the wrong location.
You should be installing the modules in ~/.node-red.
The errors you got in your first screenshots are because you were running it in the wrong location.